Subversion Repositories SmartDukaan

Rev

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

Rev 3378 Rev 3385
Line 86... Line 86...
86
  print '   getMyResearchItems(i64 userId)'
86
  print '   getMyResearchItems(i64 userId)'
87
  print '  bool updateMyResearch(i64 userId, i64 itemId)'
87
  print '  bool updateMyResearch(i64 userId, i64 itemId)'
88
  print '  void deleteItemFromMyResearch(i64 userId, i64 itemId)'
88
  print '  void deleteItemFromMyResearch(i64 userId, i64 itemId)'
89
  print '   getBrowseHistoryItems(i64 userId)'
89
  print '   getBrowseHistoryItems(i64 userId)'
90
  print '  void updateBrowseHistory(i64 userId, i64 itemId)'
90
  print '  void updateBrowseHistory(i64 userId, i64 itemId)'
-
 
91
  print '  i64 getCartsWithCouponCount(string couponCode)'
91
  print ''
92
  print ''
92
  sys.exit(0)
93
  sys.exit(0)
93
 
94
 
94
pp = pprint.PrettyPrinter(indent = 2)
95
pp = pprint.PrettyPrinter(indent = 2)
95
host = 'localhost'
96
host = 'localhost'
Line 536... Line 537...
536
  if len(args) != 2:
537
  if len(args) != 2:
537
    print 'updateBrowseHistory requires 2 args'
538
    print 'updateBrowseHistory requires 2 args'
538
    sys.exit(1)
539
    sys.exit(1)
539
  pp.pprint(client.updateBrowseHistory(eval(args[0]),eval(args[1]),))
540
  pp.pprint(client.updateBrowseHistory(eval(args[0]),eval(args[1]),))
540
 
541
 
-
 
542
elif cmd == 'getCartsWithCouponCount':
-
 
543
  if len(args) != 1:
-
 
544
    print 'getCartsWithCouponCount requires 1 args'
-
 
545
    sys.exit(1)
-
 
546
  pp.pprint(client.getCartsWithCouponCount(args[0],))
-
 
547
 
541
transport.close()
548
transport.close()