+2007-02-26 Marius Mauch <genone@gentoo.org>
+ * glsa-check: Display access information in verbose list mode (bug 168482)
+
2007-01-10 Paul Varner <fuzzyray@gentoo.org>
* epkgmove: removed epkgmove command due to popular demand. (Bug
161360)
__program__ = "glsa-check"
__author__ = "Marius Mauch <genone@gentoo.org>"
-__version__ = "0.7"
+__version__ = "0.8"
optionmap = [
["-l", "--list", "list all unapplied GLSA"],
else:
status = "[U]"
color = green
- fd1.write(color(myglsa.nr) + " " + color(status) + " " + myglsa.title + " (")
+
+ if verbose:
+ access = ("[%-8s] " % myglsa.access)
+ else:
+ access=""
+
+ fd1.write(color(myglsa.nr) + " " + color(status) + " " + color(access) + myglsa.title + " (")
if not verbose:
for pkg in myglsa.packages.keys()[:3]:
fd1.write(" " + pkg + " ")