Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrobenolt committed Oct 25, 2015
1 parent 32770ad commit e4e947d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sentry/db/models/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,11 +292,11 @@ def bind_nodes(self, object_list, *node_names):

object_node_list = []
for name in node_names:
object_node_list.extend(
((i, getattr(i, name))
object_node_list.extend((
(i, getattr(i, name))
for i in object_list
if getattr(i, name).id)
)
if getattr(i, name).id
))

node_ids = [n.id for _, n in object_node_list]
if not node_ids:
Expand Down

0 comments on commit e4e947d

Please sign in to comment.