Subversion Repositories SmartDukaan

Rev

Rev 7222 | Rev 8020 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7222 Rev 7410
Line 49... Line 49...
49
  print '   getQuickLinks()'
49
  print '   getQuickLinks()'
50
  print '  void updateQuickLink(i64 id, string url, string text)'
50
  print '  void updateQuickLink(i64 id, string url, string text)'
51
  print '   getEmailsForNotificationsSent(i64 startDatetime, i64 endDatetime)'
51
  print '   getEmailsForNotificationsSent(i64 startDatetime, i64 endDatetime)'
52
  print '  string getOrderConfirmationMail(i64 orderId)'
52
  print '  string getOrderConfirmationMail(i64 orderId)'
53
  print '  string getOrderDeliveryMail(i64 orderId)'
53
  print '  string getOrderDeliveryMail(i64 orderId)'
-
 
54
  print '   getWarehouseIdsForAgent(string agentEmailId)'
54
  print ''
55
  print ''
55
  sys.exit(0)
56
  sys.exit(0)
56
 
57
 
57
pp = pprint.PrettyPrinter(indent = 2)
58
pp = pprint.PrettyPrinter(indent = 2)
58
host = 'localhost'
59
host = 'localhost'
Line 279... Line 280...
279
  if len(args) != 1:
280
  if len(args) != 1:
280
    print 'getOrderDeliveryMail requires 1 args'
281
    print 'getOrderDeliveryMail requires 1 args'
281
    sys.exit(1)
282
    sys.exit(1)
282
  pp.pprint(client.getOrderDeliveryMail(eval(args[0]),))
283
  pp.pprint(client.getOrderDeliveryMail(eval(args[0]),))
283
 
284
 
-
 
285
elif cmd == 'getWarehouseIdsForAgent':
-
 
286
  if len(args) != 1:
-
 
287
    print 'getWarehouseIdsForAgent requires 1 args'
-
 
288
    sys.exit(1)
-
 
289
  pp.pprint(client.getWarehouseIdsForAgent(args[0],))
-
 
290
 
284
else:
291
else:
285
  print 'Unrecognized method %s' % cmd
292
  print 'Unrecognized method %s' % cmd
286
  sys.exit(1)
293
  sys.exit(1)
287
 
294
 
288
transport.close()
295
transport.close()