summaryrefslogtreecommitdiff
path: root/src/backend/recoverDatabase.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/recoverDatabase.py')
-rw-r--r--src/backend/recoverDatabase.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/backend/recoverDatabase.py b/src/backend/recoverDatabase.py
index 2594c72..c429340 100644
--- a/src/backend/recoverDatabase.py
+++ b/src/backend/recoverDatabase.py
@@ -2,19 +2,19 @@
import animation
import os
-import sisyphus.getFilesystem
+import sisyphus.getfs
import sisyphus.syncDatabase
@animation.wait('recovering databases')
def cliExec():
- if os.path.exists(sisyphus.getFilesystem.remotePackagesCsv):
- os.remove(sisyphus.getFilesystem.remotePackagesCsv)
- if os.path.exists(sisyphus.getFilesystem.remoteDescriptionsCsv):
- os.remove(sisyphus.getFilesystem.remoteDescriptionsCsv)
- if os.path.exists(sisyphus.getFilesystem.localPackagesCsv):
- os.remove(sisyphus.getFilesystem.localPackagesCsv)
- if os.path.exists(sisyphus.getFilesystem.localDatabase):
- os.remove(sisyphus.getFilesystem.localDatabase)
+ 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)
sisyphus.syncDatabase.remoteTable()
sisyphus.syncDatabase.localTable()