oz123 12 年之前
父節點
當前提交
f3eca9e39e
共有 1 個文件被更改,包括 3 次插入 和 3 次删除
  1. 3 3
      pwman/ui/base.py

+ 3 - 3
pwman/ui/base.py

@@ -48,7 +48,7 @@ def get_pass_conf():
     return numerics, leetify, special_chars
     return numerics, leetify, special_chars
 
 
 
 
-class HelpUI(object):
+class HelpUI(object): # pragma: no cover
     """
     """
     this class holds all the UI help functionality.
     this class holds all the UI help functionality.
     in PwmanCliNew. The later inherits from this class
     in PwmanCliNew. The later inherits from this class
@@ -408,7 +408,7 @@ class BaseCommands(BaseUI, HelpUI):
     def do_passwd(self, args):
     def do_passwd(self, args):
         try:
         try:
             key = self._db.changepassword()
             key = self._db.changepassword()
-            self._db._save(key)
+            self._db.savekey(key)
         except Exception  as e:
         except Exception  as e:
             self.error(e)
             self.error(e)
 
 
@@ -637,7 +637,7 @@ class BaseCommands(BaseUI, HelpUI):
                                  reader=reader, length=length, leetify=leetify)
                                  reader=reader, length=length, leetify=leetify)
 
 
 
 
-class Aliases(BaseCommands):
+class Aliases(BaseCommands): # pragma: no cover
     """
     """
     Define all the alias you want here...
     Define all the alias you want here...
     """
     """