Subversion Repositories SmartDukaan

Rev

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

Rev 8386 Rev 8464
Line 1139... Line 1139...
1139
 
1139
 
1140
    html = Template(html).substitute(dict(product=product,date=date,url=url,source_url=source_url,source_name=source_name))
1140
    html = Template(html).substitute(dict(product=product,date=date,url=url,source_url=source_url,source_name=source_name))
1141
   
1141
   
1142
    try:
1142
    try:
1143
        helper_client = HelperClient().get_client()
1143
        helper_client = HelperClient().get_client()
1144
        helper_client.saveUserEmailForSending([email], "", "Product requested by you is available now.", html, str(itemId), "ProductNotification", [], [])
1144
        helper_client.saveUserEmailForSending([email], "", "Product requested by you is available now.", html, str(itemId), "ProductNotification", [], [],sourceId)
1145
    except Exception as e:
1145
    except Exception as e:
1146
        print e
1146
        print e
1147
        print sys.exc_info()[0]
1147
        print sys.exc_info()[0]
1148
 
1148
 
1149
def get_all_sources():
1149
def get_all_sources():