-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
554c36c
commit 6681464
Showing
18 changed files
with
2,126 additions
and
361 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from ConfigParser import SafeConfigParser | ||
|
||
|
||
def readConf(file): | ||
''' | ||
:param file: location of config file | ||
:return: conf file as dict | ||
''' | ||
parser = SafeConfigParser() | ||
parser.read(file) | ||
conf = {} | ||
for selection in parser.sections(): | ||
inter = {} | ||
for name, value in parser.items(selection): | ||
inter[name] = value | ||
conf[selection] = inter | ||
return conf | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from dmonadpengine import * |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.