diff options
| author | Sebastian Thiel <byronimo@gmail.com> | 2011-07-08 17:35:54 +0200 |
|---|---|---|
| committer | Sebastian Thiel <byronimo@gmail.com> | 2011-07-08 17:35:54 +0200 |
| commit | a84856911d05e9877ef46713c1d20bc02482665f (patch) | |
| tree | 3287cf74ceba287fd9403b6d4da89ad089789b74 /git/test/performance/db/test_looseodb_dulwich.py | |
| parent | 023dc1244c02d415bb964eeb0b51b257523897df (diff) | |
| parent | a5a0fa2d3befd21534de91e4e2013fbe885995c6 (diff) | |
| download | GitPython-a84856911d05e9877ef46713c1d20bc02482665f.tar.gz GitPython-a84856911d05e9877ef46713c1d20bc02482665f.zip | |
Merge branch 'pygit2'
Diffstat (limited to 'git/test/performance/db/test_looseodb_dulwich.py')
| -rw-r--r-- | git/test/performance/db/test_looseodb_dulwich.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/git/test/performance/db/test_looseodb_dulwich.py b/git/test/performance/db/test_looseodb_dulwich.py index cf27a528..e123ebf1 100644 --- a/git/test/performance/db/test_looseodb_dulwich.py +++ b/git/test/performance/db/test_looseodb_dulwich.py @@ -1,6 +1,13 @@ -from git.db.dulwich.complex import DulwichGitODB +try: + from git.db.dulwich.complex import DulwichGitODB +except ImportError: + from git.db.py.complex import PureGitODB as DulwichGitODB +#END handle import + +from git.test.db.dulwich.lib import DulwichRequiredMetaMixin from looseodb_impl import TestLooseDBWPerformanceBase class TestPureLooseDB(TestLooseDBWPerformanceBase): + __metaclass__ = DulwichRequiredMetaMixin LooseODBCls = DulwichGitODB |
