This repository has been archived on 2021-03-01. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
kaneton/test/packages/ktp/configuration.py
Mercier Pierre-Olivier fee4dd4e6d Initial snapshot
2013-02-11 22:04:30 +01:00

34 lines
744 B
Python

#
# ---------- header -----------------------------------------------------------
#
# project kaneton
#
# license kaneton
#
# file /home/mycure/KANE...EST-SYSTEM/packages/ktp/configuration.py
#
# created julien quintard [mon oct 25 20:22:05 2010]
# updated julien quintard [wed oct 27 13:11:00 2010]
#
#
# ---------- packages ---------------------------------------------------------
#
import yaml
#
# ---------- definitions ------------------------------------------------------
#
Extension = ".conf"
#
# ---------- functions --------------------------------------------------------
#
#
# this function loads a configuration.
#
def Load(path):
return yaml.load(file(path, 'r'))