From: Mark Huang Date: Tue, 3 Oct 2006 19:34:05 +0000 (+0000) Subject: - allow marshalling of None X-Git-Tag: pycurl-7_13_1~661 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=f911c01d6a987452ba1db3d5d6e5881d8c0de940;p=plcapi.git - allow marshalling of None --- diff --git a/Shell.py b/Shell.py index 83c0d32d..b4cfa387 100755 --- a/Shell.py +++ b/Shell.py @@ -5,7 +5,7 @@ # Mark Huang # Copyright (C) 2005 The Trustees of Princeton University # -# $Id: Shell.py,v 1.3 2006/09/08 00:29:34 mlhuang Exp $ +# $Id: Shell.py,v 1.4 2006/09/08 15:37:01 mlhuang Exp $ # import os, sys @@ -101,7 +101,7 @@ except: ":" + str(config.PLC_API_PORT) + \ "/" + config.PLC_API_PATH + "/" - server = xmlrpclib.ServerProxy(url) + server = xmlrpclib.ServerProxy(url, allow_none = 1) # Default is to use capability authentication if (method, user, password) == (None, None, None):