Skip to content

Commit 2c26c6a

Browse files
committed
graph: fix Pylint R1729 use a generator error
1 parent d7f6cbe commit 2c26c6a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/rift/graph.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,8 @@ def depends_on(self, node):
7373
# If dependencies are not defined in info.yaml, look at build requires
7474
# and produced subpackages found in spec file.
7575
return any(
76-
[
77-
build_require in node.subpackages
78-
for build_require in self.build_requires
79-
]
76+
build_require in node.subpackages
77+
for build_require in self.build_requires
8078
)
8179

8280
def required_subpackages(self, rdep):

0 commit comments

Comments
 (0)