Subversion Repositories SmartDukaan

Rev

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

Rev 346 Rev 451
Line 1... Line 1...
1
values = [2010]
1
#from shop2020.thriftpy.model.v1.catalog.ttypes import Item
-
 
2
#from shop2020.clients.InventoryClient import InventoryClient
2
 
3
 
-
 
4
entityid = expEntity.getID()
-
 
5
print "Entity id is" + `entityid`
-
 
6
#values = [entityid]
-
 
7
 
-
 
8
#inventory_client = InventoryClient()
-
 
9
#item = inventory_client.get_client().getItemByCatalogId(entityid)
-
 
10
 
-
 
11
#values = item.price.values()
-
 
12
#values = values[1]
-
 
13
 
-
 
14
#values.append(entityid)
-
 
15
values = []
-
 
16
price = itemPrice
-
 
17
print "Price is" + `price`
-
 
18
values.append(price)