From fca985c09e11c581b61b9edcae19673e3112093a Mon Sep 17 00:00:00 2001 From: Donagh McCabe Date: Thu, 4 Jul 2013 11:47:33 +0100 Subject: [PATCH] Fix auth_token.py bad signing_dir log message Fixes bug 1197755 Change-Id: I16152518c354821af6790a6e459f1d8ec09139a0 --- keystoneclient/middleware/auth_token.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keystoneclient/middleware/auth_token.py b/keystoneclient/middleware/auth_token.py index 1b82cfa96..6537a6778 100644 --- a/keystoneclient/middleware/auth_token.py +++ b/keystoneclient/middleware/auth_token.py @@ -305,7 +305,7 @@ class AuthProtocol(object): 'unable to access signing_dir %s' % self.signing_dirname) if os.stat(self.signing_dirname).st_uid != os.getuid(): self.LOG.warning( - 'signing_dir is not owned by %s' % os.getlogin()) + 'signing_dir is not owned by %s' % os.getuid()) current_mode = stat.S_IMODE(os.stat(self.signing_dirname).st_mode) if current_mode != stat.S_IRWXU: self.LOG.warning(