diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-08 16:10:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-08 16:10:24 +0100 |
commit | f587c2de87665b10e70b4143989572b19e43c08c (patch) | |
tree | 9d68aec0a5fa92d4f7a3a377b205a89610221a73 /src/backend/rescue.py | |
parent | 1d30457b03e7906770ee40a774320121e80a4bfd (diff) |
rename some constants to something more pretty
Diffstat (limited to 'src/backend/rescue.py')
-rw-r--r-- | src/backend/rescue.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/backend/rescue.py b/src/backend/rescue.py index 96d347f..26e7c68 100644 --- a/src/backend/rescue.py +++ b/src/backend/rescue.py @@ -7,14 +7,14 @@ import sisyphus.filesystem @animation.wait('recovering databases') def start(): - if os.path.exists(sisyphus.filesystem.remotePkgsDB): - os.remove(sisyphus.filesystem.remotePkgsDB) - if os.path.exists(sisyphus.filesystem.remoteDscsDB): - os.remove(sisyphus.filesystem.remoteDscsDB) - if os.path.exists(sisyphus.filesystem.localPkgsDB): - os.remove(sisyphus.filesystem.localPkgsDB) - if os.path.exists(sisyphus.filesystem.sisyphusDB): - os.remove(sisyphus.filesystem.sisyphusDB) + if os.path.exists(sisyphus.filesystem.remotePackagesCsv): + os.remove(sisyphus.filesystem.remotePackagesCsv) + if os.path.exists(sisyphus.filesystem.remoteDescriptionsCsv): + os.remove(sisyphus.filesystem.remoteDescriptionsCsv) + if os.path.exists(sisyphus.filesystem.localPackagesCsv): + os.remove(sisyphus.filesystem.localPackagesCsv) + if os.path.exists(sisyphus.filesystem.localDatabase): + os.remove(sisyphus.filesystem.localDatabase) sisyphus.database.syncRemote() sisyphus.database.syncLocal() |