Trivial typo fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
	Just spotted this little typo ... clearly, what was intended here was
to check YumBase.plugins rather than the module plugins.

Cheers,
Mark.
diff --git a/yum/__init__.py b/yum/__init__.py
index f7d6946..ace382c 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -296,7 +296,7 @@ class YumBase(depsolve.Depsolve):
             specified.
         @param disabled_plugins: Plugins to be disabled    
         '''
-        if isinstance(plugins, plugins.YumPlugins):
+        if isinstance(self.plugins, plugins.YumPlugins):
             raise RuntimeError("plugins already initialised")
 
         self.plugins = plugins.YumPlugins(self, searchpath, optparser,
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux