Whoops sorry about that I had a problem and needed the test to see when I
finally had fixed the problem.Rip out the guard and the text under it.


On Thu, Aug 8, 2013 at 2:45 AM, Brian Peterson <notifications@github.com>wrote:

> In countyapi/management/commands/scrape_inmates.py:
>
> >              # Also prior to 2010 the format of a jail id is not in the format YYYY-MMDDNNN it was YYYY-NNNNNNN
> >              # so have to parse for year first and is before this one
> >              booking_date = href.split('=')[1]
> >              booking_year = datetime.strptime(booking_date[0:4], '%Y')
> >              if booking_year.year < start_date.year:
> >                  return True
> > -            booking_month_date = datetime.strptime(booking_date[5:9], '%m%d')
> > -            return booking_month_date.month <= start_date.month and booking_month_date.day < start_date.day
> > +            the_month = booking_date[5:7]
> > +            the_day = booking_date[7:9]
> > +            inmates_booking_date = date(booking_year.year, convert_to_int(the_month, 1),
> > +                                        convert_to_int(the_day, 1))
> > +            if href == 'details.asp?jailnumber=2013-0731005':
>
> It looks like some debugging printouts that shouldn't have stayed in, to
> my eyes. Unless we need to look at a particular inmate's details each
> scrape.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/sc3/cookcountyjail/pull/98/files#r5652095>
> .
>



-- 
Regards
Norbert
-----
Norbert Winklareth