pidgin: c7e4a2de: Part of a patch from ubuntu to remove en...

nosnilmot at pidgin.im nosnilmot at pidgin.im
Wed May 21 23:05:43 EDT 2008


-----------------------------------------------------------------
Revision: c7e4a2de6be91644b964c05d489d38174fbcbb22
Ancestor: f27cf27abac3307baeb823ac405c3c09bf5f057e
Author: stu at nosnilmot.com
Date: 2008-05-22T03:02:39
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c7e4a2de6be91644b964c05d489d38174fbcbb22

Modified files:
        libpurple/purple-remote

ChangeLog: 

Part of a patch from ubuntu to remove entropy from purple-remote when
using --help or -h arguments

-------------- next part --------------
============================================================
--- libpurple/purple-remote	ed0d125fb0a2e3cea6d6e2f91e21235668fbf65e
+++ libpurple/purple-remote	7d162c912238a1954e13a3131292e23ae375a412
@@ -218,7 +218,7 @@ def execute(uri):
                     return purple.__getattr__(command)(*methodparams)
             show_help()
 
-if len(sys.argv) == 1:
+if len(sys.argv) == 1 or sys.argv[1] == "--help" or sys.argv == "-h":
     show_help()
 elif (sys.argv[1] == "--help" or sys.argv[1] == "-h"):
     show_help(True)


More information about the Commits mailing list