summaryrefslogtreecommitdiff
path: root/src/backend/recoverDatabase.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-30 14:31:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-10-30 14:31:44 +0000
commit129031c9155d03890ef66f00be1ab60f63327c35 (patch)
treea01810eae7ff87f1bc0836bf74ef9d921feb85e2 /src/backend/recoverDatabase.py
parent02b654dc089c570ce81ce5da0c2c48d5d21d3cb8 (diff)
move getFilesystem -> getfs
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()