Subversion Repositories SmartDukaan

Rev

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

Rev 15209 Rev 15214
Line 171... Line 171...
171
        nlcPoints = (min(nlcPoints,maxNlcPoints)) * eolWeight
171
        nlcPoints = (min(nlcPoints,maxNlcPoints)) * eolWeight
172
    else:
172
    else:
173
        nlcPoints = (min(nlcPoints,maxNlcPoints))
173
        nlcPoints = (min(nlcPoints,maxNlcPoints))
174
 
174
 
175
    return nlcPoints
175
    return nlcPoints
176
    return datetime.fromtimestamp(timestamp)
-
 
177
 
176
 
178
def getLogger(filePath):
177
def getLogger(filePath):
179
    lgr = logging.getLogger()
178
    lgr = logging.getLogger()
180
    lgr.setLevel(logging.DEBUG)
179
    lgr.setLevel(logging.DEBUG)
181
    fh = logging.FileHandler(filePath)
180
    fh = logging.FileHandler(filePath)