Merge remote-tracking branch 'origin/pycurl' into planetlab-4_0-branch
[plcapi.git] / PLC / Config.py
index bfe80af..693ba22 100644 (file)
@@ -6,7 +6,7 @@
 # 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 $
+# $Id: Config.py 5574 2007-10-25 20:33:17Z thierry $
 #
 
 import os
@@ -35,7 +35,7 @@ class Config:
         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 + ", " + \