Merge pull request #13 from mithro/master

Raise AttributeError.
This commit is contained in:
enjoy-digital 2016-12-23 11:38:49 +01:00 committed by GitHub
commit 5eef105328
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class CSRElements:
return self.__dict__[attr]
except KeyError:
pass
raise KeyError("No such element " + attr)
raise AttributeError("No such element " + attr)
class CSRRegister: