/usr/scripts sans / final

This commit is contained in:
Daniel STAN 2015-07-23 17:26:50 +02:00
parent 650f55e7e8
commit ebeab8a0a0
8 changed files with 23 additions and 28 deletions

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python
#!/bin/bash /usr/scripts/python.sh
# -*- coding: utf-8 -*-
# #############################################################
# ..
@ -38,7 +38,8 @@ import commands
import shutil
import syslog
import stat
sys.path.append('/usr/scripts/')
if '/usr/scripts' not in sys.path:
sys.path.append('/usr/scripts')
from cranslib.deprecated import module as deprecated_module
deprecated_module()
from cranslib.utils import QuoteForPOSIX as escapeForShell