diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-09-22 10:46:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-09-22 10:46:43 +0100 |
commit | fde8531a7597b443a5315cfa614f4a6991f1027b (patch) | |
tree | 281b747dd9018d739e8d7c18153c327dbb36f2ed /src/backend | |
parent | 85186c2ec3dc448972fb9cd21312a89e49853004 (diff) |
convert to string
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/libsisyphus.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/libsisyphus.py b/src/backend/libsisyphus.py index 9512621..6e238f8 100644 --- a/src/backend/libsisyphus.py +++ b/src/backend/libsisyphus.py @@ -220,7 +220,7 @@ def startInstall(pkgList): pkgBins = [] if not len(pkgDeps) == 0: - if input(len(pkgDeps) + "package(s) will be merged, would you like to proceed ?" + " " + str(pkgDeps) + " " + "[y/N]" + " ").lower().strip()[:1] == "y": + if input(str(len(pkgDeps)) + " " + "package(s) will be merged, would you like to proceed ?" + " " + str(pkgDeps) + " " + "[y/N]" + " ").lower().strip()[:1] == "y": for index, url in enumerate([binhostURL + package + '.tbz2' for package in pkgDeps]): print(">>> Fetching" + " " + url) wget.download(url) @@ -260,7 +260,7 @@ def startUpgrade(): worldBins = [] if not len(worldDeps) == 0: - if input(len(worldDeps) + "package(s) will be merged, would you like to proceed ?" + " " + str(worldDeps) + " " + "[y/N]" + " ").lower().strip()[:1] == "y": + if input(str(len(worldDeps)) + " " + "package(s) will be merged, would you like to proceed ?" + " " + str(worldDeps) + " " + "[y/N]" + " ").lower().strip()[:1] == "y": for index, url in enumerate([binhostURL + package + '.tbz2' for package in worldDeps]): print(">>> Fetching" + " " + url) wget.download(url) |