Subversion Repositories SmartDukaan

Rev

Rev 3086 | Rev 3200 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3086 rajveer 1
#!/usr/bin/python
2
import sys
3133 rajveer 3
from shop2020.clients.CatalogClient import CatalogClient
3086 rajveer 4
 
5
if __name__ == '__main__' and __package__ is None:
6
    import os
7
    sys.path.insert(0, os.getcwd())
8
 
9
def notify():
3133 rajveer 10
    client = CatalogClient().get_client()
3086 rajveer 11
    client.sendProductNotifications()
12
    print "Product notifications sending completed"
13
 
14
def main():
15
    notify()
16
 
17
if __name__ == '__main__':
18
    main()