diff options
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__ = [] + + |
