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): """