diff roundup/backends/back_anydbm.py @ 5100:5775959d81a3

issue1926124: fix crash in roundup_admin migrate option wih anydbm Patch submitted by Henry (henryl), modified value to False since this produces the correct "No migration action required" output from the migrate command.
author John Rouillard <rouilj@ieee.org>
date Sun, 26 Jun 2016 16:13:41 -0400
parents e74c3611b138
children 33ac07a7ef96
line wrap: on
line diff
--- a/roundup/backends/back_anydbm.py	Sun Jun 26 11:31:46 2016 -0400
+++ b/roundup/backends/back_anydbm.py	Sun Jun 26 16:13:41 2016 -0400
@@ -147,6 +147,9 @@
 
     dbtype = "anydbm"
 
+    # used by migrate roundup_admin command. Is a no-op for anydbm.
+    # but needed to stop traceback in admin.
+    db_version_updated = False
 
     def __init__(self, config, journaltag=None):
         """Open a hyperdatabase given a specifier to some storage.

Roundup Issue Tracker: http://roundup-tracker.org/