use new style Exception raising without the 'comma' syntax
This commit is contained in:
parent
96bf1052a1
commit
2e7c8b8e47
|
@ -57,4 +57,4 @@ class Content(Object):
|
|||
value = None
|
||||
setattr(self, name, value)
|
||||
return value
|
||||
raise AttributeError, "Content has no attribute %s" % (name,)
|
||||
raise AttributeError("Content has no attribute %s" % (name,))
|
||||
|
|
Loading…
Reference in New Issue