Nanang Izzuddin | a680bd6 | 2008-06-27 21:12:12 +0000 | [diff] [blame^] | 1 | # $Id$ |
Benny Prijono | cc1ada5 | 2008-06-15 19:43:43 +0000 | [diff] [blame] | 2 | import imp |
3 | import sys | ||||
4 | |||||
Nanang Izzuddin | a680bd6 | 2008-06-27 21:12:12 +0000 | [diff] [blame^] | 5 | from inc_cfg import * |
Benny Prijono | cc1ada5 | 2008-06-15 19:43:43 +0000 | [diff] [blame] | 6 | |
7 | # Read configuration | ||||
Nanang Izzuddin | a680bd6 | 2008-06-27 21:12:12 +0000 | [diff] [blame^] | 8 | cfg_file = imp.load_source("cfg_file", ARGS[1]) |
Benny Prijono | cc1ada5 | 2008-06-15 19:43:43 +0000 | [diff] [blame] | 9 | |
10 | # Here where it all comes together | ||||
11 | test = cfg_file.test_param |