Subversion Repositories SmartDukaan

Rev

Rev 13503 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5944 mandeep.dh 1
#!/usr/bin/python
2
import sys
13493 amit.gupta 3
import ast
5944 mandeep.dh 4
 
5
if __name__ == '__main__' and __package__ is None:
6
    import os
7
    sys.path.insert(0, os.getcwd())
8
 
5984 mandeep.dh 9
from shop2020.clients.InventoryClient import InventoryClient
5944 mandeep.dh 10
 
11
def notify():
13521 amit.gupta 12
 
13
    client = InventoryClient().get_client()
14
    client.clearItemAvailabilityCache()
15
    print "Item availability cache cleared."
5944 mandeep.dh 16
 
17
def main():
18
    notify()
19
 
20
if __name__ == '__main__':
21
    main()