Improve formatting
authorPhilipp Hagemeister <phihag@phihag.de>
Tue, 2 Jul 2013 06:35:39 +0000 (08:35 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Tue, 2 Jul 2013 06:35:39 +0000 (08:35 +0200)
youtube_dl/__init__.py

index 7abe5225550e982bdca53e3eb8c516df44fa7381..d4a005f6244975945f447752b6494d0fb255cc7d 100644 (file)
@@ -582,8 +582,10 @@ def _real_main(argv=None):
     if opts.verbose:
         ydl.to_screen(u'[debug] youtube-dl version ' + __version__)
         try:
-            sp = subprocess.Popen(['git', 'rev-parse', '--short', 'HEAD'], stdout=subprocess.PIPE, stderr=subprocess.PIPE,
-                                  cwd=os.path.dirname(os.path.abspath(__file__)))
+            sp = subprocess.Popen(
+                ['git', 'rev-parse', '--short', 'HEAD'],
+                stdout=subprocess.PIPE, stderr=subprocess.PIPE,
+                cwd=os.path.dirname(os.path.abspath(__file__)))
             out, err = sp.communicate()
             out = out.decode().strip()
             if re.match('[0-9a-f]+', out):