Skip to content

Commit c11e92d

Browse files
authored
Merge 1b8ed5b into ed6b926
2 parents ed6b926 + 1b8ed5b commit c11e92d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drmaa/helpers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@ def adapt_rusage(rusage):
238238
"""
239239
rv = dict()
240240
for attr in attributes_iterator(rusage.contents):
241-
241+
if attr == '':
242+
continue
242243
k, v = attr.split('=',1)
243244
rv[k] = v
244245
return rv

0 commit comments

Comments
 (0)