Changes between Version 36 and Version 37 of S3XRC/ResourceReport


Ignore:
Timestamp:
08/29/10 12:51:04 (11 years ago)
Author:
Fran Boon
Comment:

PEP8

Legend:

Unmodified
Added
Removed
Modified
  • S3XRC/ResourceReport

    v36 v37  
    285285            # Date from
    286286            if form.vars.date_from:
    287                 from = datetime.combine(form.vars.date_from, time(0,0,0))
     287                from = datetime.combine(form.vars.date_from, time(0, 0, 0))
    288288                date_query = (table.timestmp >= from)
    289289
    290290            # Date until
    291291            if form.vars.date_until:
    292                 until = datetime.combine(form.vars.date_until+timedelta(days=1), time(0,0,0))
     292                until = datetime.combine(form.vars.date_until + timedelta(days=1), time(0, 0, 0))
    293293                q = (table.timetmp <= until)
    294294                if date_query: