- add example
authorMark Huang <mlhuang@cs.princeton.edu>
Tue, 31 Oct 2006 23:16:16 +0000 (23:16 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Tue, 31 Oct 2006 23:16:16 +0000 (23:16 +0000)
config.py

index 6288bf7..14ee71d 100644 (file)
--- a/config.py
+++ b/config.py
@@ -6,7 +6,7 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2006 The Trustees of Princeton University
 #
-# $Id$
+# $Id: config.py,v 1.3 2006/10/31 23:15:12 mlhuang Exp $
 #
 
 class Config:
@@ -31,3 +31,7 @@ class Config:
                "/" + self.PLC_API_PATH + "/"
 
         self.plc_api_uri = uri
+
+if __name__ == '__main__':
+    from pprint import pprint
+    pprint(Config().__dict__.items())