From: Barış Metin Date: Tue, 16 Nov 2010 10:15:24 +0000 (+0100) Subject: fix another typo X-Git-Tag: plcapi-5.0-19~56^2~10 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=7632d269b1171daea9402e83b1057f9107769c3f;p=plcapi.git fix another typo --- diff --git a/PLC/Methods/UpdatePersonTag.py b/PLC/Methods/UpdatePersonTag.py index 780b06d..4162684 100644 --- a/PLC/Methods/UpdatePersonTag.py +++ b/PLC/Methods/UpdatePersonTag.py @@ -61,7 +61,7 @@ class UpdatePersonTag(Method): required_min_role = person_tag['min_role_id'] if required_min_role is not None and \ min(self.caller['role_ids']) > required_min_role: - raise PLCPermissionDenied, "Not allowed to modify the specified person setting, requires role %d",required_min_role + raise PLCPermissionDenied, "Not allowed to modify the specified person setting, requires role %d" % required_min_role person_tag['value'] = value person_tag.sync()