parent
688c66dda1
commit
b81839bf1a
|
@ -14,7 +14,7 @@ class CSRElements:
|
||||||
return self.__dict__[attr]
|
return self.__dict__[attr]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
raise KeyError("No such element " + attr)
|
raise AttributeError("No such element " + attr)
|
||||||
|
|
||||||
|
|
||||||
class CSRRegister:
|
class CSRRegister:
|
||||||
|
|
Loading…
Reference in New Issue