Show More
@@ -26,7 +26,8 b' log = logging.getLogger(__name__)' | |||
|
26 | 26 | |
|
27 | 27 | |
|
28 | 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 | 33 | max_args = 1 |
@@ -41,7 +42,7 b' class UpgradeDb(BasePasterCommand):' | |||
|
41 | 42 | def command(self): |
|
42 | 43 | from rhodecode.lib.rc_commands import upgrade_db |
|
43 | 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 | 47 | def update_parser(self): |
|
47 | 48 | self.parser.add_option('--sql', |
General Comments 0
You need to be logged in to leave comments.
Login now