# HG changeset patch # User Bjoern Ricks # Date 1287157174 0 # Node ID aa90ea7778a56fc086ccfe7b40bbfbe852526c7c # Parent d85af9a6c93a454ba69b5816127f8e48867a4aca fix issue with finally and python < 2.5 diff -r d85af9a6c93a -r aa90ea7778a5 treepkg/util.py --- a/treepkg/util.py Fri Oct 15 15:24:45 2010 +0000 +++ b/treepkg/util.py Fri Oct 15 15:39:34 2010 +0000 @@ -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\]?, \[([^]]+)\]\)",