oz123 %!s(int64=11) %!d(string=hai) anos
pai
achega
f3eca9e39e
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  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...
     """
     """