X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FResetPassword.py;h=8e9da53a2a40cbede83721d8a301f7b114b2e450;hb=e70e20fdbececafef842ec7b330fd48db42e614e;hp=967f21f2fb927837e43b18cdf2e9c5f77a333f47;hpb=bd0cbf4f7f2e4cf7ceda500bfa6f98c0a700018b;p=plcapi.git diff --git a/PLC/Methods/ResetPassword.py b/PLC/Methods/ResetPassword.py index 967f21f..8e9da53 100644 --- a/PLC/Methods/ResetPassword.py +++ b/PLC/Methods/ResetPassword.py @@ -5,7 +5,7 @@ import urllib from types import StringTypes -from PLC.Debug import log +from PLC.Logger import logger from PLC.Faults import * from PLC.Method import Method from PLC.Parameter import Parameter, Mixed @@ -119,7 +119,7 @@ class ResetPassword(Method): Subject = message['subject'] % params, Body = message['template'] % params) else: - print >> log, "Warning: No message template '%s'" % message_id + logger.warning("No message template '%s'" % message_id) # Logging variables self.event_objects = {'Person': [person['person_id']]}