pylint: fix trailing-comma-tuple warning
Change-Id: I72fa6cacef70e80f95b76e2aa3cefbffad73edb5
This commit is contained in:
parent
3143edef01
commit
786fb183e8
@ -81,7 +81,6 @@ disable=
|
||||
too-many-nested-blocks,
|
||||
too-many-return-statements,
|
||||
too-many-statements,
|
||||
trailing-comma-tuple,
|
||||
useless-object-inheritance
|
||||
|
||||
[Basic]
|
||||
|
@ -23,7 +23,7 @@ ZANATA_LOCALES_URL = ("https://translate.openstack.org/rest/project"
|
||||
DOMAINS = ['django', 'djangojs']
|
||||
MODULES = ['horizon', 'openstack_dashboard']
|
||||
PROJECT = 'horizon'
|
||||
BRANCH = 'master',
|
||||
BRANCH = 'master'
|
||||
POFILE = "{module}/locale/{locale}/LC_MESSAGES/{domain}.po"
|
||||
POFILE_URL = ("https://translate.openstack.org/rest/file/translation/{project}"
|
||||
"/{branch}/{language}/po?docId={module}%2Flocale%2F{domain}")
|
||||
|
@ -180,7 +180,7 @@ class DeleteTenantsAction(policy.PolicyTargetMixin, tables.DeleteAction):
|
||||
)
|
||||
|
||||
policy_rules = (("identity", "identity:delete_project"),)
|
||||
policy_target_attrs = ("target.project.domain_id", "domain_id"),
|
||||
policy_target_attrs = (("target.project.domain_id", "domain_id"),)
|
||||
|
||||
def allowed(self, request, project):
|
||||
if api.keystone.is_multi_domain_enabled() \
|
||||
|
Loading…
Reference in New Issue
Block a user