forked from ungleich-public/cdist
begin split into smaller files
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
199245e6ce
commit
b8ff4c9609
1 changed files with 4 additions and 0 deletions
|
@ -62,6 +62,10 @@ VERSION = "2.0.1"
|
||||||
logging.basicConfig(level=logging.INFO, format='%(levelname)s: %(message)s')
|
logging.basicConfig(level=logging.INFO, format='%(levelname)s: %(message)s')
|
||||||
log = logging.getLogger()
|
log = logging.getLogger()
|
||||||
|
|
||||||
|
# Begin to split into parts
|
||||||
|
sys.path.insert(0,
|
||||||
|
os.path.abspath(os.path.join(os.path.dirname(__file__),
|
||||||
|
'../lib/python')))
|
||||||
|
|
||||||
def file_to_list(filename):
|
def file_to_list(filename):
|
||||||
"""Return list from \n seperated file"""
|
"""Return list from \n seperated file"""
|
||||||
|
|
Loading…
Reference in a new issue