Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 128451 | Differences between
and this patch

Collapse All | Expand All

(-)bin/repoman (-5 / +9 lines)
Lines 1576-1586 Link Here
1576
		gpgcmd+= "--default-key "+repoman_settings["PORTAGE_GPG_KEY"]
1576
		gpgcmd+= "--default-key "+repoman_settings["PORTAGE_GPG_KEY"]
1577
		if repoman_settings.has_key("PORTAGE_GPG_DIR"):
1577
		if repoman_settings.has_key("PORTAGE_GPG_DIR"):
1578
			gpgcmd += " --homedir "+repoman_settings["PORTAGE_GPG_DIR"]
1578
			gpgcmd += " --homedir "+repoman_settings["PORTAGE_GPG_DIR"]
1579
		rValue = os.system(gpgcmd+" "+filename)
1579
		if "--pretend" in myoptions:
1580
		if rValue == 0:
1580
			print "("+gpgcmd+" "+filename+")"
1581
			os.rename(filename+".asc", filename)
1581
			rValue = 0
1582
		else:
1582
		else
1583
			print "!!! gpg exited with '" + str(rValue) + "' status"
1583
			rValue = os.system(gpgcmd+" "+filename)
1584
			if rValue == 0:
1585
				os.rename(filename+".asc", filename)
1586
			else:
1587
				print "!!! gpg exited with '" + str(rValue) + "' status"
1584
		return rValue
1588
		return rValue
1585
1589
1586
	if myheaders or myupdates or myremoved or mynew:
1590
	if myheaders or myupdates or myremoved or mynew:

Return to bug 128451