SF.net SVN: geany-plugins:[701] trunk/geany-plugins/waf
eht16 at users.sourceforge.net
eht16 at xxxxx
Thu Jun 11 09:01:32 UTC 2009
Revision: 701
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=701&view=rev
Author: eht16
Date: 2009-06-11 09:01:32 +0000 (Thu, 11 Jun 2009)
Log Message:
-----------
Update Waf to 1.5.7.
Modified Paths:
--------------
trunk/geany-plugins/waf
Modified: trunk/geany-plugins/waf
===================================================================
--- trunk/geany-plugins/waf 2009-06-11 08:37:14 UTC (rev 700)
+++ trunk/geany-plugins/waf 2009-06-11 09:01:32 UTC (rev 701)
@@ -37,11 +37,11 @@
try:import psyco;psyco.full()
except:pass
-VERSION="1.5.5"
-REVISION="b91f640ab0e4cd8b0bd40eb6200616f4"
+VERSION="1.5.7"
+REVISION="8edda22ed216daab7aed3d430dc291cf"
INSTALL=''
-C1='#,'
-C2='#$'
+C1='#+'
+C2='#)'
cwd = os.getcwd()
join = os.path.join
@@ -84,9 +84,15 @@
t.write(txt)
t.close()
- t = tarfile.open(tmp)
- for x in t: t.extract(x)
- t.close()
+ try:
+ t = tarfile.open(tmp)
+ for x in t: t.extract(x)
+ t.close()
+ except:
+ os.chdir(cwd)
+ try: shutil.rmtree(dir)
+ except OSError: pass
+ err("Waf cannot be unpacked, check that bzip2 support is present")
os.chmod(join('wafadmin','Tools'), 493)
@@ -143,5 +149,5 @@
sys.exit(0)
#==>
@@ Diff output truncated at 100000 characters. @@
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Plugins-Commits
mailing list