Commits

Anonymous committed 45c5aa2

Renamed __appinit__ to __appinit. Conforms to PEP8 naming conventions.

Comments (0)

Files changed (4)

subssh/app/vcs/git.py

 
 
 
-def __appinit__():
+def __appinit():
     if subssh.to_bool(config.MANAGER_TOOLS):
         manager = GitManager(config.REPOSITORIES, 
                              web_repos_path=config.WEB_DIR, 

subssh/app/vcs/hg.py

 
 
 
-def __appinit__():
+def __appinit():
     if subssh.to_bool(config.MANAGER_TOOLS):
         global hg_manager
         hg_manager = MercurialManager(config.REPOSITORIES, 

subssh/app/vcs/svn.py

 
 
 
-def __appinit__():
+def __appinit():
     if subssh.to_bool(config.MANAGER_TOOLS):
         manager = SubversionManager(config.REPOSITORIES, 
                                     web_repos_path=config.WEB_DIR,

subssh/appimporter.py

             setattr(imported.config, option, value)
     
     # Run init if app has one
-    if hasattr(imported, "__appinit__"):
-        imported.__appinit__()        
+    if hasattr(imported, "__appinit"):
+        imported.__appinit()        
 
     return imported