Fixed a bug the update_wrinncache function.
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Mon, 14 Feb 2011 21:10:43 +0000 (21:10 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Mon, 14 Feb 2011 21:10:43 +0000 (21:10 +0000)
git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/wrpylib@778 7aebc617-e5e2-0310-91dc-80fb5f6d2477

setup.py
wrpylib/wrmwcache.py

index cb19e730594938c3930aad570a03483fce6360ec..e78942b7648291e105b41b3fc7c488c0af774fb3 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@
 from setuptools import setup
 
 setup(name='wrpylib',
-    version='0.0.9',
+    version='0.0.10',
     description='Winterrodeln Python Library',
     author='Philipp Spitzer',
     author_email='philipp.spitzer@winterrodeln.org',
index b863a4e39b8daa1bac24e9176d0a697f6d256ad5..b46fe5f442df6ad187b666c468c0487413dc6a51 100644 (file)
@@ -91,6 +91,6 @@ def update_wrinncache(connection):
         except (RuntimeError, formencode.Invalid) as e:
             transaction.rollback()
             error_msg = u"Error as inn '{0}': {1}".format(inn_page.page_title, unicode(e))
-            raise UpdateCacheError(error_msg, sledrun_page.page_title, e)
+            raise UpdateCacheError(error_msg, inn_page.page_title, e)
     transaction.commit()