1. ZyX_I
  2. aurum

Commits

ZyX_I  committed 3b177c9

python/aurum/utils: Fix occasionally happening “Cannot convert returned object to vim value” errors

  • Participants
  • Parent commits 7cc1835
  • Branches default

Comments (0)

Files changed (1)

File python/aurum/utils.py

View file
  • Ignore whitespace
         lines.append((line[:-1] if lastnl else line).replace('\0', '\n'))
     if lastnl:
         lines.append('')
-    exit_code=p.poll()
+    exit_code=p.wait()
     stderr.write(p.stderr.read())
     return lines, exit_code