From 1de8af907dbced4fde64ee2c7f57527fc43ad1cc Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 4 Jan 2015 16:07:02 +0100 Subject: Removed unnecessary (non-gitpython) tests and fixed flake8 --- git/refs/__init__.py | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'git/refs/__init__.py') diff --git a/git/refs/__init__.py b/git/refs/__init__.py index 0281121a..ded8b1f7 100644 --- a/git/refs/__init__.py +++ b/git/refs/__init__.py @@ -1,4 +1,4 @@ - +# flake8: noqa from __future__ import absolute_import # import all modules in order, fix the names they require from .symbolic import * @@ -7,16 +7,4 @@ from .head import * from .tag import * from .remote import * -# name fixes -from . import head -head.RemoteReference = RemoteReference -del(head) - - -from . import symbolic -for item in (HEAD, Head, RemoteReference, TagReference, Reference, SymbolicReference): - setattr(symbolic, item.__name__, item) -del(symbolic) - - from .log import * -- cgit v1.2.1