diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2011-05-06 18:53:59 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2011-05-06 18:53:59 +0200 |
commit | 7ae36c3e019a5cc16924d1b6007774bfb625036f (patch) | |
tree | 52ad2a3cd8187c42a3a02d6b08dda9493a23042b /git/db/py | |
parent | acf5e6ea64a2f24117f1d419c208ed1c38c43690 (diff) | |
download | gitpython-7ae36c3e019a5cc16924d1b6007774bfb625036f.tar.gz |
Started to fix imports - tests still have no chance to work as database changed drastically. Now the actual work begins
Diffstat (limited to 'git/db/py')
-rw-r--r-- | git/db/py/__init__.py | 9 | ||||
-rw-r--r-- | git/db/py/base.py | 1 | ||||
-rw-r--r-- | git/db/py/complex.py (renamed from git/db/py/git.py) | 0 | ||||
-rw-r--r-- | git/db/py/mem.py | 3 | ||||
-rw-r--r-- | git/db/py/ref.py | 2 | ||||
-rw-r--r-- | git/db/py/resolve.py | 4 |
6 files changed, 5 insertions, 14 deletions
diff --git a/git/db/py/__init__.py b/git/db/py/__init__.py index 046c699d..73cc2bdf 100644 --- a/git/db/py/__init__.py +++ b/git/db/py/__init__.py @@ -3,11 +3,4 @@ # This module is part of GitDB and is released under # the New BSD License: http://www.opensource.org/licenses/bsd-license.php -from base import * -from loose import * -from mem import * -from pack import * -from git import * -from ref import * -from resolve import * -from transport import * +from complex import * diff --git a/git/db/py/base.py b/git/db/py/base.py index 28bbf258..5c470ba4 100644 --- a/git/db/py/base.py +++ b/git/db/py/base.py @@ -3,7 +3,6 @@ # This module is part of GitDB and is released under # the New BSD License: http://www.opensource.org/licenses/bsd-license.php """Contains basic implementations for the interface building blocks""" - from git.db.interface import * from git.util import ( diff --git a/git/db/py/git.py b/git/db/py/complex.py index 1f929e31..1f929e31 100644 --- a/git/db/py/git.py +++ b/git/db/py/complex.py diff --git a/git/db/py/mem.py b/git/db/py/mem.py index 5851aebc..da02dbdd 100644 --- a/git/db/py/mem.py +++ b/git/db/py/mem.py @@ -3,12 +3,11 @@ # This module is part of GitDB and is released under # the New BSD License: http://www.opensource.org/licenses/bsd-license.php """Contains the MemoryDatabase implementation""" -from loose import PureLooseObjectODB from base import ( PureObjectDBR, PureObjectDBW ) - +from loose import PureLooseObjectODB from git.base import ( OStream, IStream, diff --git a/git/db/py/ref.py b/git/db/py/ref.py index 951f0437..94887fb8 100644 --- a/git/db/py/ref.py +++ b/git/db/py/ref.py @@ -31,7 +31,7 @@ class PureReferenceDB(PureCompoundDB): dbcls = self.ObjectDBCls if dbcls is None: # late import - from git import PureGitODB + from complex import PureGitODB # TODO: This should be a configurable for flexibility dbcls = PureGitODB # END get db type diff --git a/git/db/py/resolve.py b/git/db/py/resolve.py index 7c03bcd1..9cce8efe 100644 --- a/git/db/py/resolve.py +++ b/git/db/py/resolve.py @@ -3,8 +3,8 @@ version assuming compatible interface for reference and object types""" from git.db.interface import ReferencesMixin from git.exc import BadObject -from git.ref import SymbolicReference -from git.object.base import Object +from git.refs import SymbolicReference +from git.objects.base import Object from git.util import ( join, isdir, |