##// END OF EJS Templates
test-wireproto: move from dict() construction to {} literals...
Augie Fackler -
r20686:c69f6290 default
parent child Browse files
Show More
@@ -18,7 +18,7 b' class clientpeer(wireproto.wirepeer):'
18 @wireproto.batchable
18 @wireproto.batchable
19 def greet(self, name):
19 def greet(self, name):
20 f = wireproto.future()
20 f = wireproto.future()
21 yield wireproto.todict(name=mangle(name)), f
21 yield {'name': mangle(name)}, f
22 yield unmangle(f.value)
22 yield unmangle(f.value)
23
23
24 class serverrepo(object):
24 class serverrepo(object):
General Comments 0
You need to be logged in to leave comments. Login now