[Treepkg-commits] r457 - trunk/treepkg
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Oct 15 17:39:35 CEST 2010
Author: bricks
Date: 2010-10-15 17:39:34 +0200 (Fri, 15 Oct 2010)
New Revision: 457
Modified:
trunk/treepkg/util.py
Log:
fix issue with finally and python < 2.5
Modified: trunk/treepkg/util.py
===================================================================
--- trunk/treepkg/util.py 2010-10-15 15:24:45 UTC (rev 456)
+++ trunk/treepkg/util.py 2010-10-15 15:39:34 UTC (rev 457)
@@ -71,9 +71,9 @@
version += "." + minor_match.group(1)
if patch_match:
version += "." + patch_match.group(1)
- except: pass
- finally:
return version
+ except:
+ return ""
def extract_configureac_version(configure_ac):
match = re.match(r"m4_define\(\[?my_version\]?, \[([^]]+)\]\)",
More information about the Treepkg-commits
mailing list