diff MoinMoin/macro/__init__.py @ 1805:ebcebba1afb3

removed some unused attributes, used 'dummy' for dummies
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 24 Feb 2007 14:18:31 +0100
parents c3288587c552
children b180f047d918
line wrap: on
line diff
--- a/MoinMoin/macro/__init__.py	Sat Feb 24 00:24:01 2007 +0100
+++ b/MoinMoin/macro/__init__.py	Sat Feb 24 14:18:31 2007 +0100
@@ -371,7 +371,7 @@
             # we adjust by our local timezone's offset
             try:
                 tm = time.mktime(tm) - time.timezone - tzoffset
-            except (OverflowError, ValueError), err:
+            except (OverflowError, ValueError):
                 tm = 0 # incorrect, but we avoid an ugly backtrace
         else:
             # try raw seconds since epoch in UTC