misc: fix unnamed arguments in format strings
This commit is contained in:
parent
40935cbc5e
commit
24beb81688
5 changed files with 14 additions and 14 deletions
|
|
@ -473,8 +473,8 @@ class Params(object):
|
|||
return None
|
||||
|
||||
if not self.checkSecurityLimit(node[1], security_limit):
|
||||
warning(_("Trying to get parameter '%s' in category '%s' without authorization!!!"
|
||||
% (name, category)))
|
||||
warning(_("Trying to get parameter '%(param)s' in category '%(cat)s' without authorization!!!"
|
||||
% {'param': name, 'cat': category}))
|
||||
return None
|
||||
|
||||
if node[0] == GENERAL:
|
||||
|
|
@ -720,8 +720,8 @@ class Params(object):
|
|||
return
|
||||
|
||||
if not self.checkSecurityLimit(node[1], security_limit):
|
||||
warning(_("Trying to set parameter '%s' in category '%s' without authorization!!!"
|
||||
% (name, category)))
|
||||
warning(_("Trying to set parameter '%(param)s' in category '%(cat)s' without authorization!!!"
|
||||
% {'param': name, 'cat': category}))
|
||||
return
|
||||
|
||||
if node[0] == GENERAL:
|
||||
|
|
|
|||
Loading…
Reference in a new issue