Subversion Repositories SmartDukaan

Rev

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

Rev 15316 Rev 15317
Line 987... Line 987...
987
        return data
987
        return data
988
    else:
988
    else:
989
        return obj
989
        return obj
990
    
990
    
991
def getRetailerObj(retailer, otherContacts=None):
991
def getRetailerObj(retailer, otherContacts=None):
992
    print "before otherContacts1",otherContacts1
992
    print "before otherContacts1",otherContacts
993
    otherContacts = [] if otherContacts is None else otherContacts
993
    otherContacts = [] if otherContacts is None else otherContacts
994
    print "afotherContacts1",otherContacts
994
    print "afotherContacts1",otherContacts
995
    obj = Mock()
995
    obj = Mock()
996
    obj.title = retailer.title
996
    obj.title = retailer.title
997
    obj.id = retailer.id
997
    obj.id = retailer.id