From e5afc3ede8057e678d0e89d8f1de657e400f06a7 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Tue, 21 Aug 2012 07:57:09 -0500 Subject: [PATCH] fixed cut and paste error, thanks Martin --- VERSION | 2 +- gluon/tools.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 5b6cacbb..3c6269ed 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.0 (2012-08-20 21:56:23) dev +Version 2.00.0 (2012-08-21 07:57:05) dev diff --git a/gluon/tools.py b/gluon/tools.py index 0a9d4b44..7ebeae8e 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -2641,8 +2641,7 @@ class Auth(object): return form def is_impersonating(self): - def is_impersonating(self): - return self.is_logged_in() and 'impersonator' in current.session.auth + return self.is_logged_in() and 'impersonator' in current.session.auth def impersonate(self, user_id=DEFAULT): """