oz123 11 ani în urmă
părinte
comite
f3eca9e39e
1 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  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...
     """
     """