summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-12-13 18:15:14 +0000
committerErik Johnston <erik@matrix.org>2014-12-13 18:15:14 +0000
commit88484f684f68f43b1c13ae12bcf259f14d314dc8 (patch)
tree48bb4095ebb9664d5d35b304f63b78da06c3c790
parentMerge branch 'release-v0.5.4' of github.com:matrix-org/synapse (diff)
parentBump version and change log (diff)
downloadsynapse-88484f684f68f43b1c13ae12bcf259f14d314dc8.tar.xz
Merge branch 'hotfixes-v0.5.4' of github.com:matrix-org/synapse v0.5.4a
-rw-r--r--CHANGES.rst6
-rw-r--r--VERSION2
-rw-r--r--synapse/__init__.py2
-rw-r--r--synapse/config/_base.py4
4 files changed, 10 insertions, 4 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index 2c57a57a01..0d36e8eeff 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -1,3 +1,9 @@
+Changes in synapse 0.5.4a (2014-12-13)
+======================================
+
+ * Fix bug while generating the error message when a file path specified in
+   the config doesn't exist.
+
 Changes in synapse 0.5.4 (2014-12-03)
 =====================================
 
diff --git a/VERSION b/VERSION
index 7d8568351b..64c6e2f460 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.5.4
+0.5.4a
diff --git a/synapse/__init__.py b/synapse/__init__.py
index 723e15d506..7e49e1fd08 100644
--- a/synapse/__init__.py
+++ b/synapse/__init__.py
@@ -16,4 +16,4 @@
 """ This is a reference implementation of a synapse home server.
 """
 
-__version__ = "0.5.4"
+__version__ = "0.5.4a"
diff --git a/synapse/config/_base.py b/synapse/config/_base.py
index 6870af10e8..846570811f 100644
--- a/synapse/config/_base.py
+++ b/synapse/config/_base.py
@@ -44,9 +44,9 @@ class Config(object):
             )
         if not os.path.exists(file_path):
             raise ConfigError(
-                "File % config for %s doesn't exist."
+                "File %s config for %s doesn't exist."
                 " Try running again with --generate-config"
-                % (config_name,)
+                % (file_path, config_name,)
             )
         return cls.abspath(file_path)