From c80d727e374321573bb00e23876a67c77ff466e3 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 4 Jan 2015 13:48:29 +0100 Subject: Bumped version, updated changelog, reduced code smell There is more work to do though, as many imports are still incorrect. Also, there are still print statements --- git/refs/__init__.py | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'git/refs/__init__.py') diff --git a/git/refs/__init__.py b/git/refs/__init__.py index 3123b991..0281121a 100644 --- a/git/refs/__init__.py +++ b/git/refs/__init__.py @@ -1,21 +1,22 @@ +from __future__ import absolute_import # import all modules in order, fix the names they require -from symbolic import * -from reference import * -from head import * -from tag import * -from remote import * +from .symbolic import * +from .reference import * +from .head import * +from .tag import * +from .remote import * # name fixes -import head +from . import head head.RemoteReference = RemoteReference del(head) -import symbolic +from . import symbolic for item in (HEAD, Head, RemoteReference, TagReference, Reference, SymbolicReference): setattr(symbolic, item.__name__, item) del(symbolic) -from log import * +from .log import * -- cgit v1.2.3