Subversion Repositories SmartDukaan

Rev

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

Rev 12567 Rev 12620
Line 197... Line 197...
197
  print '  bool addAmazonPromotion( amazonPromotions)'
197
  print '  bool addAmazonPromotion( amazonPromotions)'
198
  print '   getAmazonPromotion(i64 startDate, i64 endDate)'
198
  print '   getAmazonPromotion(i64 startDate, i64 endDate)'
199
  print '  bool updateAmazonPromotion( amazonPromotions)'
199
  print '  bool updateAmazonPromotion( amazonPromotions)'
200
  print '  bool markPartiallyActive(i64 itemId, i64 categoryId)'
200
  print '  bool markPartiallyActive(i64 itemId, i64 categoryId)'
201
  print '  bool updateItemStateVat(i64 itemId,  statevat)'
201
  print '  bool updateItemStateVat(i64 itemId,  statevat)'
-
 
202
  print '   getExAffiliateItemInfo()'
202
  print ''
203
  print ''
203
  sys.exit(0)
204
  sys.exit(0)
204
 
205
 
205
pp = pprint.PrettyPrinter(indent = 2)
206
pp = pprint.PrettyPrinter(indent = 2)
206
host = 'localhost'
207
host = 'localhost'
Line 1315... Line 1316...
1315
  if len(args) != 2:
1316
  if len(args) != 2:
1316
    print 'updateItemStateVat requires 2 args'
1317
    print 'updateItemStateVat requires 2 args'
1317
    sys.exit(1)
1318
    sys.exit(1)
1318
  pp.pprint(client.updateItemStateVat(eval(args[0]),eval(args[1]),))
1319
  pp.pprint(client.updateItemStateVat(eval(args[0]),eval(args[1]),))
1319
 
1320
 
-
 
1321
elif cmd == 'getExAffiliateItemInfo':
-
 
1322
  if len(args) != 0:
-
 
1323
    print 'getExAffiliateItemInfo requires 0 args'
-
 
1324
    sys.exit(1)
-
 
1325
  pp.pprint(client.getExAffiliateItemInfo())
-
 
1326
 
1320
else:
1327
else:
1321
  print 'Unrecognized method %s' % cmd
1328
  print 'Unrecognized method %s' % cmd
1322
  sys.exit(1)
1329
  sys.exit(1)
1323
 
1330
 
1324
transport.close()
1331
transport.close()