VCS/__init__.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1509
c0b5e693b0eb
--- a/VCS/__init__.py	Fri Mar 11 08:55:14 2011 +0100
+++ b/VCS/__init__.py	Fri Mar 11 16:51:57 2011 +0100
@@ -8,7 +8,7 @@
 
 The general part of the VCS interface defines classes to implement common
 dialogs. These are a dialog to enter command options, a dialog to display
-some repository information and an abstract base class. The individual 
+some repository information and an abstract base class. The individual
 interfaces (i.e. CVS) have to be subclasses of this base class.
 """
 
@@ -19,6 +19,7 @@
 ## vcs object depending on the project settings.
 ######################################################################
 
+
 def factory(vcs):
     """
     Modul factory function to generate the right vcs object.
@@ -31,7 +32,7 @@
         # that should not happen
         vc = None
     
-    vc = pluginManager.getPluginObject("version_control", vcs, maybeActive = True)
+    vc = pluginManager.getPluginObject("version_control", vcs, maybeActive=True)
     if vc is None:
         # try alternative vcs interfaces assuming, that there is a common
         # indicator for the alternatives
@@ -47,7 +48,7 @@
                     for vcsSystem, vcsSystemDisplay in vcsData:
                         if vcsSystem != vcs:
                             vc = pluginManager.getPluginObject(
-                                "version_control", vcsSystem, maybeActive = True)
+                                "version_control", vcsSystem, maybeActive=True)
                             if vc is not None:
                                 break
                 break

eric ide

mercurial