Skip to content

Commit

Permalink
Avoid reference to undefined name: stderr does not exist, sys.stderr …
Browse files Browse the repository at this point in the history
…does
  • Loading branch information
practicalswift committed Aug 28, 2017
1 parent 51cb6b8 commit 9b94054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/linearize/linearize-hashes.py
Expand Up @@ -140,7 +140,7 @@ def get_rpc_cookie():
if 'datadir' in settings and not use_userpass:
use_datadir = True
if not use_userpass and not use_datadir:
print("Missing datadir or username and/or password in cfg file", file=stderr)
print("Missing datadir or username and/or password in cfg file", file=sys.stderr)
sys.exit(1)

settings['port'] = int(settings['port'])
Expand Down

0 comments on commit 9b94054

Please sign in to comment.