summaryrefslogtreecommitdiff
path: root/git/repo/fun.py
diff options
context:
space:
mode:
authorAntoine Musso <hashar@free.fr>2014-11-16 21:09:47 +0100
committerAntoine Musso <hashar@free.fr>2014-11-16 21:09:47 +0100
commitc8e70749887370a99adeda972cc3503397b5f9a7 (patch)
tree38e1241fd6d756f783b6b56dc6628ac3ca41ed4f /git/repo/fun.py
parentbed3b0989730cdc3f513884325f1447eb378aaee (diff)
downloadgitpython-c8e70749887370a99adeda972cc3503397b5f9a7.tar.gz
pep8 linting (trailing whitespace)
W291 trailing whitespace
Diffstat (limited to 'git/repo/fun.py')
-rw-r--r--git/repo/fun.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/git/repo/fun.py b/git/repo/fun.py
index 1e131b0f..9dfc00ea 100644
--- a/git/repo/fun.py
+++ b/git/repo/fun.py
@@ -5,10 +5,10 @@ from git.refs import SymbolicReference
from git.objects import Object
from gitdb.util import (
join,
- isdir,
+ isdir,
isfile,
dirname,
- hex_to_bin,
+ hex_to_bin,
bin_to_hex
)
from string import digits
@@ -76,7 +76,7 @@ def name_to_object(repo, name, return_ref=False):
# END handle short shas
#END find sha if it matches
- # if we couldn't find an object for what seemed to be a short hexsha
+ # if we couldn't find an object for what seemed to be a short hexsha
# try to find it as reference anyway, it could be named 'aaa' for instance
if hexsha is None:
for base in ('%s', 'refs/%s', 'refs/tags/%s', 'refs/heads/%s', 'refs/remotes/%s', 'refs/remotes/%s/HEAD'):
@@ -184,7 +184,7 @@ def rev_parse(repo, rev):
raise ValueError("Missing closing brace to define type in %s" % rev)
output_type = rev[start + 1:end] # exclude brace
- # handle type
+ # handle type
if output_type == 'commit':
pass # default
elif output_type == 'tree':
@@ -252,7 +252,7 @@ def rev_parse(repo, rev):
# END number parse loop
# no explicit number given, 1 is the default
- # It could be 0 though
+ # It could be 0 though
if not found_digit:
num = 1
# END set default num