diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-12-07 18:58:28 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-12-07 18:58:28 +0000 |
commit | 2cdc01b14f5db5a8e95614815bc0813a20c6b433 (patch) | |
tree | 9b997755f96e9b6fb8dcbbad0b6c82f170f79921 | |
parent | a98b01e941f8538981029d3e604c27d27de9eabe (diff) | |
download | portage-2cdc01b14f5db5a8e95614815bc0813a20c6b433.tar.gz portage-2cdc01b14f5db5a8e95614815bc0813a20c6b433.tar.bz2 portage-2cdc01b14f5db5a8e95614815bc0813a20c6b433.zip |
Fix the 'TypeError: not all arguments converted during string formatting' for bug #157385.
svn path=/main/trunk/; revision=5203
-rw-r--r-- | pym/portage.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pym/portage.py b/pym/portage.py index 7ff156315..61bffdc96 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -2510,8 +2510,8 @@ def digestgen(myarchives, mysettings, overwrite=1, manifestonly=0, myportdb=None if os.path.basename(uri) == myfile: myuris.append(uri) if not fetch(myuris, mysettings): - writemsg("!!! File %s doesn't exist, can't update " + \ - "Manifest\n" % myfile, noiselevel=-1) + writemsg(("!!! File %s doesn't exist, can't update " + \ + "Manifest\n") % myfile, noiselevel=-1) return 0 writemsg_stdout(">>> Creating Manifest for %s\n" % mysettings["O"]) try: @@ -2520,8 +2520,8 @@ def digestgen(myarchives, mysettings, overwrite=1, manifestonly=0, myportdb=None assumeDistHashesAlways=( "assume-digests" in mysettings.features)) except portage_exception.FileNotFound, e: - writemsg("!!! File %s doesn't exist, can't update " + \ - "Manifest\n" % str(e), noiselevel=-1) + writemsg(("!!! File %s doesn't exist, can't update " + \ + "Manifest\n") % e, noiselevel=-1) return 0 mf.write(sign=False) if "assume-digests" not in mysettings.features: |