From 08fff9819ceb2d126e43cdcfc1f20ccb85703320 Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Tue, 31 Oct 2006 23:16:16 +0000 Subject: [PATCH] - add example --- config.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config.py b/config.py index 6288bf7..14ee71d 100644 --- a/config.py +++ b/config.py @@ -6,7 +6,7 @@ # Mark Huang # 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()) -- 2.43.0