From f37ac6158f1ea5dc0b0841e1458585c55198291a Mon Sep 17 00:00:00 2001 From: Rossen Georgiev Date: Sat, 18 Jun 2016 11:49:22 +0100 Subject: [PATCH] SA: add key name to AttributeError [ci skip] --- steam/guard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/steam/guard.py b/steam/guard.py index 6a78c6f..a5dd744 100644 --- a/steam/guard.py +++ b/steam/guard.py @@ -70,7 +70,7 @@ class SteamAuthenticator(object): def __getattr__(self, key): if key not in self.secrets: - raise AttributeError("No such attribute") + raise AttributeError("No %s attribute" % repr(key)) return self.secrets[key] def get_time(self):