Code style fixes
autopep8 -ir -j2 --select=W601,W602 . Diff checked manually.
This commit is contained in:
parent
f0abb61123
commit
75b428af07
2 changed files with 15 additions and 15 deletions
|
|
@ -364,8 +364,8 @@ class CapBaseObject(object):
|
|||
if self._fields is not None and name in self._fields:
|
||||
return self._fields[name].value
|
||||
else:
|
||||
raise AttributeError, "'%s' object has no attribute '%s'" % (
|
||||
self.__class__.__name__, name)
|
||||
raise AttributeError("'%s' object has no attribute '%s'" % (
|
||||
self.__class__.__name__, name))
|
||||
|
||||
def __setattr__(self, name, value):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue