Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 256103
Collapse All | Expand All

(-)glsa-check.1 (-1 / +1 lines)
Lines 12-18 Link Here
12
This tool is used to locally monitor and manage Gentoo Linux Security Advisories.
12
This tool is used to locally monitor and manage Gentoo Linux Security Advisories.
13
Please read:
13
Please read:
14
.br 
14
.br 
15
http://www.gentoo.org/proj/en/portage/glsa\-integration.xml
15
http://www.gentoo.org/security
16
.br 
16
.br 
17
before reporting a bug.
17
before reporting a bug.
18
.LP
18
.LP
(-)glsa-check (-2 / +2 lines)
Lines 328-339 Link Here
328
	# color doesn't make any sense for mail
328
	# color doesn't make any sense for mail
329
	nocolor()
329
	nocolor()
330
330
331
	if glsaconfig.has_key("PORTAGE_ELOG_MAILURI"):
331
	if "PORTAGE_ELOG_MAILURI" in glsaconfig:
332
		myrecipient = glsaconfig["PORTAGE_ELOG_MAILURI"].split()[0]
332
		myrecipient = glsaconfig["PORTAGE_ELOG_MAILURI"].split()[0]
333
	else:
333
	else:
334
		myrecipient = "root@localhost"
334
		myrecipient = "root@localhost"
335
	
335
	
336
	if glsaconfig.has_key("PORTAGE_ELOG_MAILFROM"):
336
	if "PORTAGE_ELOG_MAILFROM" in glsaconfig:
337
		myfrom = glsaconfig["PORTAGE_ELOG_MAILFROM"]
337
		myfrom = glsaconfig["PORTAGE_ELOG_MAILFROM"]
338
	else:
338
	else:
339
		myfrom = "glsa-check"
339
		myfrom = "glsa-check"
(-)glsa.py (-1 / +1 lines)
Lines 510-516 Link Here
510
		self.packages = {}
510
		self.packages = {}
511
		for p in self.affected.getElementsByTagName("package"):
511
		for p in self.affected.getElementsByTagName("package"):
512
			name = p.getAttribute("name")
512
			name = p.getAttribute("name")
513
			if not self.packages.has_key(name):
513
			if not name in self.packages:
514
				self.packages[name] = []
514
				self.packages[name] = []
515
			tmp = {}
515
			tmp = {}
516
			tmp["arch"] = p.getAttribute("arch")
516
			tmp["arch"] = p.getAttribute("arch")

Return to bug 256103