We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting the following message upon importing:
fatal: Not a git repository (or any of the parent directories): .git
Started ~ a month ago.
The text was updated successfully, but these errors were encountered:
@jewfro-cuban : Thanks! This is hopefully not affecting the package or import itself as all the exceptions are caught where this happens. I will swallow the error message though as they are annoying and should not happen.
Sorry, something went wrong.
So for the time being, if it bothers you and until I release a new version you can replace this line:
['git', 'describe'], cwd=os.path.dirname(__file__)).strip()
to
['git', 'describe'], cwd=os.path.dirname(__file__), stderr=subprocess.STDOUT).strip()
It should swallow any error in that block.
Great, Thanks.
Swallow errors on import time version detection if package is not liv…
316402f
…ing in a git repository. Closes #12.
No branches or pull requests
Getting the following message upon importing:
fatal: Not a git repository (or any of the parent directories): .git
Started ~ a month ago.
The text was updated successfully, but these errors were encountered: