upgrade: fixed old style rc upgrade sometimes used with a very old installer.
marcink -
r3505:c75dd264 stable
Not Reviewed
Show More
Add another comment
TODOs: 0 unresolved 0 Resolved
COMMENTS: 0 General 0 Inline
@@ -26,7 +26,8
26
26
27
27
28 class UpgradeDb(BasePasterCommand):
28 class UpgradeDb(BasePasterCommand):
29 """Command used for paster to upgrade our database to newer version
29 """
30 Command used for paster to upgrade our database to newer version
30 """
31 """
31
32
32 max_args = 1
33 max_args = 1
@@ -41,7 +42,7
41 def command(self):
42 def command(self):
42 from rhodecode.lib.rc_commands import upgrade_db
43 from rhodecode.lib.rc_commands import upgrade_db
43 upgrade_db.command(
44 upgrade_db.command(
44 self.path_to_ini_file, self.options.__dict__.get('force_ask'))
45 self.path_to_ini_file, self.options.__dict__.get('force_ask'), None)
45
46
46 def update_parser(self):
47 def update_parser(self):
47 self.parser.add_option('--sql',
48 self.parser.add_option('--sql',
Comments 0
You need to be logged in to leave comments. Login now