Do we have a possible undefined variable in `_version`?
Closed this issue · 2 comments
DrDomenicoMarson commented
I noticed in _version.py
we have at line 89 a variable dispcmd
that is not defined inside of the except
block, as it was defined inside the try
block. Should we just move line 77 up before the try
statement?
orbeckst commented
Don't bother, this file is auto-generated by versioneer. I can generate a newer version and see if it goes away.
orbeckst commented
Also, looking at the code, there's a high chance that dispcmd
is defined before the try-block fails.