You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If one uses <pre class='propdef'> twice with the same property name for Name: twice, bikeshed crashes with:
Traceback (most recent call last):
File "/Users/dschulze/Downloads/bikeshed/bikeshed.py", line 1557, in
main()
File "/Users/dschulze/Downloads/bikeshed/bikeshed.py", line 103, in main
config.doc.preprocess()
File "/Users/dschulze/Downloads/bikeshed/bikeshed.py", line 1161, in preprocess
processAutolinks(self)
File "/Users/dschulze/Downloads/bikeshed/bikeshed.py", line 884, in processAutolinks
error=(text not in doc.ignoredTerms))
File "/Users/dschulze/Downloads/bikeshed/lib/ReferenceManager.py", line 116, in getRef
refs[0]['type'],
UnboundLocalError: local variable 'refs' referenced before assignment
The text was updated successfully, but these errors were encountered:
Fixed - copypaste error from when I moved some code around. This should have died at an earlier point, though, when it detected the duplicate propdef. I'll have to look into that separately.
If one uses
<pre class='propdef'>
twice with the same property name forName:
twice, bikeshed crashes with:Traceback (most recent call last):
File "/Users/dschulze/Downloads/bikeshed/bikeshed.py", line 1557, in
main()
File "/Users/dschulze/Downloads/bikeshed/bikeshed.py", line 103, in main
config.doc.preprocess()
File "/Users/dschulze/Downloads/bikeshed/bikeshed.py", line 1161, in preprocess
processAutolinks(self)
File "/Users/dschulze/Downloads/bikeshed/bikeshed.py", line 884, in processAutolinks
error=(text not in doc.ignoredTerms))
File "/Users/dschulze/Downloads/bikeshed/lib/ReferenceManager.py", line 116, in getRef
refs[0]['type'],
UnboundLocalError: local variable 'refs' referenced before assignment
The text was updated successfully, but these errors were encountered: