From 257264743154b975bc156f425217593be14727a9 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Wed, 19 Nov 2014 12:16:44 +0100 Subject: Applied autopep8 Commandline was autopep8 -j 8 --max-line-length 120 --in-place --recursive --exclude "*gitdb*,*async*" git/ --- git/refs/reference.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'git/refs/reference.py') diff --git a/git/refs/reference.py b/git/refs/reference.py index 72494e0a..f71ded72 100644 --- a/git/refs/reference.py +++ b/git/refs/reference.py @@ -1,13 +1,13 @@ from symbolic import SymbolicReference from git.util import ( - LazyMixin, - Iterable, - ) + LazyMixin, + Iterable, +) from gitdb.util import ( - isfile, - hex_to_bin - ) + isfile, + hex_to_bin +) __all__ = ["Reference"] @@ -21,7 +21,7 @@ def require_remote_ref_path(func): if not self.is_remote(): raise ValueError("ref path does not point to a remote reference: %s" % self.path) return func(self, *args) - #END wrapper + # END wrapper wrapper.__name__ = func.__name__ return wrapper #}END utilites @@ -61,8 +61,8 @@ class Reference(SymbolicReference, LazyMixin, Iterable): head = self.repo.head if not head.is_detached and head.ref == self: oldbinsha = self.commit.binsha - #END handle commit retrieval - #END handle message is set + # END handle commit retrieval + # END handle message is set super(Reference, self).set_object(object, logmsg) @@ -80,7 +80,7 @@ class Reference(SymbolicReference, LazyMixin, Iterable): # * scenarios (even 100% of the default ones). # */ self.repo.head.log_append(oldbinsha, logmsg) - #END check if the head + # END check if the head # NOTE: Don't have to overwrite properties as the will only work without a the log -- cgit v1.2.1