diff options
| author | Sebastian Thiel <byronimo@gmail.com> | 2011-07-06 22:11:48 +0200 |
|---|---|---|
| committer | Sebastian Thiel <byronimo@gmail.com> | 2011-07-06 22:11:48 +0200 |
| commit | 690828ce2e03ce32c5a66186c543d7c5050287e4 (patch) | |
| tree | 219b433c182db92d7c62c78bbca5253883be10b8 /git/db | |
| parent | 2baf8a493618463d2bb41b8e96c8304bf48e2c8a (diff) | |
| download | GitPython-690828ce2e03ce32c5a66186c543d7c5050287e4.tar.gz GitPython-690828ce2e03ce32c5a66186c543d7c5050287e4.zip | |
Added basis for initial dulwich integration. Many basic issues should surface while integrating this
Diffstat (limited to 'git/db')
| -rw-r--r-- | git/db/dulwich/__init__.py | 13 | ||||
| -rw-r--r-- | git/db/dulwich/base.py | 6 |
2 files changed, 19 insertions, 0 deletions
diff --git a/git/db/dulwich/__init__.py b/git/db/dulwich/__init__.py new file mode 100644 index 00000000..92d30941 --- /dev/null +++ b/git/db/dulwich/__init__.py @@ -0,0 +1,13 @@ +"""Dulwich module initialization""" + +def init_dulwich(): + """:raise ImportError: if dulwich is not present""" + try: + import dulwich + except ImportError: + raise ImportError("Could not find 'dulwich' in the PYTHONPATH - dulwich functionality is not available") + #END handle dulwich import + + + +init_dulwich() diff --git a/git/db/dulwich/base.py b/git/db/dulwich/base.py new file mode 100644 index 00000000..cd1d71c8 --- /dev/null +++ b/git/db/dulwich/base.py @@ -0,0 +1,6 @@ +"""Module with some basic database implementations""" + + +__all__ = [] + + |
