summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-01-13 22:51:36 +0000
committerZac Medico <zmedico@gentoo.org>2007-01-13 22:51:36 +0000
commit42c378d04244cfc94bf26068a49ed1d865cd72fb (patch)
treed595d6a2717d9b2696c37bf230f552f47902326d
parentfix tabs with patch from Grobian and bug # 161911, fix developing a bit (diff)
downloadportage-multirepo-42c378d04244cfc94bf26068a49ed1d865cd72fb.tar.gz
portage-multirepo-42c378d04244cfc94bf26068a49ed1d865cd72fb.tar.bz2
portage-multirepo-42c378d04244cfc94bf26068a49ed1d865cd72fb.zip
Fix 'TypeError: not all arguments converted during string formatting'. Thanks to marienz.
svn path=/main/trunk/; revision=5634
-rw-r--r--pym/portage.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage.py b/pym/portage.py
index ee2dd5ef..d192b75b 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -980,8 +980,8 @@ class config:
def check_var_directory(varname, var):
if not os.path.isdir(var):
- writemsg("!!! Error: %s='%s' is not a directory. " + \
- "Please correct this.\n" % (var, varname),
+ writemsg(("!!! Error: %s='%s' is not a directory. " + \
+ "Please correct this.\n") % (var, varname),
noiselevel=-1)
raise portage_exception.DirectoryNotFound(var)