summaryrefslogtreecommitdiffstats
path: root/bin/glsa-check
Commit message (Collapse)AuthorAgeFilesLines
* Add back executable bits, accidentally removed in previous commit.Zac Medico2010-03-241-0/+0
|
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Use cpv_getkey() instead of dep_getkey() where appropriate.Zac Medico2010-02-091-3/+3
| | | | svn path=/main/trunk/; revision=15329
* Replace doct.keys() usage with __iter__(), since it behaves identically inZac Medico2009-09-221-2/+2
| | | | | | both python 2.x and 3.x. svn path=/main/trunk/; revision=14379
* Use dict.(keys|values|items)() instead of ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-1/+1
| | | | | | | | dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327
* Update system imports for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-1/+1
| | | | svn path=/main/trunk/; revision=14294
* Support print() function with Python 2 in some files.Arfrever Frehtes Taifersar Arahesis2009-09-201-0/+2
| | | | svn path=/main/trunk/; revision=14291
* Update syntax of 'except' statements for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-5/+5
| | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-111-1/+1
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13993
* Make glsa-check executable.Zac Medico2009-03-041-0/+0
| | | | svn path=/main/trunk/; revision=12748
* Fix headers that contain $Header instead of $Id.Zac Medico2009-02-231-3/+3
| | | | svn path=/main/trunk/; revision=12701
* Inside summarylist(), it's possible for myglsa.packages.keys() to containZac Medico2009-02-211-1/+1
| | | | | | | | | | | | | unicode objects, which trigger and exception like this: File "//usr/lib64/portage/pym/portage/dep.py", line 535, in __init__ obj_setattr(self, x, getattr(s, x)) AttributeError: 'unicode' object has no attribute '__eq__' To solve this problem, convert unicode objects to plain str before passing them to the portage api. svn path=/main/trunk/; revision=12667
* Bug #230483 - Convert glsa-check option parsing to use the optparse module.Zac Medico2009-02-191-93/+71
| | | | | | | This replaces some code which triggers a traceback from 2to3. Thanks to Ali Polatel <hawking@g.o> for this patch. svn path=/main/trunk/; revision=12634
* use summarylist for output of test mode when --verbose is given (patch by ↵Marius Mauch2008-09-281-5/+5
| | | | | | Robert Buchholz <rbu@gentoo.org>) svn path=/main/trunk/; revision=11592
* sort summarylist output (patch by Robert Buchholz <rbu@gentoo.org>)Marius Mauch2008-09-281-0/+1
| | | | svn path=/main/trunk/; revision=11591
* Py3k compatibility patch #5 by Ali Polatel <hawking@g.o>.Zac Medico2008-07-011-2/+2
| | | | | | Replace dict.has_key() calls with "in" and "not in" operators. svn path=/main/trunk/; revision=10874
* move checkfile parsing into its own functionMarius Mauch2007-11-091-5/+1
| | | | svn path=/main/trunk/; revision=8479
* Move glsa-check from gentoolkit into portage so the gentoolkit version can ↵Marius Mauch2007-11-091-0/+340
be removed after 2.2 is released svn path=/main/trunk/; revision=8478