From f54546a9b857ae728033482f3c5c18c9ff3393c3 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 5 May 2011 15:59:11 +0200 Subject: Added async submodule, formerly required by gitdb (which is still a valid submodule just yet) --- .gitmodules | 3 +++ git/__init__.py | 6 +++--- git/ext/async | 1 + 3 files changed, 7 insertions(+), 3 deletions(-) create mode 160000 git/ext/async diff --git a/.gitmodules b/.gitmodules index 83a5207e..4a4d098d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -2,3 +2,6 @@ path = git/ext/gitdb url = git://github.com/gitpython-developers/gitdb.git branch = master +[submodule "git/ext/async"] + path = git/ext/async + url = git://github.com/gitpython-developers/async.git diff --git a/git/__init__.py b/git/__init__.py index 0658c330..29ce8dd8 100644 --- a/git/__init__.py +++ b/git/__init__.py @@ -14,12 +14,12 @@ __version__ = 'git' #{ Initialization def _init_externals(): """Initialize external projects by putting them into the path""" - sys.path.append(os.path.join(os.path.dirname(__file__), 'ext', 'gitdb')) + sys.path.append(os.path.join(os.path.dirname(__file__), 'ext', 'async')) try: - import gitdb + import async except ImportError: - raise ImportError("'gitdb' could not be found in your PYTHONPATH") + raise ImportError("'async' could not be found in your PYTHONPATH") #END verify import #} END initialization diff --git a/git/ext/async b/git/ext/async new file mode 160000 index 00000000..10310824 --- /dev/null +++ b/git/ext/async @@ -0,0 +1 @@ +Subproject commit 10310824c001deab8fea85b88ebda0696f964b3e -- cgit v1.2.3