Subversion Repositories SmartDukaan

Rev

Rev 5944 | Rev 13493 | Go to most recent revision | 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
3
 
4
if __name__ == '__main__' and __package__ is None:
5
    import os
6
    sys.path.insert(0, os.getcwd())
7
 
5984 mandeep.dh 8
from shop2020.clients.InventoryClient import InventoryClient
5944 mandeep.dh 9
 
10
def notify():
5984 mandeep.dh 11
    client = InventoryClient().get_client()
5944 mandeep.dh 12
    client.clearItemAvailabilityCache()
13
    print "Item availability cache cleared."
14
 
15
def main():
16
    notify()
17
 
18
if __name__ == '__main__':
19
    main()