Bug 673656

Summary: [abrt] fedpkg-0.5.2.0-2.fc14: fedpkg:559:lint:NameError: global name 'info' is not defined
Product: [Fedora] Fedora Reporter: Christian Krause <chkr>
Component: fedora-packagerAssignee: David Cantrell <dcantrell>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: dcantrell, dennis
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:2627235f
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-08 21:17:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace none

Description Christian Krause 2011-01-29 10:44:54 UTC
abrt version: 1.1.14
architecture: i686
cmdline: /usr/bin/python /usr/bin/fedpkg lint
component: fedora-packager
executable: /usr/bin/fedpkg
kernel: 2.6.35.10-74.fc14.i686.PAE
package: fedpkg-0.5.2.0-2.fc14
reason: fedpkg:559:lint:NameError: global name 'info' is not defined
release: Fedora release 14 (Laughlin)
time: 1296297137
uid: 500

backtrace
-----
fedpkg:559:lint:NameError: global name 'info' is not defined

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

Local variables in innermost frame:
mymodule: <pyfedpkg.PackageModule instance at 0x9ab96cc>
args: Namespace(command=<function lint at 0x9a6b95c>, info=False, path='/home/chkr/Projects/fedora/anki', q=False, user=None, v=False)

comment
-----
The issue seems to be already fixed in fedora-packager's git:

https://fedorahosted.org/fedora-packager/ticket/89

http://git.fedorahosted.org/git/?p=fedora-packager.git;a=commit;h=73430b437764d001adb05e1dc655cc347bf1a462

It would be great if a new package could be pushed out for F14. ;-)

How to reproduce
-----
1. just run "fedpkg lint"

Comment 1 Christian Krause 2011-01-29 10:44:57 UTC
Created attachment 475936 [details]
File: backtrace

Comment 2 Jesse Keating 2011-01-30 17:54:05 UTC
This has been fixed upstream and will be in the next update.