Commits

Anonymous committed 474cbf3

Whitespace

Comments (0)

Files changed (1)

nose/plugins/manager.py

 except:
     from StringIO import StringIO
 
-    
+
 __all__ = ['DefaultPluginManager', 'PluginManager', 'EntryPointPluginManager',
            'BuiltinPluginManager', 'RestrictedPluginManager']
 
     def __getattr__(self, val):
         return getattr(self.plugin, val)
 
-            
+
 class EntryPointPluginManager(PluginManager):
     """Plugin manager that loads plugins from the `nose.plugins` and
     `nose.plugins.0.10` entry points.
     """
     entry_points = (('nose.plugins.0.10', None),
                     ('nose.plugins', ZeroNinePlugin))
-    
+
     def loadPlugins(self):
         """Load plugins by iterating the `nose.plugins` entry point.
         """
         from nose.plugins import builtin
         for plug in builtin.plugins:
             self.addPlugin(plug())
-        
+
 try:
     import pkg_resources
     class DefaultPluginManager(BuiltinPluginManager, EntryPointPluginManager):
         self.exclude = exclude
         self.excluded = []
         self._excludedOpts = None
-        
+
     def excludedOption(self, name):
         if self._excludedOpts is None:
             from optparse import OptionParser
             for plugin in self.excluded:
                 plugin.options(self._excludedOpts, env={})
         return self._excludedOpts.get_option('--' + name)
-        
+
     def loadPlugins(self):
         if self.load:
             DefaultPluginManager.loadPlugins(self)
             if ok:
                 allow.append(plugin)
         self.plugins = allow
-
-    
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.