| 94 |
ashish |
1 |
#!/usr/bin/env python
|
|
|
2 |
#
|
|
|
3 |
# Autogenerated by Thrift
|
|
|
4 |
#
|
|
|
5 |
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
|
|
6 |
#
|
|
|
7 |
|
|
|
8 |
import sys
|
|
|
9 |
import pprint
|
|
|
10 |
from urlparse import urlparse
|
|
|
11 |
from thrift.transport import TTransport
|
|
|
12 |
from thrift.transport import TSocket
|
|
|
13 |
from thrift.transport import THttpClient
|
|
|
14 |
from thrift.protocol import TBinaryProtocol
|
|
|
15 |
|
|
|
16 |
import UserContextService
|
|
|
17 |
from ttypes import *
|
|
|
18 |
|
|
|
19 |
if len(sys.argv) <= 1 or sys.argv[1] == '--help':
|
|
|
20 |
print ''
|
|
|
21 |
print 'Usage: ' + sys.argv[0] + ' [-h host:port] [-u url] [-f[ramed]] function [arg1 [arg2...]]'
|
|
|
22 |
print ''
|
|
|
23 |
print 'Functions:'
|
| 765 |
rajveer |
24 |
print ' void closeSession()'
|
| 559 |
chandransh |
25 |
print ' User createAnonymousUser(string jsessionId)'
|
|
|
26 |
print ' User getUserById(i64 userId)'
|
| 1491 |
vikas |
27 |
print ' User getUserByEmail(string email)'
|
| 559 |
chandransh |
28 |
print ' User createUser(User user)'
|
|
|
29 |
print ' User updateUser(User user)'
|
|
|
30 |
print ' bool deleteUser(i64 userId)'
|
|
|
31 |
print ' UserState getUserState(i64 userId)'
|
|
|
32 |
print ' User authenticateUser(string email, string password)'
|
| 94 |
ashish |
33 |
print ' bool userExists(string email)'
|
| 567 |
rajveer |
34 |
print ' i64 addAddressForUser(i64 userId, Address address, bool setDefault)'
|
| 94 |
ashish |
35 |
print ' bool removeAddressForUser(i64 userid, i64 addressId)'
|
|
|
36 |
print ' bool setUserAsLoggedIn(i64 userId, i64 timestamp)'
|
|
|
37 |
print ' bool setUserAsLoggedOut(i64 userid, i64 timestamp)'
|
| 504 |
rajveer |
38 |
print ' bool setDefaultAddress(i64 userid, i64 addressId)'
|
| 594 |
rajveer |
39 |
print ' bool updatePassword(i64 userid, string oldPassword, string newPassword)'
|
| 884 |
rajveer |
40 |
print ' bool forgotPassword(string email, string newPassword)'
|
| 594 |
rajveer |
41 |
print ' getAllAddressesForUser(i64 userId)'
|
|
|
42 |
print ' i64 getDefaultAddressId(i64 userId)'
|
| 785 |
rajveer |
43 |
print ' string getDefaultPincode(i64 userId)'
|
| 1274 |
varun.gupt |
44 |
print ' bool saveUserCommunication(i64 userId, string replyTo, i64 communicationType, i64 orderId, string airwaybillNo, string productName, string subject, string message)'
|
| 559 |
chandransh |
45 |
print ' i64 createCart(i64 userId)'
|
|
|
46 |
print ' Cart getCurrentCart(i64 userId)'
|
|
|
47 |
print ' Cart getCart(i64 cartId)'
|
|
|
48 |
print ' getCartsForUser(i64 userId, CartStatus status)'
|
|
|
49 |
print ' getCartsByStatus(CartStatus status)'
|
|
|
50 |
print ' getCartsByTime(i64 from_time, i64 to_time, CartStatus status)'
|
|
|
51 |
print ' void changeCartStatus(i64 cartId, CartStatus status)'
|
|
|
52 |
print ' void addItemToCart(i64 cartId, i64 itemId, i64 quantity)'
|
|
|
53 |
print ' void deleteItemFromCart(i64 cartId, i64 itemId)'
|
|
|
54 |
print ' void changeQuantity(i64 cartId, i64 itemId, i64 quantity)'
|
|
|
55 |
print ' void changeItemStatus(i64 cartId, i64 itemId, LineStatus status)'
|
|
|
56 |
print ' void addAddressToCart(i64 cartId, i64 addressId)'
|
| 690 |
chandransh |
57 |
print ' i64 createOrders(i64 cartId)'
|
| 1466 |
ankur.sing |
58 |
print ' string validateCart(i64 cartId)'
|
| 559 |
chandransh |
59 |
print ' void mergeCart(i64 fromCartId, i64 toCartId)'
|
| 690 |
chandransh |
60 |
print ' bool checkOut(i64 cartId)'
|
|
|
61 |
print ' bool resetCart(i64 cartId, items)'
|
| 772 |
rajveer |
62 |
print ' Widget getMyResearch(i64 userId)'
|
|
|
63 |
print ' bool updateMyResearch(i64 userId, i64 itemId)'
|
|
|
64 |
print ' void deleteItemFromMyResearch(i64 userId, i64 itemId)'
|
|
|
65 |
print ' void updateBrowseHistory(i64 userId, i64 itemId)'
|
|
|
66 |
print ' Widget getBrowseHistory(i64 userId)'
|
|
|
67 |
print ' void mergeBrowseHistory(i64 fromUserId, i64 toUserId)'
|
| 94 |
ashish |
68 |
print ''
|
|
|
69 |
sys.exit(0)
|
|
|
70 |
|
|
|
71 |
pp = pprint.PrettyPrinter(indent = 2)
|
|
|
72 |
host = 'localhost'
|
|
|
73 |
port = 9090
|
|
|
74 |
uri = ''
|
|
|
75 |
framed = False
|
|
|
76 |
http = False
|
|
|
77 |
argi = 1
|
|
|
78 |
|
|
|
79 |
if sys.argv[argi] == '-h':
|
|
|
80 |
parts = sys.argv[argi+1].split(':')
|
|
|
81 |
host = parts[0]
|
|
|
82 |
port = int(parts[1])
|
|
|
83 |
argi += 2
|
|
|
84 |
|
|
|
85 |
if sys.argv[argi] == '-u':
|
|
|
86 |
url = urlparse(sys.argv[argi+1])
|
|
|
87 |
parts = url[1].split(':')
|
|
|
88 |
host = parts[0]
|
|
|
89 |
if len(parts) > 1:
|
|
|
90 |
port = int(parts[1])
|
|
|
91 |
else:
|
|
|
92 |
port = 80
|
|
|
93 |
uri = url[2]
|
|
|
94 |
http = True
|
|
|
95 |
argi += 2
|
|
|
96 |
|
|
|
97 |
if sys.argv[argi] == '-f' or sys.argv[argi] == '-framed':
|
|
|
98 |
framed = True
|
|
|
99 |
argi += 1
|
|
|
100 |
|
|
|
101 |
cmd = sys.argv[argi]
|
|
|
102 |
args = sys.argv[argi+1:]
|
|
|
103 |
|
|
|
104 |
if http:
|
|
|
105 |
transport = THttpClient.THttpClient(host, port, uri)
|
|
|
106 |
else:
|
|
|
107 |
socket = TSocket.TSocket(host, port)
|
|
|
108 |
if framed:
|
|
|
109 |
transport = TTransport.TFramedTransport(socket)
|
|
|
110 |
else:
|
|
|
111 |
transport = TTransport.TBufferedTransport(socket)
|
|
|
112 |
protocol = TBinaryProtocol.TBinaryProtocol(transport)
|
|
|
113 |
client = UserContextService.Client(protocol)
|
|
|
114 |
transport.open()
|
|
|
115 |
|
| 765 |
rajveer |
116 |
if cmd == 'closeSession':
|
|
|
117 |
if len(args) != 0:
|
|
|
118 |
print 'closeSession requires 0 args'
|
|
|
119 |
sys.exit(1)
|
|
|
120 |
pp.pprint(client.closeSession())
|
|
|
121 |
|
|
|
122 |
elif cmd == 'createAnonymousUser':
|
| 559 |
chandransh |
123 |
if len(args) != 1:
|
|
|
124 |
print 'createAnonymousUser requires 1 args'
|
| 94 |
ashish |
125 |
sys.exit(1)
|
| 559 |
chandransh |
126 |
pp.pprint(client.createAnonymousUser(args[0],))
|
| 94 |
ashish |
127 |
|
| 559 |
chandransh |
128 |
elif cmd == 'getUserById':
|
|
|
129 |
if len(args) != 1:
|
|
|
130 |
print 'getUserById requires 1 args'
|
| 94 |
ashish |
131 |
sys.exit(1)
|
| 559 |
chandransh |
132 |
pp.pprint(client.getUserById(eval(args[0]),))
|
| 94 |
ashish |
133 |
|
| 1491 |
vikas |
134 |
elif cmd == 'getUserByEmail':
|
|
|
135 |
if len(args) != 1:
|
|
|
136 |
print 'getUserByEmail requires 1 args'
|
|
|
137 |
sys.exit(1)
|
|
|
138 |
pp.pprint(client.getUserByEmail(args[0],))
|
|
|
139 |
|
| 559 |
chandransh |
140 |
elif cmd == 'createUser':
|
|
|
141 |
if len(args) != 1:
|
|
|
142 |
print 'createUser requires 1 args'
|
| 94 |
ashish |
143 |
sys.exit(1)
|
| 559 |
chandransh |
144 |
pp.pprint(client.createUser(eval(args[0]),))
|
| 94 |
ashish |
145 |
|
| 559 |
chandransh |
146 |
elif cmd == 'updateUser':
|
|
|
147 |
if len(args) != 1:
|
|
|
148 |
print 'updateUser requires 1 args'
|
| 94 |
ashish |
149 |
sys.exit(1)
|
| 559 |
chandransh |
150 |
pp.pprint(client.updateUser(eval(args[0]),))
|
| 94 |
ashish |
151 |
|
| 559 |
chandransh |
152 |
elif cmd == 'deleteUser':
|
|
|
153 |
if len(args) != 1:
|
|
|
154 |
print 'deleteUser requires 1 args'
|
| 94 |
ashish |
155 |
sys.exit(1)
|
| 559 |
chandransh |
156 |
pp.pprint(client.deleteUser(eval(args[0]),))
|
| 94 |
ashish |
157 |
|
| 559 |
chandransh |
158 |
elif cmd == 'getUserState':
|
|
|
159 |
if len(args) != 1:
|
|
|
160 |
print 'getUserState requires 1 args'
|
| 94 |
ashish |
161 |
sys.exit(1)
|
| 559 |
chandransh |
162 |
pp.pprint(client.getUserState(eval(args[0]),))
|
| 94 |
ashish |
163 |
|
| 559 |
chandransh |
164 |
elif cmd == 'authenticateUser':
|
| 94 |
ashish |
165 |
if len(args) != 2:
|
| 559 |
chandransh |
166 |
print 'authenticateUser requires 2 args'
|
| 94 |
ashish |
167 |
sys.exit(1)
|
| 559 |
chandransh |
168 |
pp.pprint(client.authenticateUser(args[0],args[1],))
|
| 94 |
ashish |
169 |
|
|
|
170 |
elif cmd == 'userExists':
|
|
|
171 |
if len(args) != 1:
|
|
|
172 |
print 'userExists requires 1 args'
|
|
|
173 |
sys.exit(1)
|
|
|
174 |
pp.pprint(client.userExists(args[0],))
|
|
|
175 |
|
|
|
176 |
elif cmd == 'addAddressForUser':
|
| 567 |
rajveer |
177 |
if len(args) != 3:
|
|
|
178 |
print 'addAddressForUser requires 3 args'
|
| 94 |
ashish |
179 |
sys.exit(1)
|
| 567 |
rajveer |
180 |
pp.pprint(client.addAddressForUser(eval(args[0]),eval(args[1]),eval(args[2]),))
|
| 94 |
ashish |
181 |
|
|
|
182 |
elif cmd == 'removeAddressForUser':
|
|
|
183 |
if len(args) != 2:
|
|
|
184 |
print 'removeAddressForUser requires 2 args'
|
|
|
185 |
sys.exit(1)
|
|
|
186 |
pp.pprint(client.removeAddressForUser(eval(args[0]),eval(args[1]),))
|
|
|
187 |
|
|
|
188 |
elif cmd == 'setUserAsLoggedIn':
|
|
|
189 |
if len(args) != 2:
|
|
|
190 |
print 'setUserAsLoggedIn requires 2 args'
|
|
|
191 |
sys.exit(1)
|
|
|
192 |
pp.pprint(client.setUserAsLoggedIn(eval(args[0]),eval(args[1]),))
|
|
|
193 |
|
|
|
194 |
elif cmd == 'setUserAsLoggedOut':
|
|
|
195 |
if len(args) != 2:
|
|
|
196 |
print 'setUserAsLoggedOut requires 2 args'
|
|
|
197 |
sys.exit(1)
|
|
|
198 |
pp.pprint(client.setUserAsLoggedOut(eval(args[0]),eval(args[1]),))
|
|
|
199 |
|
| 504 |
rajveer |
200 |
elif cmd == 'setDefaultAddress':
|
|
|
201 |
if len(args) != 2:
|
|
|
202 |
print 'setDefaultAddress requires 2 args'
|
|
|
203 |
sys.exit(1)
|
|
|
204 |
pp.pprint(client.setDefaultAddress(eval(args[0]),eval(args[1]),))
|
|
|
205 |
|
| 94 |
ashish |
206 |
elif cmd == 'updatePassword':
|
| 594 |
rajveer |
207 |
if len(args) != 3:
|
|
|
208 |
print 'updatePassword requires 3 args'
|
| 94 |
ashish |
209 |
sys.exit(1)
|
| 594 |
rajveer |
210 |
pp.pprint(client.updatePassword(eval(args[0]),args[1],args[2],))
|
| 94 |
ashish |
211 |
|
| 581 |
rajveer |
212 |
elif cmd == 'forgotPassword':
|
| 884 |
rajveer |
213 |
if len(args) != 2:
|
|
|
214 |
print 'forgotPassword requires 2 args'
|
| 581 |
rajveer |
215 |
sys.exit(1)
|
| 884 |
rajveer |
216 |
pp.pprint(client.forgotPassword(args[0],args[1],))
|
| 581 |
rajveer |
217 |
|
| 594 |
rajveer |
218 |
elif cmd == 'getAllAddressesForUser':
|
|
|
219 |
if len(args) != 1:
|
|
|
220 |
print 'getAllAddressesForUser requires 1 args'
|
|
|
221 |
sys.exit(1)
|
|
|
222 |
pp.pprint(client.getAllAddressesForUser(eval(args[0]),))
|
|
|
223 |
|
|
|
224 |
elif cmd == 'getDefaultAddressId':
|
|
|
225 |
if len(args) != 1:
|
|
|
226 |
print 'getDefaultAddressId requires 1 args'
|
|
|
227 |
sys.exit(1)
|
|
|
228 |
pp.pprint(client.getDefaultAddressId(eval(args[0]),))
|
|
|
229 |
|
| 785 |
rajveer |
230 |
elif cmd == 'getDefaultPincode':
|
|
|
231 |
if len(args) != 1:
|
|
|
232 |
print 'getDefaultPincode requires 1 args'
|
|
|
233 |
sys.exit(1)
|
|
|
234 |
pp.pprint(client.getDefaultPincode(eval(args[0]),))
|
|
|
235 |
|
| 1274 |
varun.gupt |
236 |
elif cmd == 'saveUserCommunication':
|
|
|
237 |
if len(args) != 8:
|
|
|
238 |
print 'saveUserCommunication requires 8 args'
|
|
|
239 |
sys.exit(1)
|
|
|
240 |
pp.pprint(client.saveUserCommunication(eval(args[0]),args[1],eval(args[2]),eval(args[3]),args[4],args[5],args[6],args[7],))
|
|
|
241 |
|
| 559 |
chandransh |
242 |
elif cmd == 'createCart':
|
|
|
243 |
if len(args) != 1:
|
|
|
244 |
print 'createCart requires 1 args'
|
|
|
245 |
sys.exit(1)
|
|
|
246 |
pp.pprint(client.createCart(eval(args[0]),))
|
|
|
247 |
|
|
|
248 |
elif cmd == 'getCurrentCart':
|
|
|
249 |
if len(args) != 1:
|
|
|
250 |
print 'getCurrentCart requires 1 args'
|
|
|
251 |
sys.exit(1)
|
|
|
252 |
pp.pprint(client.getCurrentCart(eval(args[0]),))
|
|
|
253 |
|
|
|
254 |
elif cmd == 'getCart':
|
|
|
255 |
if len(args) != 1:
|
|
|
256 |
print 'getCart requires 1 args'
|
|
|
257 |
sys.exit(1)
|
|
|
258 |
pp.pprint(client.getCart(eval(args[0]),))
|
|
|
259 |
|
|
|
260 |
elif cmd == 'getCartsForUser':
|
| 122 |
ashish |
261 |
if len(args) != 2:
|
| 559 |
chandransh |
262 |
print 'getCartsForUser requires 2 args'
|
| 94 |
ashish |
263 |
sys.exit(1)
|
| 559 |
chandransh |
264 |
pp.pprint(client.getCartsForUser(eval(args[0]),eval(args[1]),))
|
| 94 |
ashish |
265 |
|
| 559 |
chandransh |
266 |
elif cmd == 'getCartsByStatus':
|
| 94 |
ashish |
267 |
if len(args) != 1:
|
| 559 |
chandransh |
268 |
print 'getCartsByStatus requires 1 args'
|
| 94 |
ashish |
269 |
sys.exit(1)
|
| 559 |
chandransh |
270 |
pp.pprint(client.getCartsByStatus(eval(args[0]),))
|
| 94 |
ashish |
271 |
|
| 559 |
chandransh |
272 |
elif cmd == 'getCartsByTime':
|
|
|
273 |
if len(args) != 3:
|
|
|
274 |
print 'getCartsByTime requires 3 args'
|
|
|
275 |
sys.exit(1)
|
|
|
276 |
pp.pprint(client.getCartsByTime(eval(args[0]),eval(args[1]),eval(args[2]),))
|
|
|
277 |
|
|
|
278 |
elif cmd == 'changeCartStatus':
|
|
|
279 |
if len(args) != 2:
|
|
|
280 |
print 'changeCartStatus requires 2 args'
|
|
|
281 |
sys.exit(1)
|
|
|
282 |
pp.pprint(client.changeCartStatus(eval(args[0]),eval(args[1]),))
|
|
|
283 |
|
|
|
284 |
elif cmd == 'addItemToCart':
|
|
|
285 |
if len(args) != 3:
|
|
|
286 |
print 'addItemToCart requires 3 args'
|
|
|
287 |
sys.exit(1)
|
|
|
288 |
pp.pprint(client.addItemToCart(eval(args[0]),eval(args[1]),eval(args[2]),))
|
|
|
289 |
|
|
|
290 |
elif cmd == 'deleteItemFromCart':
|
|
|
291 |
if len(args) != 2:
|
|
|
292 |
print 'deleteItemFromCart requires 2 args'
|
|
|
293 |
sys.exit(1)
|
|
|
294 |
pp.pprint(client.deleteItemFromCart(eval(args[0]),eval(args[1]),))
|
|
|
295 |
|
|
|
296 |
elif cmd == 'changeQuantity':
|
|
|
297 |
if len(args) != 3:
|
|
|
298 |
print 'changeQuantity requires 3 args'
|
|
|
299 |
sys.exit(1)
|
|
|
300 |
pp.pprint(client.changeQuantity(eval(args[0]),eval(args[1]),eval(args[2]),))
|
|
|
301 |
|
|
|
302 |
elif cmd == 'changeItemStatus':
|
|
|
303 |
if len(args) != 3:
|
|
|
304 |
print 'changeItemStatus requires 3 args'
|
|
|
305 |
sys.exit(1)
|
|
|
306 |
pp.pprint(client.changeItemStatus(eval(args[0]),eval(args[1]),eval(args[2]),))
|
|
|
307 |
|
|
|
308 |
elif cmd == 'addAddressToCart':
|
|
|
309 |
if len(args) != 2:
|
|
|
310 |
print 'addAddressToCart requires 2 args'
|
|
|
311 |
sys.exit(1)
|
|
|
312 |
pp.pprint(client.addAddressToCart(eval(args[0]),eval(args[1]),))
|
|
|
313 |
|
| 690 |
chandransh |
314 |
elif cmd == 'createOrders':
|
| 94 |
ashish |
315 |
if len(args) != 1:
|
| 690 |
chandransh |
316 |
print 'createOrders requires 1 args'
|
| 94 |
ashish |
317 |
sys.exit(1)
|
| 690 |
chandransh |
318 |
pp.pprint(client.createOrders(eval(args[0]),))
|
| 94 |
ashish |
319 |
|
| 559 |
chandransh |
320 |
elif cmd == 'validateCart':
|
| 94 |
ashish |
321 |
if len(args) != 1:
|
| 559 |
chandransh |
322 |
print 'validateCart requires 1 args'
|
| 94 |
ashish |
323 |
sys.exit(1)
|
| 559 |
chandransh |
324 |
pp.pprint(client.validateCart(eval(args[0]),))
|
| 94 |
ashish |
325 |
|
| 559 |
chandransh |
326 |
elif cmd == 'mergeCart':
|
|
|
327 |
if len(args) != 2:
|
|
|
328 |
print 'mergeCart requires 2 args'
|
|
|
329 |
sys.exit(1)
|
|
|
330 |
pp.pprint(client.mergeCart(eval(args[0]),eval(args[1]),))
|
|
|
331 |
|
| 690 |
chandransh |
332 |
elif cmd == 'checkOut':
|
|
|
333 |
if len(args) != 1:
|
|
|
334 |
print 'checkOut requires 1 args'
|
|
|
335 |
sys.exit(1)
|
|
|
336 |
pp.pprint(client.checkOut(eval(args[0]),))
|
|
|
337 |
|
|
|
338 |
elif cmd == 'resetCart':
|
|
|
339 |
if len(args) != 2:
|
|
|
340 |
print 'resetCart requires 2 args'
|
|
|
341 |
sys.exit(1)
|
|
|
342 |
pp.pprint(client.resetCart(eval(args[0]),eval(args[1]),))
|
|
|
343 |
|
| 559 |
chandransh |
344 |
elif cmd == 'getMyResearch':
|
| 130 |
ashish |
345 |
if len(args) != 1:
|
| 559 |
chandransh |
346 |
print 'getMyResearch requires 1 args'
|
| 130 |
ashish |
347 |
sys.exit(1)
|
| 559 |
chandransh |
348 |
pp.pprint(client.getMyResearch(eval(args[0]),))
|
| 130 |
ashish |
349 |
|
| 559 |
chandransh |
350 |
elif cmd == 'updateMyResearch':
|
| 130 |
ashish |
351 |
if len(args) != 2:
|
| 559 |
chandransh |
352 |
print 'updateMyResearch requires 2 args'
|
| 130 |
ashish |
353 |
sys.exit(1)
|
| 559 |
chandransh |
354 |
pp.pprint(client.updateMyResearch(eval(args[0]),eval(args[1]),))
|
| 130 |
ashish |
355 |
|
| 559 |
chandransh |
356 |
elif cmd == 'deleteItemFromMyResearch':
|
|
|
357 |
if len(args) != 2:
|
|
|
358 |
print 'deleteItemFromMyResearch requires 2 args'
|
|
|
359 |
sys.exit(1)
|
|
|
360 |
pp.pprint(client.deleteItemFromMyResearch(eval(args[0]),eval(args[1]),))
|
|
|
361 |
|
| 772 |
rajveer |
362 |
elif cmd == 'updateBrowseHistory':
|
| 559 |
chandransh |
363 |
if len(args) != 2:
|
| 772 |
rajveer |
364 |
print 'updateBrowseHistory requires 2 args'
|
| 559 |
chandransh |
365 |
sys.exit(1)
|
| 772 |
rajveer |
366 |
pp.pprint(client.updateBrowseHistory(eval(args[0]),eval(args[1]),))
|
| 559 |
chandransh |
367 |
|
| 772 |
rajveer |
368 |
elif cmd == 'getBrowseHistory':
|
|
|
369 |
if len(args) != 1:
|
|
|
370 |
print 'getBrowseHistory requires 1 args'
|
| 559 |
chandransh |
371 |
sys.exit(1)
|
| 772 |
rajveer |
372 |
pp.pprint(client.getBrowseHistory(eval(args[0]),))
|
| 559 |
chandransh |
373 |
|
| 772 |
rajveer |
374 |
elif cmd == 'mergeBrowseHistory':
|
| 559 |
chandransh |
375 |
if len(args) != 2:
|
| 772 |
rajveer |
376 |
print 'mergeBrowseHistory requires 2 args'
|
| 559 |
chandransh |
377 |
sys.exit(1)
|
| 772 |
rajveer |
378 |
pp.pprint(client.mergeBrowseHistory(eval(args[0]),eval(args[1]),))
|
| 559 |
chandransh |
379 |
|
| 94 |
ashish |
380 |
transport.close()
|