diff piecrust/admin/scm/git.py @ 812:82509bce94ca

internal: PEP8 fixup for admin panel code.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 20 Dec 2016 22:20:18 -0800
parents 5e91bc0e3b4d
children
line wrap: on
line diff
--- a/piecrust/admin/scm/git.py	Mon Dec 19 22:31:30 2016 -0800
+++ b/piecrust/admin/scm/git.py	Tue Dec 20 22:20:18 2016 -0800
@@ -24,8 +24,8 @@
                 if path[-1] == '/':
                     import glob
                     res.new_files += [
-                            f for f in glob.glob(path + '**', recursive=True)
-                            if f[-1] != '/']
+                        f for f in glob.glob(path + '**', recursive=True)
+                        if f[-1] != '/']
                 else:
                     res.new_files.append(path)
             elif line.startswith(' M '):
@@ -56,7 +56,7 @@
 
         logger.debug("Running Git: " + str(exe))
         proc = subprocess.Popen(
-                exe, stdout=subprocess.PIPE, cwd=self.root_dir)
+            exe, stdout=subprocess.PIPE, cwd=self.root_dir)
         out, _ = proc.communicate()
 
         encoded_out = _s(out)