##// END OF EJS Templates
Fixes for parallel code on Python 3.
Thomas Kluyver -
Show More
@@ -273,7 +273,7 b' class IPControllerApp(BaseParallelApplication):'
273 if not self.reuse_files:
273 if not self.reuse_files:
274 # save to new json config files
274 # save to new json config files
275 f = self.factory
275 f = self.factory
276 cdict = {'exec_key' : f.session.key,
276 cdict = {'exec_key' : f.session.key.decode('ascii'),
277 'ssh' : self.ssh_server,
277 'ssh' : self.ssh_server,
278 'url' : "%s://%s:%s"%(f.client_transport, f.client_ip, f.regport),
278 'url' : "%s://%s:%s"%(f.client_transport, f.client_ip, f.regport),
279 'location' : self.location
279 'location' : self.location
@@ -961,7 +961,7 b' class CComplex(Complex):'
961 class Bytes(TraitType):
961 class Bytes(TraitType):
962 """A trait for byte strings."""
962 """A trait for byte strings."""
963
963
964 default_value = ''
964 default_value = b''
965 info_text = 'a string'
965 info_text = 'a string'
966
966
967 def validate(self, obj, value):
967 def validate(self, obj, value):
General Comments 0
You need to be logged in to leave comments. Login now