Subversion Repositories SmartDukaan

Rev

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

Rev 14823 Rev 15165
Line 19... Line 19...
19
            return [to_t_livePricing(pricing) for pricing in pricing_info]
19
            return [to_t_livePricing(pricing) for pricing in pricing_info]
20
        except Exception as e:
20
        except Exception as e:
21
            print "Dtr handler exception ",e
21
            print "Dtr handler exception ",e
22
            return [to_t_livePricing(pricing) for pricing in [{}]]
22
            return [to_t_livePricing(pricing) for pricing in [{}]]
23
    
23
    
-
 
24
    def updateLatestPriceForItem(self, id):
-
 
25
        try:
-
 
26
            FetchLivePrices.getLatestPriceById(id)
-
 
27
        except Exception as e:
-
 
28
            print "Dtr handler exception while updating latest price ",e
-
 
29
    
24
    def isAlive(self, ):
30
    def isAlive(self, ):
25
        """
31
        """
26
        For checking weather service is alive or not.
32
        For checking weather service is alive or not.
27
        """
33
        """
28
        return True
34
        return True