#1 UnboundLocalError: local variable 'n' referenced before assi

open
nobody
None
5
2006-09-16
2006-09-16
Anonymous
No

Traceback (most recent call last):
File "./voteengine.py", line 20, in ?
votemain.vote_engine()
File "/tmp/voteengine-0.99/votemain.py", line 319, in
vote_engine
vote_main()
File "/tmp/voteengine-0.99/votemain.py", line 238, in
vote_main
get_options(re.split(r'\s+-',rawline[1:]),o)
File "/tmp/voteengine-0.99/votemain.py", line 203, in
get_options
if(len(o.tiebreaker)!=n):

Correction, line 203 :
if(len(o.tiebreaker)!=len(o.cand_l)):

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks