Author: jim++ Date: 2008-05-03 03:30:05 +0200 (Sat, 03 May 2008) New Revision: 9561
Modified: trunk/src/common/helpers.py Log: [elghinn] Specify exception we want to catch so we see if there are others problems.
Modified: trunk/src/common/helpers.py =================================================================== --- trunk/src/common/helpers.py 2008-05-03 00:10:17 UTC (rev 9560) +++ trunk/src/common/helpers.py 2008-05-03 01:30:05 UTC (rev 9561) @@ -46,7 +46,7 @@ import hashlib hash_md5 = hashlib.md5 hash_sha1 = hashlib.sha1 -except: +except ImportError: # Python 2.4 import md5 import sha