pylint: fix trailing-comma-tuple warning

Change-Id: I72fa6cacef70e80f95b76e2aa3cefbffad73edb5
This commit is contained in:
Akihiro Motoki 2018-12-02 06:27:29 +09:00
parent 3143edef01
commit 786fb183e8
3 changed files with 2 additions and 3 deletions

View File

@ -81,7 +81,6 @@ disable=
too-many-nested-blocks,
too-many-return-statements,
too-many-statements,
trailing-comma-tuple,
useless-object-inheritance
[Basic]

View File

@ -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}")

View File

@ -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() \