git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more pep8-friendly, and log calls to GetNodes() as well for troubleshooting database...
[plcapi.git]
/
PLC
/
Config.py
diff --git
a/PLC/Config.py
b/PLC/Config.py
index
bfe80af
..
c1dbe70
100644
(file)
--- a/
PLC/Config.py
+++ b/
PLC/Config.py
@@
-6,8
+6,6
@@
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2004-2006 The Trustees of Princeton University
#
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2004-2006 The Trustees of Princeton University
#
-# $Id: Config.py,v 1.1 2006/09/06 15:36:06 mlhuang Exp $
-#
import os
import sys
import os
import sys
@@
-35,7
+33,7
@@
class Config:
except:
# Try myplc directory
try:
except:
# Try myplc directory
try:
- execfile(
file
, self.__dict__)
+ execfile(
myplc + os.sep + "plc_config"
, self.__dict__)
except:
raise PLCAPIError("Could not find plc_config in " + \
file + ", " + \
except:
raise PLCAPIError("Could not find plc_config in " + \
file + ", " + \