yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #45219
[Bug 1536878] [NEW] Fix codes with the annotation "FIXME"
Public bug reported:
openstack/horizon /
openstack_dashboard/dashboards/identity/projects/tables.py
class TenantFilterAction(tables.FilterAction):
def filter(self, table, tenants, filter_string):
"""Really naive case-insensitive search."""
# FIXME(gabriel): This should be smarter. Written for demo purposes.
q = filter_string.lower()
def comp(tenant):
if q in tenant.name.lower():
return True
return False
return filter(comp, tenants)
** Affects: horizon
Importance: Undecided
Assignee: Wang Bo (chestack)
Status: New
** Changed in: horizon
Assignee: (unassigned) => Wang Bo (chestack)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1536878
Title:
Fix codes with the annotation "FIXME"
Status in OpenStack Dashboard (Horizon):
New
Bug description:
openstack/horizon /
openstack_dashboard/dashboards/identity/projects/tables.py
class TenantFilterAction(tables.FilterAction):
def filter(self, table, tenants, filter_string):
"""Really naive case-insensitive search."""
# FIXME(gabriel): This should be smarter. Written for demo purposes.
q = filter_string.lower()
def comp(tenant):
if q in tenant.name.lower():
return True
return False
return filter(comp, tenants)
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1536878/+subscriptions
Follow ups