Skip to content

Commit

Permalink
squish import
Browse files Browse the repository at this point in the history
  • Loading branch information
obriencj committed Mar 31, 2024
1 parent 8619d45 commit 6562f8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions koji_cli_plugins/kojismokydingometa.py
Expand Up @@ -37,10 +37,10 @@ def __plugin__(glbls):
# want to avoid leaving references around that it can see. So all
# the action happens inside of this function.

import sys
from operator import attrgetter
from os import getenv
from pkg_resources import iter_entry_points
from sys import stderr

# these env var checks were introduced in v2.2.0
verbose = getenv("KSD_VERBOSE", None) == "1"
Expand Down Expand Up @@ -70,7 +70,7 @@ def __plugin__(glbls):
if verbose:
# when KSD_VERBOSE=1 we announce than an error happened
message = f"Error loading plugin {entry_point!r}: {ex!r}"
print(message, file=sys.stderr)
print(message, file=stderr)

if explode:
# when KSD_EXPLODE=1 we allow the exception to be
Expand Down

0 comments on commit 6562f8c

Please sign in to comment.