summaryrefslogtreecommitdiffstats
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
parent42c378d04244cfc94bf26068a49ed1d865cd72fb (diff)
downloadportage-b90958dc79435e73291a894e61a7e7fcb0d0cb96.tar.gz
portage-b90958dc79435e73291a894e61a7e7fcb0d0cb96.tar.bz2
portage-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 d192b75b4..681fb8d0f 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)