Subversion Repositories SmartDukaan

Rev

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

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