Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 164631 - glsa-check: incorrect parameter parsing
Summary: glsa-check: incorrect parameter parsing
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2007-01-31 00:17 UTC by Jan Kundrát (RETIRED)
Modified: 2007-03-09 04:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Kundrát (RETIRED) gentoo-dev 2007-01-31 00:17:53 UTC
It shouldn't give traceback, regardless how invalid parameters I feed it with (app-portage/gentoolkit-0.2.2):

pstros ~ # glsa-check --info 200608-28
Traceback (most recent call last):
  File "/usr/bin/glsa-check", line 92, in ?
    if mode == "help":
NameError: name 'mode' is not defined
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2007-01-31 13:23:22 UTC
Fixed in trunk (this was only happening with --info due to a bogus argument in the getopt call).
Comment 2 David Watzke 2007-02-24 15:57:41 UTC
Fixed in gentoolkit-0.2.3, so please someone mark this FIXED.
Comment 3 Paul Varner (RETIRED) gentoo-dev 2007-03-09 04:30:05 UTC
Fixed in gentoolkit-0.2.3