summaryrefslogtreecommitdiff
path: root/src/backend/syncenv.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/syncenv.py
parent80d633d0738461d7715e5051ab7f3248068fa87e (diff)
space functions a bit
Diffstat (limited to 'src/backend/syncenv.py')
-rw-r--r--src/backend/syncenv.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backend/syncenv.py b/src/backend/syncenv.py
index 2b3277f..5c07c3a 100644
--- a/src/backend/syncenv.py
+++ b/src/backend/syncenv.py
@@ -4,6 +4,7 @@ import os
import subprocess
import sisyphus.getfs
+
def gentooRepo():
os.chdir(sisyphus.getfs.gentooRepoDir)
localBranch = subprocess.check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD'])
@@ -15,6 +16,7 @@ def gentooRepo():
gitExecStage2 = subprocess.Popen(['git', 'reset', '--hard'] + remoteBranch.decode().strip().replace('refs/remotes/','').split() + ['--quiet'], stdout=subprocess.PIPE)
gitExecStage2.wait()
+
def redcoreRepo():
os.chdir(sisyphus.getfs.redcoreRepoDir)
localBranch = subprocess.check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD'])
@@ -26,6 +28,7 @@ def redcoreRepo():
gitExecStage2 = subprocess.Popen(['git', 'reset', '--hard'] + remoteBranch.decode().strip().replace('refs/remotes/','').split() + ['--quiet'], stdout=subprocess.PIPE)
gitExecStage2.wait()
+
def portageConfigRepo():
os.chdir(sisyphus.getfs.portageConfigDir)
localBranch = subprocess.check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD'])