From bed3b0989730cdc3f513884325f1447eb378aaee Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Sun, 16 Nov 2014 21:06:57 +0100 Subject: pep8 linting (double spaces before comment) E261 at least two spaces before inline comment --- git/refs/symbolic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git/refs/symbolic.py') diff --git a/git/refs/symbolic.py b/git/refs/symbolic.py index 1115ac9c..4082e74a 100644 --- a/git/refs/symbolic.py +++ b/git/refs/symbolic.py @@ -403,7 +403,7 @@ class SymbolicReference(object): try: reader = open(pack_file_path, 'rb') except (OSError, IOError): - pass # it didnt exist at all + pass # it didnt exist at all else: new_lines = list() made_change = False @@ -553,7 +553,7 @@ class SymbolicReference(object): # walk loose refs # Currently we do not follow links for root, dirs, files in os.walk(join_path_native(repo.git_dir, common_path)): - if 'refs/' not in root: # skip non-refs subfolders + if 'refs/' not in root: # skip non-refs subfolders refs_id = [d for d in dirs if d == 'refs'] if refs_id: dirs[0:] = ['refs'] -- cgit v1.2.3