From: <tre...@us...> - 2009-09-09 13:10:26
|
Revision: 281 http://spd.svn.sourceforge.net/spd/?rev=281&view=rev Author: treibholz Date: 2009-09-09 13:10:16 +0000 (Wed, 09 Sep 2009) Log Message: ----------- no output, when nothing was found with -p Modified Paths: -------------- trunk/src/spd-cli Modified: trunk/src/spd-cli =================================================================== --- trunk/src/spd-cli 2009-09-09 13:02:10 UTC (rev 280) +++ trunk/src/spd-cli 2009-09-09 13:10:16 UTC (rev 281) @@ -87,10 +87,11 @@ elif options.pwonly: - searchPatterns = sys.argv - del searchPatterns[0] - del searchPatterns[0] - print pc.findPassword(searchPatterns)[pc.passwordField][0] + searchPatterns = args + try: + print pc.findPassword(searchPatterns)[pc.passwordField][0] + except: + pass #elif options.widemode: # searchPatterns = sys.argv This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |