Skip to content

Commit

Permalink
q-dev: print "Error:" before error message
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrbartman committed Oct 14, 2024
1 parent c5441df commit 50fef48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qubesadmin/tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,8 +445,8 @@ def set_qubes_verbosity(namespace):
qubesadmin.log.enable()

def print_error(self, *args, **kwargs):
''' Print to ``sys.stderr``'''
print(*args, file=sys.stderr, **kwargs)
""" Print to ``sys.stderr``"""
print("Error:", *args, file=sys.stderr, **kwargs)


class SubParsersHelpAction(argparse._HelpAction):
Expand Down

0 comments on commit 50fef48

Please sign in to comment.