diff --git a/drmaa/helpers.py b/drmaa/helpers.py index 7ba0ff0..33d2420 100644 --- a/drmaa/helpers.py +++ b/drmaa/helpers.py @@ -238,7 +238,8 @@ def adapt_rusage(rusage): """ rv = dict() for attr in attributes_iterator(rusage.contents): - + if attr == '': + continue k, v = attr.split('=',1) rv[k] = v return rv