Commits

Dobrosław Żybort committed 3ce87c7

Fix: pep8 E251 no spaces around keyword / parameter equals (not in setup.py)

Comments (0)

Files changed (3)

lazygal/generators.py

             logging.info(_("  MKDIR %%WEBALBUMROOT%%/%s")
                          % self.source_dir.strip_root())
             logging.debug("(%s)" % self.path)
-            os.makedirs(self.path, mode = 0755)
+            os.makedirs(self.path, mode=0755)
             # Directory did not exist, mark it as so
             self.stamp_delete()
 
         if not os.path.isdir(self.path):
             logging.info(_("MKDIR %SHAREDDIR%"))
             logging.debug("(%s)" % self.path)
-            os.makedirs(self.path, mode = 0755)
+            os.makedirs(self.path, mode=0755)
 
         super(SharedFiles, self).__init__(self.path)
 

lazygal/metadata.py

                 if os.path.isfile(file_md_path):
                     self.add_file_dependency(file_md_path)
 
-    def get_matew_metadata(self, metadata, subdir = None):
+    def get_matew_metadata(self, metadata, subdir=None):
         """
         Return dictionary with meta data parsed from Matew like format.
         """

lazygaltest/__init__.py

         module_path = '.'.join(['lazygaltest', os.path.basename(fn[:-3])])
         m = my_import(module_path)
         suitelist.append(unittest.defaultTestLoader.loadTestsFromModule(m))
-    runner = unittest.TextTestRunner(verbosity = 2)
+    runner = unittest.TextTestRunner(verbosity=2)
     runner.run(unittest.TestSuite(suitelist))