mail[Wesnoth-commits] r33525 - /trunk/data/tools/wesnoth_addon_manager


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by soliton . de on March 10, 2009 - 19:03:
Author: soliton
Date: Tue Mar 10 19:03:08 2009
New Revision: 33525

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33525&view=rev
Log:
disregard the type option when omitted

Modified:
    trunk/data/tools/wesnoth_addon_manager

Modified: trunk/data/tools/wesnoth_addon_manager
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/wesnoth_addon_manager?rev=33525&r1=33524&r2=33525&view=diff
==============================================================================
--- trunk/data/tools/wesnoth_addon_manager (original)
+++ trunk/data/tools/wesnoth_addon_manager Tue Mar 10 19:03:08 2009
@@ -219,7 +219,7 @@
                 if re.escape(options.download).replace("\\_", "_") == 
options.download:
                     if name == options.download:
                         fetchlist.append((name, version, uploads))
-                elif options.type and options.type == type:
+                elif not options.type or options.type == type:
                     if re.search(options.download, name):
                         fetchlist.append((name, version, uploads))
 




Related Messages


Powered by MHonArc, Updated Tue Mar 10 21:40:37 2009