Fixed bug: Foreign key to old table name.
[philipp/winterrodeln/wrpylib.git] / wrpylib / wrmwcache.py
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()