Trivial typo fix

Mark McLoughlin <[email protected]>
Newsgroups gmane.linux.rpm.yum
Organization Red Hat Ltd. Registered Address: Red Hat Ltd, Brian O' Donnell and Partners, 62 Merrion Square, Dublin 2, Ireland. Registered in the Companies Registration Office, Parnell House, 14 Parnell Square, Dublin 1, Ireland, at No. 304873 Directors: Charlie Peters (USA), Michael Cunningham (USA), Matt Parson (USA), Brendan Lane
Message-ID <1188818400.19326.2.camel@blaa>
Hi,
	Just spotted this little typo ... clearly, what was intended here was
to check YumBase.plugins rather than the module plugins.

Cheers,
Mark.

_______________________________________________
Yum mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum
yum-plugins-typo.patch (text/x-patch, 521 B)
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,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.