summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
cb45554)
These are integers and need to be compared with integers.
return
# Handle error codes.
return
# Handle error codes.
- if response.code == "403":
+ if response.code == 403:
raise DDNSAuthenticationError
raise DDNSAuthenticationError
- elif response.code == "400":
+ elif response.code == 400:
raise DDNSRequestError
# If we got here, some other update error happened.
raise DDNSRequestError
# If we got here, some other update error happened.