diff options
Diffstat (limited to 'abs/core-testing/LinHES-config/mv_common.py')
-rwxr-xr-x | abs/core-testing/LinHES-config/mv_common.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/abs/core-testing/LinHES-config/mv_common.py b/abs/core-testing/LinHES-config/mv_common.py index 31740c3..da3e25f 100755 --- a/abs/core-testing/LinHES-config/mv_common.py +++ b/abs/core-testing/LinHES-config/mv_common.py @@ -129,6 +129,13 @@ def pacremove(pkg): def getpid(process): return commands.getoutput('pidof %s' % process) +def remove_file(filename): + logging.debug(" Removing %s", filename) + try: + os.remove(filename) + except: + logging.debug("* Could not remove %s", filename) + def restartLCD(RESTART_LCD): if RESTART_LCD : |