From 70574bd1132db57adfa610046507a223f3e5fe95 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Fri, 15 Mar 2013 08:12:26 +0100 Subject: Removed useless variable declaration --- source/pyAggr3g470r.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py index f72729eb..98e011a1 100755 --- a/source/pyAggr3g470r.py +++ b/source/pyAggr3g470r.py @@ -578,9 +578,8 @@ class pyAggr3g470r(object): result = auth.change_username(self.auth.username, new_username) if result: self.auth.username = new_username - message = "

Your username has been changed.

" tmpl = lookup.get_template("confirmation.html") - return tmpl.render(message=message) + return tmpl.render(message="

Your username has been changed.

") else: return self.error("

Impossible to change the username.

") @@ -593,9 +592,8 @@ class pyAggr3g470r(object): """ result = auth.change_password(self.auth.username, new_password) if result: - message = "

Your password has been changed.

" tmpl = lookup.get_template("confirmation.html") - return tmpl.render(message=message) + return tmpl.render(message="

Your password has been changed.

") else: return self.error("

Impossible to change the password.

") -- cgit