summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/backend/getfs.py6
-rw-r--r--src/backend/setbranch.py12
2 files changed, 9 insertions, 9 deletions
diff --git a/src/backend/getfs.py b/src/backend/getfs.py
index f852cf2..77e0b2d 100644
--- a/src/backend/getfs.py
+++ b/src/backend/getfs.py
@@ -2,9 +2,9 @@
import platform
-remoteGithub = 'https://github.com/redcorelinux'
-remoteGitlab = 'https://gitlab.com/redcore'
-remotePagure = 'https://pagure.io/redcore'
+rmt_gh_addr = 'https://github.com/redcorelinux'
+rmt_gl_addr = 'https://gitlab.com/redcore'
+rmt_pg_addr = 'https://pagure.io/redcore'
g_repo = 'portage.git'
r_repo = 'redcore-desktop.git'
diff --git a/src/backend/setbranch.py b/src/backend/setbranch.py
index 5393484..346c054 100644
--- a/src/backend/setbranch.py
+++ b/src/backend/setbranch.py
@@ -18,18 +18,18 @@ def getBranchRemote(branch, remote):
portageConfigRemote = []
if "master" in branch:
if "github" in remote:
- remote = sisyphus.getfs.remoteGithub
+ remote = sisyphus.getfs.rmt_gh_addr
elif "gitlab" in remote:
- remote = sisyphus.getfs.remoteGitlab
+ remote = sisyphus.getfs.rmt_gl_addr
elif "pagure" in remote:
- remote = sisyphus.getfs.remotePagure
+ remote = sisyphus.getfs.rmt_pg_addr
elif "next" in branch:
if "github" in remote:
- remote = sisyphus.getfs.remoteGithub
+ remote = sisyphus.getfs.rmt_gh_addr
elif "gitlab" in remote:
- remote = sisyphus.getfs.remoteGitlab
+ remote = sisyphus.getfs.rmt_gl_addr
elif "pagure" in remote:
- remote = sisyphus.getfs.remotePagure
+ remote = sisyphus.getfs.rmt_pg_addr
gentooRemote = [remote, sisyphus.getfs.g_repo]
redcoreRemote = [remote, sisyphus.getfs.r_repo]