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

Collapse All | Expand All

(-)portage_exception.py (-2 / +5 lines)
Lines 5-12 Link Here
5
5
6
class PortageException(Exception):
6
class PortageException(Exception):
7
	"""General superclass for portage exceptions"""
7
	"""General superclass for portage exceptions"""
8
	def __init__(self,value):
8
	def __init__(self,value = None ):
9
		self.value = value[:]
9
		if value:
10
			self.value = value[:]
11
		else:
12
			self.value = None
10
	def __str__(self):
13
	def __str__(self):
11
		return repr(self.value)
14
		return repr(self.value)
12
15

Return to bug 127573