From 491baec51fabb75160170dbea9b55887b1083773 Mon Sep 17 00:00:00 2001 From: Devan Franchini Date: Sat, 28 Nov 2015 22:25:15 -0500 Subject: updater.py: Sets set_db_type installed var to new_name Previously the set_db_type function would be passed the old installed database name instead of the new one. This would lead to setting the "installed" variable in the layman config to an incorrect one. --- layman/updater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layman/updater.py b/layman/updater.py index 6cd98c4..6384429 100644 --- a/layman/updater.py +++ b/layman/updater.py @@ -164,7 +164,7 @@ class Main(object): 'to_type': migrate_type} self.output.info(msg) - self.set_db_type(migrate_type, os.path.basename(installed)) + self.set_db_type(migrate_type, os.path.basename(new_name)) msg = ' Warning: Please be sure to update your config file via '\ 'the\n `dispatch-conf` command or you *will* lose database '\ -- cgit v1.2.3-65-gdbad