mail[Wesnoth-commits] r33282 - in /trunk/data/tools: wesnoth/campaignserver_client.py 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 02, 2009 - 00:55:
Author: soliton
Date: Mon Mar  2 00:50:00 2009
New Revision: 33282

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33282&view=rev
Log:
use the name from [dir] rather than campaign_name= which might be different 
from lowercasing

Modified:
    trunk/data/tools/wesnoth/campaignserver_client.py
    trunk/data/tools/wesnoth_addon_manager

Modified: trunk/data/tools/wesnoth/campaignserver_client.py
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/wesnoth/campaignserver_client.py?rev=33282&r1=33281&r2=33282&view=diff
==============================================================================
--- trunk/data/tools/wesnoth/campaignserver_client.py (original)
+++ trunk/data/tools/wesnoth/campaignserver_client.py Mon Mar  2 00:50:00 2009
@@ -458,5 +458,6 @@
             if verbose:
                 sys.stderr.write(i * " " + name + "\n")
             self.unpackdir(dir, os.path.join(path, name), i + 2, verbose)
+        return name
 
 # vim: tabstop=4: shiftwidth=4: expandtab: softtabstop=4: autoindent:

Modified: trunk/data/tools/wesnoth_addon_manager
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/wesnoth_addon_manager?rev=33282&r1=33281&r2=33282&view=diff
==============================================================================
--- trunk/data/tools/wesnoth_addon_manager (original)
+++ trunk/data/tools/wesnoth_addon_manager Mon Mar  2 00:50:00 2009
@@ -120,7 +120,7 @@
         else:
             decoded = cs.decode(mythread.data)
             print "Unpacking %s..." % name
-            cs.unpackdir(decoded, cdir, verbose = options.verbose)
+            name = cs.unpackdir(decoded, cdir, verbose = options.verbose)
             dirname = os.path.join(cdir, name)
             info = os.path.join(dirname, "_info.cfg")
             try:




Related Messages


Powered by MHonArc, Updated Mon Mar 02 01:20:10 2009