diff options
Diffstat (limited to 'layman/makeconf.py')
-rw-r--r-- | layman/makeconf.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layman/makeconf.py b/layman/makeconf.py index b6f5d90..1dd2b56 100644 --- a/layman/makeconf.py +++ b/layman/makeconf.py @@ -257,7 +257,7 @@ class MakeConf: make_conf.close() - except Exception, error: + except Exception as error: self.output.error('MakeConf: write(); Failed to write "' + self.path + '".\nError was:\n' + str(error)) return False @@ -274,7 +274,7 @@ class MakeConf: make_conf.close() - except Exception, error: + except Exception as error: self.output.error('MakeConf: content(); Failed to read "' + self.path + '".\nError was:\n' + str(error)) raise error |