summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-01-13 23:04:31 +0000
committerZac Medico <zmedico@gentoo.org>2007-01-13 23:04:31 +0000
commitb90958dc79435e73291a894e61a7e7fcb0d0cb96 (patch)
treee8d9258163543f0227c9d16efffb2e4f56649ec0
parentFix 'TypeError: not all arguments converted during string formatting'. Thank... (diff)
downloadportage-multirepo-b90958dc79435e73291a894e61a7e7fcb0d0cb96.tar.gz
portage-multirepo-b90958dc79435e73291a894e61a7e7fcb0d0cb96.tar.bz2
portage-multirepo-b90958dc79435e73291a894e61a7e7fcb0d0cb96.zip
Fix reversed arguments.
svn path=/main/trunk/; revision=5635
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index d192b75b..681fb8d0 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -981,7 +981,7 @@ 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),
+ "Please correct this.\n") % (varname, var),
noiselevel=-1)
raise portage_exception.DirectoryNotFound(var)