[modules] Re-add module nic

This commit is contained in:
Tobias Witek 2020-03-01 14:36:12 +01:00
parent 7420434358
commit 533b8ca0cc
8 changed files with 134 additions and 8 deletions

View file

@ -1,3 +1,4 @@
import os
import shlex
import subprocess
import logging
@ -15,6 +16,6 @@ def execute(cmd, wait=True, ignore_errors=False):
if proc.returncode != 0 and not ignore_errors:
raise RuntimeError('{} exited with {}'.format(cmd, proc.returncode))
return out.decode('utf-8')
return ''
return ''
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4