#99 "fedpkg lint" fails with NameError
Closed: Fixed None Opened 13 years ago by ndim.

Running fedpkg lint in version 0.5.2.0:

{{{
$ /usr/bin/fedpkg lint
Traceback (most recent call last):
File "/usr/bin/fedpkg", line 1250, in <module>
args.command(args)
File "/usr/bin/fedpkg", line 559, in lint
return mymodule.lint(info)
NameError: global name 'info' is not defined
$
}}}

Looking at the source, it turns out the info variable is indeed not defined anywhere.


Oops, I fixed this before I saw that you had a patch here, sorry :(

Thanks though, your fix is exactly what I did. I've pushed it to master, so it'll be in the next build.

Login to comment on this ticket.

Metadata