浏览代码

More adaptation to pep-3110

oz123 10 年之前
父节点
当前提交
9c06be3def
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pwman/ui/win.py

+ 1 - 1
pwman/ui/win.py

@@ -78,7 +78,7 @@ class PwmanCliWinNew(PwmanCliNew):
             print "Password ID: %d" % (node._id)
             # when done with node erase it
             zerome(password)
-        except Exception, e:
+        except Exception as e:
             self.error(e)
 
     def print_node(self, node):