[diffoscope] 01/01: diffoscope.main: Drop unnecessary "as p"

Chris Lamb chris at chris-lamb.co.uk
Mon Jan 2 00:29:56 CET 2017


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository diffoscope.

commit b6f901f8ab6955cd07e51cb797b8442bf955bf28
Author: Chris Lamb <lamby at debian.org>
Date:   Sun Jan 1 22:45:10 2017 +0000

    diffoscope.main: Drop unnecessary "as p"
---
 diffoscope/main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diffoscope/main.py b/diffoscope/main.py
index 97369fe..a62fd94 100644
--- a/diffoscope/main.py
+++ b/diffoscope/main.py
@@ -247,7 +247,7 @@ def run_diffoscope(parsed_args):
         parsed_args.text_output = "-"
     logger.debug('Starting comparison')
     ProgressManager().setup(parsed_args)
-    with Progress(1, parsed_args.path1) as p:
+    with Progress(1, parsed_args.path1):
         difference = compare_root_paths(
             parsed_args.path1, parsed_args.path2)
     ProgressManager().finish()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list