summaryrefslogtreecommitdiff
path: root/src/backend/check.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/check.py')
-rw-r--r--src/backend/check.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/check.py b/src/backend/check.py
index 3715705..9269735 100644
--- a/src/backend/check.py
+++ b/src/backend/check.py
@@ -13,10 +13,10 @@ def match():
os.chdir(sisyphus.filesystem.portageRepoDir)
needsMatch = int()
- binhostURL = sisyphus.binhost.getURL()
+ isBinhost = sisyphus.binhost.start()
localBranch = subprocess.check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD'])
- if "packages-next" in binhostURL:
+ if "packages-next" in isBinhost:
if localBranch.decode().strip() == "next":
needsMatch = int(0)
else: