Fix reversed arguments.
authorZac Medico <zmedico@gentoo.org>
Sat, 13 Jan 2007 23:04:31 +0000 (23:04 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 13 Jan 2007 23:04:31 +0000 (23:04 -0000)
svn path=/main/trunk/; revision=5635

pym/portage.py

index d192b75b408b1d40a59e549ef4306fc2cb584986..681fb8d0f7fcdfded2a30878047ee0e3894a83ef 100644 (file)
@@ -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)