Subversion Repositories SmartDukaan

Rev

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

Rev 13709 Rev 14780
Line 205... Line 205...
205
  print '   getAllFbgListedItems()'
205
  print '   getAllFbgListedItems()'
206
  print '   checkServices( lines)'
206
  print '   checkServices( lines)'
207
  print '  void addHsItem( hsItems)'
207
  print '  void addHsItem( hsItems)'
208
  print '  HsItem getHsItem(string hsItemId)'
208
  print '  HsItem getHsItem(string hsItemId)'
209
  print '  void updateHsItem(HsItem hsItem)'
209
  print '  void updateHsItem(HsItem hsItem)'
-
 
210
  print '  Item getPricingForDtr(i64 catalogItemId)'
210
  print ''
211
  print ''
211
  sys.exit(0)
212
  sys.exit(0)
212
 
213
 
213
pp = pprint.PrettyPrinter(indent = 2)
214
pp = pprint.PrettyPrinter(indent = 2)
214
host = 'localhost'
215
host = 'localhost'
Line 1371... Line 1372...
1371
  if len(args) != 1:
1372
  if len(args) != 1:
1372
    print 'updateHsItem requires 1 args'
1373
    print 'updateHsItem requires 1 args'
1373
    sys.exit(1)
1374
    sys.exit(1)
1374
  pp.pprint(client.updateHsItem(eval(args[0]),))
1375
  pp.pprint(client.updateHsItem(eval(args[0]),))
1375
 
1376
 
-
 
1377
elif cmd == 'getPricingForDtr':
-
 
1378
  if len(args) != 1:
-
 
1379
    print 'getPricingForDtr requires 1 args'
-
 
1380
    sys.exit(1)
-
 
1381
  pp.pprint(client.getPricingForDtr(eval(args[0]),))
-
 
1382
 
1376
else:
1383
else:
1377
  print 'Unrecognized method %s' % cmd
1384
  print 'Unrecognized method %s' % cmd
1378
  sys.exit(1)
1385
  sys.exit(1)
1379
 
1386
 
1380
transport.close()
1387
transport.close()