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