File tree Expand file tree Collapse file tree 3 files changed +14
-7
lines changed Expand file tree Collapse file tree 3 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 22 path = gitdb/ext/async
33 url = git://github.com/gitpython-developers/async.git
44 branch = master
5+ [submodule "smmap "]
6+ path = gitdb/ext/smmap
7+ url = git://github.com/Byron/smmap.git
8+ branch = master
Original file line number Diff line number Diff line change 1010#{ Initialization
1111def _init_externals ():
1212 """Initialize external projects by putting them into the path"""
13- sys .path .append (os .path .join (os .path .dirname (__file__ ), 'ext' , 'async' ))
14-
15- try :
16- import async
17- except ImportError :
18- raise ImportError ("'async' could not be imported, assure it is located in your PYTHONPATH" )
19- #END verify import
13+ for module in ('async' , 'smmap' ):
14+ sys .path .append (os .path .join (os .path .dirname (__file__ ), 'ext' , module ))
15+
16+ try :
17+ __import__ (module )
18+ except ImportError :
19+ raise ImportError ("'%s' could not be imported, assure it is located in your PYTHONPATH" % module )
20+ #END verify import
21+ #END handel imports
2022
2123#} END initialization
2224
You can’t perform that action at this time.
0 commit comments