X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FShell.py;h=f2aa2110b94401faccc7e01d52ac0cf41f792217;hb=2768ae423859246bab1918512e15a34487233e2f;hp=7f050230cf3dbf98f995ed61e276d3592bff94f9;hpb=a6e61b7dad3fae3c160abeb69b6adf92530ab4c7;p=plcapi.git diff --git a/PLC/Shell.py b/PLC/Shell.py index 7f05023..f2aa211 100644 --- a/PLC/Shell.py +++ b/PLC/Shell.py @@ -5,7 +5,7 @@ # Mark Huang # Copyright (C) 2005 The Trustees of Princeton University # -# $Id: Shell.py,v 1.3 2007/01/16 16:25:12 thierry Exp $ +# $Id: Shell.py,v 1.4 2007/02/02 04:38:28 mlhuang Exp $ # import os @@ -108,8 +108,8 @@ class Shell: ":" + str(self.config.PLC_API_PORT) + \ "/" + self.config.PLC_API_PATH + "/" - if cacert is None and self.config is not None: - cacert = self.config.PLC_API_CA_SSL_CRT + if cacert is None: + cacert = self.config.PLC_API_CA_SSL_CRT self.url = url if cacert is not None: