summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-17 10:26:14 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-17 10:26:14 +0000
commit1d8068d79dd0c09dc5c05ce6909a49e8e7249657 (patch)
tree7bff4318031af3008cfc5526b2b17521d0fd7465
parent01d055a5e93439be37faf68fdfa91df0be568f4e (diff)
upgrade : fix undefined variable in print output
-rw-r--r--src/backend/install.py8
-rw-r--r--src/backend/upgrade.py8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/backend/install.py b/src/backend/install.py
index a3bd6ec..83e2c68 100644
--- a/src/backend/install.py
+++ b/src/backend/install.py
@@ -55,15 +55,15 @@ def start(pkgname):
else:
print(sisyphus.getcolor.bright_red +
"\nSource package(s) found in the mix!\n" + sisyphus.getcolor.reset)
- print(sisyphus.getcolor.bright_yellow + "Use" + sisyphus.getcolor.reset + " " + "'" +
- "sisyphus install" + " " + " ".join(pkgname) + " " + "--ebuild" + "'" + sisyphus.getcolor.reset)
+ print(sisyphus.getcolor.bright_yellow + "Use" + sisyphus.getcolor.reset + " " +
+ "'" + "sisyphus install" + " " + " ".join(pkgname) + " " + "--ebuild" + "'")
sys.exit()
else:
# don't silently fail if a source package requested without the --ebuild option needs a keyword, mask, REQUIRED_USE or USE change
print(sisyphus.getcolor.bright_red +
"\nInvalid request!\n" + sisyphus.getcolor.reset)
- print(sisyphus.getcolor.bright_yellow + "Use" + sisyphus.getcolor.reset + " " + "'" +
- "sisyphus install" + " " + " ".join(pkgname) + " " + "--ebuild" + "'" + sisyphus.getcolor.reset)
+ print(sisyphus.getcolor.bright_yellow + "Use" + sisyphus.getcolor.reset + " " +
+ "'" + "sisyphus install" + " " + " ".join(pkgname) + " " + "--ebuild" + "'")
sys.exit()
else:
print(sisyphus.getcolor.bright_red +
diff --git a/src/backend/upgrade.py b/src/backend/upgrade.py
index e722066..3c48955 100644
--- a/src/backend/upgrade.py
+++ b/src/backend/upgrade.py
@@ -55,15 +55,15 @@ def start():
else:
print(sisyphus.getcolor.bright_red +
"\nSource package(s) found in the mix!\n" + sisyphus.getcolor.reset)
- print(sisyphus.getcolor.bright_yellow + "Use" + sisyphus.getcolor.reset + " " + "'" +
- "sisyphus install" + " " + " ".join(pkgname) + " " + "--ebuild" + "'" + sisyphus.getcolor.reset)
+ print(sisyphus.getcolor.bright_yellow + "Use" +
+ sisyphus.getcolor.reset + " " + "'" + "sisyphus upgrade --ebuild" + "'")
sys.exit()
else:
# don't silently fail if a source package requested without the --ebuild option needs a keyword, mask, REQUIRED_USE or USE change
print(sisyphus.getcolor.bright_red +
"\nInvalid request!\n" + sisyphus.getcolor.reset)
- print(sisyphus.getcolor.bright_yellow + "Use" + sisyphus.getcolor.reset + " " + "'" +
- "sisyphus install" + " " + " ".join(pkgname) + " " + "--ebuild" + "'" + sisyphus.getcolor.reset)
+ print(sisyphus.getcolor.bright_yellow + "Use" +
+ sisyphus.getcolor.reset + " " + "'" + "sisyphus upgrade --ebuild" + "'")
sys.exit()
else:
print(sisyphus.getcolor.bright_red +