summaryrefslogtreecommitdiff
path: root/src/backend/purgeenv.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-30 20:02:58 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-10-30 20:02:58 +0000
commit206c993e45c39e60eceae1f66c69d39903ab9266 (patch)
tree96e15cacf4f5ad804fb97f0fb37584c6d064acfd /src/backend/purgeenv.py
parent80d633d0738461d7715e5051ab7f3248068fa87e (diff)
space functions a bit
Diffstat (limited to 'src/backend/purgeenv.py')
-rw-r--r--src/backend/purgeenv.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backend/purgeenv.py b/src/backend/purgeenv.py
index b5424a6..ff009e7 100644
--- a/src/backend/purgeenv.py
+++ b/src/backend/purgeenv.py
@@ -5,6 +5,7 @@ import os
import shutil
import sisyphus.getfs
+
@animation.wait('purging branch configuration')
def branch():
if os.path.isdir(sisyphus.getfs.gentooRepoDir):
@@ -34,6 +35,7 @@ def branch():
else:
os.makedirs(sisyphus.getfs.portageConfigDir)
+
def cache():
if os.path.isdir(sisyphus.getfs.portageCacheDir):
for files in os.listdir(sisyphus.getfs.portageCacheDir):
@@ -42,6 +44,7 @@ def cache():
else:
shutil.rmtree(os.path.join(sisyphus.getfs.portageCacheDir, files))
+
def metadata():
if os.path.isdir(sisyphus.getfs.portageMetadataDir):
for files in os.listdir(sisyphus.getfs.portageMetadataDir):