diff options
author | Mark Haines <mjark@negativecurvature.net> | 2016-03-08 11:08:20 +0000 |
---|---|---|
committer | Mark Haines <mjark@negativecurvature.net> | 2016-03-08 11:08:20 +0000 |
commit | ea72bd960052f95599150a287a7fccbe668e2c23 (patch) | |
tree | 8ca401db42e800c7393fb3df3919bf754b918786 /synapse/config/__main__.py | |
parent | Merge pull request #627 from matrix-org/dbkr/guest_reuse_send_user_id (diff) | |
parent | Use syntax that works on both py2.7 and py3 (diff) | |
download | synapse-ea72bd960052f95599150a287a7fccbe668e2c23.tar.xz |
Merge pull request #631 from matrix-org/markjh/py3v1
Use syntax that's valid on both py2.7 and py3
Diffstat (limited to 'synapse/config/__main__.py')
-rw-r--r-- | synapse/config/__main__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/__main__.py b/synapse/config/__main__.py index 0a3b70e11f..58c97a70af 100644 --- a/synapse/config/__main__.py +++ b/synapse/config/__main__.py @@ -28,7 +28,7 @@ if __name__ == "__main__": sys.stderr.write("\n" + e.message + "\n") sys.exit(1) - print getattr(config, key) + print (getattr(config, key)) sys.exit(0) else: sys.stderr.write("Unknown command %r\n" % (action,)) |