diff options
author | Erik Johnston <erikj@matrix.org> | 2016-03-30 12:43:26 +0100 |
---|---|---|
committer | Erik Johnston <erikj@matrix.org> | 2016-03-30 12:43:26 +0100 |
commit | 6f1866ccc545532f466c3ab33d9531eb59303907 (patch) | |
tree | de838c7f39544ba52cd94a429bb65d7222a4a7cb /synapse/config/_base.py | |
parent | fb47398e5380abd439a4c539e9ff21e5fd0173f1 (diff) |
Imported Upstream version 0.14.0
Diffstat (limited to 'synapse/config/_base.py')
-rw-r--r-- | synapse/config/_base.py | 2 |
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): |