aboutsummaryrefslogtreecommitdiff
path: root/contrib/linearize/linearize-hashes.py
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-07-09 22:53:45 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2017-08-28 15:18:14 +0200
commit9b94054b7c60183cc38f1b9f3681c1770c043d77 (patch)
tree8c55ebb7d965a20fe332407cd74d0a41c7b0af41 /contrib/linearize/linearize-hashes.py
parent51cb6b8221560e5e62894b566c9580dbbd1c65a4 (diff)
Avoid reference to undefined name: stderr does not exist, sys.stderr does
Diffstat (limited to 'contrib/linearize/linearize-hashes.py')
-rwxr-xr-xcontrib/linearize/linearize-hashes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/linearize/linearize-hashes.py b/contrib/linearize/linearize-hashes.py
index 7719f4ccd6..58fec6dddc 100755
--- a/contrib/linearize/linearize-hashes.py
+++ b/contrib/linearize/linearize-hashes.py
@@ -140,7 +140,7 @@ if __name__ == '__main__':
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'])