| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,17 +13,17 @@ | |||
| 13 | 13 | ||
| 14 | 14 | #{ Initialization | |
| 15 | 15 | def _init_externals(): | |
| 16 | - """Initialize external projects by putting them into the path""" | ||
| 17 | - ext_base = os.path.join(os.path.dirname(__file__), 'ext') | ||
| 18 | - for package in ('async', 'smmap'): | ||
| 19 | - sys.path.append(os.path.join(ext_base, package)) | ||
| 20 | - try: | ||
| 21 | - __import__(package) | ||
| 22 | - except ImportError: | ||
| 23 | - raise ImportError("%r could not be found in your PYTHONPATH" % package) | ||
| 24 | - #END verify import | ||
| 25 | - #END handle external import | ||
| 26 | - | ||
| 16 | + """Initialize external projects by putting them into the path""" | ||
| 17 | + ext_base = os.path.join(os.path.dirname(__file__), 'ext') | ||
| 18 | + for package in ('async', 'smmap'): | ||
| 19 | + sys.path.append(os.path.join(ext_base, package)) | ||
| 20 | + try: | ||
| 21 | + __import__(package) | ||
| 22 | + except ImportError: | ||
| 23 | + raise ImportError("%r could not be found in your PYTHONPATH" % package) | ||
| 24 | + #END verify import | ||
| 25 | + #END handle external import | ||
| 26 | + | ||
| 27 | 27 | #} END initialization | |
| 28 | 28 | ||
| 29 | 29 | ################# | |
@@ -43,14 +43,14 @@ def _init_externals(): | |||
| 43 | 43 | from git.index import * | |
| 44 | 44 | from git.repo import Repo | |
| 45 | 45 | from git.util import ( | |
| 46 | - LockFile, | ||
| 47 | - BlockingLockFile, | ||
| 48 | - Stats, | ||
| 49 | - Actor | ||
| 50 | - ) | ||
| 46 | + LockFile, | ||
| 47 | + BlockingLockFile, | ||
| 48 | + Stats, | ||
| 49 | + Actor | ||
| 50 | + ) | ||
| 51 | 51 | ||
| 52 | 52 | #} END imports | |
| 53 | 53 | ||
| 54 | 54 | __all__ = [ name for name, obj in locals().items() | |
| 55 | - if not (name.startswith('_') or inspect.ismodule(obj)) ] | ||
| 56 | - | ||
| 55 | + if not (name.startswith('_') or inspect.ismodule(obj)) ] | ||
| 56 | + | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments