From a5e4638f3677b74d2c8cfede0c06561337167d29 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Feb 28 2015 18:11:55 +0000 Subject: pep8 fixes on the progit_hook_tickets file --- diff --git a/progit/hooks/files/progit_hook_tickets.py b/progit/hooks/files/progit_hook_tickets.py index 47655b0..8697523 100644 --- a/progit/hooks/files/progit_hook_tickets.py +++ b/progit/hooks/files/progit_hook_tickets.py @@ -58,8 +58,7 @@ def get_files_to_load(new_commits_list): for line in read_git_lines( ['show', '--pretty="format:"', '--name-only', '-r'] + new_commits_list, - keepends=False, - ): + keepends=False,): if line.strip(): file_list.append(line.strip()) @@ -70,7 +69,7 @@ def get_commits_id(fromrev, torev): ''' Retrieve the list commit between two revisions and return the list of their identifier. ''' - cmd = ['rev-list', '%s...%s' %(torev, fromrev)] + cmd = ['rev-list', '%s...%s' % (torev, fromrev)] return read_git_lines(cmd)