From 3734eb8c40f2481b023fbbe741f646a5087e50e5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 9 Mar 2023 20:04:59 +0000 Subject: remotePackagesCsv -> rmt_pcsv; remoteDescriptionsCsv -> rmt_dcsv; localPackagesCsv -> lcl_pcsv; localDatabase -> lcl_db --- src/backend/recoverdb.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/backend/recoverdb.py') diff --git a/src/backend/recoverdb.py b/src/backend/recoverdb.py index 6aff890..59675ad 100644 --- a/src/backend/recoverdb.py +++ b/src/backend/recoverdb.py @@ -8,14 +8,14 @@ import sisyphus.syncdb @animation.wait('recovering databases') def start(): - if os.path.exists(sisyphus.getfs.remotePackagesCsv): - os.remove(sisyphus.getfs.remotePackagesCsv) - if os.path.exists(sisyphus.getfs.remoteDescriptionsCsv): - os.remove(sisyphus.getfs.remoteDescriptionsCsv) - if os.path.exists(sisyphus.getfs.localPackagesCsv): - os.remove(sisyphus.getfs.localPackagesCsv) - if os.path.exists(sisyphus.getfs.localDatabase): - os.remove(sisyphus.getfs.localDatabase) + if os.path.exists(sisyphus.getfs.rmt_pcsv): + os.remove(sisyphus.getfs.rmt_pcsv) + if os.path.exists(sisyphus.getfs.rmt_dcsv): + os.remove(sisyphus.getfs.rmt_dcsv) + if os.path.exists(sisyphus.getfs.lcl_pcsv): + os.remove(sisyphus.getfs.lcl_pcsv) + if os.path.exists(sisyphus.getfs.lcl_db): + os.remove(sisyphus.getfs.lcl_db) sisyphus.syncdb.remoteTable() sisyphus.syncdb.localTable() -- cgit v1.2.3