summaryrefslogtreecommitdiff
path: root/synapse/config/_base.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@matrix.org>2016-03-30 12:43:26 +0100
committerErik Johnston <erikj@matrix.org>2016-03-30 12:43:26 +0100
commit6f1866ccc545532f466c3ab33d9531eb59303907 (patch)
treede838c7f39544ba52cd94a429bb65d7222a4a7cb /synapse/config/_base.py
parentfb47398e5380abd439a4c539e9ff21e5fd0173f1 (diff)
Imported Upstream version 0.14.0
Diffstat (limited to 'synapse/config/_base.py')
-rw-r--r--synapse/config/_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/_base.py b/synapse/config/_base.py
index 15d78ff3..7449f364 100644
--- a/synapse/config/_base.py
+++ b/synapse/config/_base.py
@@ -104,7 +104,7 @@ class Config(object):
dir_path = cls.abspath(dir_path)
try:
os.makedirs(dir_path)
- except OSError, e:
+ except OSError as e:
if e.errno != errno.EEXIST:
raise
if not os.path.isdir(dir_path):