summary refs log tree commit diff
path: root/synapse/config
diff options
context:
space:
mode:
authorAdrian Tschira <nota@notafile.com>2018-03-27 19:15:58 +0200
committerAdrian Tschira <nota@notafile.com>2018-04-06 23:35:27 +0200
commitb0500d37744a0eddc5df155b77a4d4c96eba7a70 (patch)
tree68c995a0b184080776486fb46756c8bd2b8e4426 /synapse/config
parentMerge pull request #3046 from matrix-org/dbkr/join_group (diff)
downloadsynapse-b0500d37744a0eddc5df155b77a4d4c96eba7a70.tar.xz
use python3-compatible prints
Diffstat (limited to '')
-rw-r--r--synapse/config/_base.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/synapse/config/_base.py b/synapse/config/_base.py
index fa105bce72..dd591d8d32 100644
--- a/synapse/config/_base.py
+++ b/synapse/config/_base.py
@@ -288,22 +288,22 @@ class Config(object):
                     )
                     obj.invoke_all("generate_files", config)
                     config_file.write(config_bytes)
-                print (
+                print((
                     "A config file has been generated in %r for server name"
                     " %r with corresponding SSL keys and self-signed"
                     " certificates. Please review this file and customise it"
                     " to your needs."
-                ) % (config_path, server_name)
-                print (
+                ) % (config_path, server_name))
+                print(
                     "If this server name is incorrect, you will need to"
                     " regenerate the SSL certificates"
                 )
                 return
             else:
-                print (
+                print((
                     "Config file %r already exists. Generating any missing key"
                     " files."
-                ) % (config_path,)
+                ) % (config_path,))
                 generate_keys = True
 
         parser = argparse.ArgumentParser(