瀏覽代碼

remove function which is defined twice

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

+ 1 - 4
pwman/ui/cli.py

@@ -184,7 +184,7 @@ class PwmanCli(cmd.Cmd):
                                     node.get_notes())
         print typeset("Tags: ", ANSI.Red),
         for t in node.get_tags():
-            print "rr %s " % t.get_name(),
+            print " %s " % t.get_name(),
         print
 
         def heardEnter():
@@ -643,9 +643,6 @@ the url must contain http:// or https://."
         self.usage("set [configoption] [value]")
         print "Sets a configuration option. If no value is specified, the current value for [configoption] is output. If neither [configoption] nor [value] are specified, the whole current configuration is output. [configoption] must be of the format <section>.<option>"
 
-    def help_ls(self):
-        self.help_list()
-
     def help_passwd(self):
         self.usage("passwd")
         print "Changes the password on the database. "