X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=config.py;h=9efdecc748f4b5e802154df0ff691f70a3bc9b0b;hb=0b714cdb07b31fea1693b3ed02de4db5f7665d4b;hp=73213617841b623660d8abde9de2f75e7ce29488;hpb=cca9dbb614a62a07c1d09b7e0096dbf0d32f6030;p=nodemanager.git diff --git a/config.py b/config.py index 7321361..9efdecc 100644 --- a/config.py +++ b/config.py @@ -1,12 +1,15 @@ #!/usr/bin/python # +# $Id$ +# $URL$ +# # Parses the PLC configuration file /etc/planetlab/plc_config, which # is bootstrapped by Boot Manager, but managed by us. # # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: config.py,v 1.5 2006/11/18 18:15:37 mlhuang Exp $ +# $Id$ # import os @@ -44,4 +47,6 @@ class Config: if __name__ == '__main__': from pprint import pprint - pprint(Config().__dict__.items()) + for (k,v) in Config().__dict__.iteritems(): + if k not in ['__builtins__']: + pprint ( (k,v), )