From fafff14908697a1e1d45cd8db1be2fe5cf8a4153 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 30 Oct 2022 14:52:28 +0000 Subject: move setJobs -> setjobs --- src/backend/__init__.py | 2 +- src/backend/setJobs.py | 6 ------ src/backend/setbranch.py | 4 ++-- src/backend/setjobs.py | 6 ++++++ 4 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 src/backend/setJobs.py create mode 100644 src/backend/setjobs.py (limited to 'src/backend') diff --git a/src/backend/__init__.py b/src/backend/__init__.py index b835cbb..ebcee2f 100644 --- a/src/backend/__init__.py +++ b/src/backend/__init__.py @@ -11,7 +11,7 @@ from .solvedeps import * from .searchpkg import * from .searchsrc import * from .setbranch import * -from .setJobs import * +from .setjobs import * from .setMirror import * from .setProfile import * from .syncDatabase import * diff --git a/src/backend/setJobs.py b/src/backend/setJobs.py deleted file mode 100644 index 89ccc37..0000000 --- a/src/backend/setJobs.py +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/python3 - -import subprocess - -def cliExec(): - subprocess.call(['/usr/share/sisyphus/helpers/set_jobs']) diff --git a/src/backend/setbranch.py b/src/backend/setbranch.py index 4ee3e83..55e7be7 100644 --- a/src/backend/setbranch.py +++ b/src/backend/setbranch.py @@ -7,7 +7,7 @@ import sys import sisyphus.checkenv import sisyphus.getfs import sisyphus.purgeenv -import sisyphus.setJobs +import sisyphus.setjobs import sisyphus.setProfile def getBranchRemote(branch,remote): @@ -86,7 +86,7 @@ def cliExec(branch,remote): injectGentooRepo(branch,remote) injectRedcoreRepo(branch,remote) injectPortageConfigRepo(branch,remote) - sisyphus.setJobs.cliExec() + sisyphus.setjobs.cliExec() sisyphus.setProfile.cliExec() giveWarning(branch,remote) else: diff --git a/src/backend/setjobs.py b/src/backend/setjobs.py new file mode 100644 index 0000000..89ccc37 --- /dev/null +++ b/src/backend/setjobs.py @@ -0,0 +1,6 @@ +#!/usr/bin/python3 + +import subprocess + +def cliExec(): + subprocess.call(['/usr/share/sisyphus/helpers/set_jobs']) -- cgit v1.2.3