Ver Fonte

bug fix for dbwarning message

oz123 há 11 anos atrás
pai
commit
3b1a1a5a81
1 ficheiros alterados com 7 adições e 6 exclusões
  1. 7 6
      pwman/ui/cli.py

+ 7 - 6
pwman/ui/cli.py

@@ -712,12 +712,13 @@ pwman> n {'leetify':False, 'numerics':True}"""
         initialize CLI interface, set up the DB
         connecion, see if we have xsel ...
         """
-        _dbwarning = "\n*** WARNNING: You are using the old database format"
-        + " which is unsecure."
-        + " It's highly recommended to switch to the new database format."
-        + "Take a"
-        + " check the help (pwman3 -h) or look at the manpage which explains "
-        + " how to proceed. ***"
+        _dbwarning = "\n*** WARNNING: You are using the old database format" \
+            + " which is unsecure." \
+            + " It's highly recommended to switch to the new database " \
+            + "format." \
+            + " Check the help (pwman3 -h) or look at the manpage which" \
+            + " explains how to proceed. ***"
+
         cmd.Cmd.__init__(self)
         self.intro = "%s %s (c) visit: %s %s" % (pwman.appname, pwman.version,
                                                  pwman.website, _dbwarning)