add conda recipe, update entrypoint
Merge request reports
Activity
Filter activity
added 1 commit
- 6b67078a - Updating version # from 2011.046 to 2018.180
@lloyd , this one has an error, infile is undefined. Should it be globalized?
Traceback (most recent call last): File "/Users/dthomas/anaconda/envs/python27/bin/refscrub", line 11, in <module> load_entry_point('refscrub==2018.180', 'console_scripts', 'refscrub')() File "/Users/dthomas/anaconda/envs/python27/lib/python2.7/site-packages/refscrub-2018.180-py2.7.egg/refscrub/refscrub.py", line 230, in main readfile(infile) File "/Users/dthomas/anaconda/envs/python27/lib/python2.7/site-packages/refscrub-2018.180-py2.7.egg/refscrub/refscrub.py", line 155, in readfile print summary() File "/Users/dthomas/anaconda/envs/python27/lib/python2.7/site-packages/refscrub-2018.180-py2.7.egg/refscrub/refscrub.py", line 193, in summary s = OFFSTRING % ( "OFFSET", infile.tell()) NameError: global name 'infile' is not defined
Edited by David Thomas-e looks like it uses the EXTRACT global variable. So EXTRACT and all the other globals would need to be updated... Though it's a better practice to not use globals and pass the variables as needed.
Edited by Derick Hesschanged milestone to %Initial Release
mentioned in commit 2f4fc2ca
Please register or sign in to reply