Author: tmckay
Date: 2013-06-20 16:43:02 +0000 (Thu, 20 Jun 2013)
New Revision: 5763
Modified:
trunk/sage/python/sage/aviary/aviaryoperations.py
Log:
Change empty strings to None in add_external_xx
Modified: trunk/sage/python/sage/aviary/aviaryoperations.py
===================================================================
--- trunk/sage/python/sage/aviary/aviaryoperations.py 2013-06-20 16:29:48 UTC (rev 5762)
+++ trunk/sage/python/sage/aviary/aviaryoperations.py 2013-06-20 16:43:02 UTC (rev 5763)
@@ -1148,12 +1148,12 @@
callback(*result_tuple(result, host))
ref = client.factory.create("ns1:HadoopID")
- ref.id = ""
+ ref.id = None
ref.ipc = ipc
ref.http = url
t = CallThread(self.call_client_retry, my_callback,
- client, "startNameNode", "", "",
"", ref)
+ client, "startNameNode", None, None, None, ref)
t.start()
def add_external_job_tracker(self, host, ipc, url, callback):
@@ -1184,7 +1184,7 @@
callback(*result_tuple(result, host))
ref = client.factory.create("ns1:HadoopID")
- ref.id = ""
+ ref.id = None
ref.ipc = ipc
ref.http = url
Show replies by date