Skip to content

Commit edc16d6

Browse files
committed
Futurize pylint complements: whitespace in expressions
Signed-off-by: Yann Dirson <[email protected]>
1 parent 869fc72 commit edc16d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xcp/environ.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ def readInventory(root = '/'):
4747
try:
4848
fh = open(os.path.join(root, 'etc/xensource-inventory'))
4949

50-
for line in ( x for x in ( y.strip() for y in fh )
51-
if not x.startswith('#') ):
50+
for line in (x for x in (y.strip() for y in fh)
51+
if not x.startswith('#')):
5252

5353
vals = line.split('=', 1)
5454

0 commit comments

Comments
 (0)