make Config inherit dict class
authorTony Mack <tmack@cs.princeton.edu>
Tue, 5 May 2009 01:29:16 +0000 (01:29 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Tue, 5 May 2009 01:29:16 +0000 (01:29 +0000)
geni/util/config.py

index e99674c..59b330c 100644 (file)
@@ -19,7 +19,7 @@ import sys
 
 geni =  os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))+ os.sep + "geni"
 
-class Config:
+class Config(dict):
     """
     Parse the bash/Python/PHP version of the configuration file. Very
     fast but no type conversions.