Revision e90c5c7f devflow/autopkg.py
b/devflow/autopkg.py | ||
---|---|---|
154 | 154 |
# Load the repository |
155 | 155 |
try: |
156 | 156 |
original_repo = git.Repo(".") |
157 |
except git.git.InvalidGitRepositoryError:
|
|
157 |
except git.InvalidGitRepositoryError: |
|
158 | 158 |
raise RuntimeError(red("Current directory is not git repository.")) |
159 | 159 |
|
160 | 160 |
# Check that repository is clean |
Also available in: Unified diff