Whoa weird ill look into addressing that
On Jan 29, 2013 4:35 PM, "Daniel Roberts" <notifications@github.com> wrote:

> In pillowtop/listener.py:
>
> >
> >  class BasicPillow(object):
> >      couch_filter = None # string for filter if needed
> >      couch_db = None #couchdbkit Database Object
> >      changes_seen = 0
> >
> > +    def old_changes(self):
> > +        from couchdbkit import  Consumer
> > +        c = Consumer(self.couch_db, backend='gevent')
> > +        while True:
> > +            try:
> > +                c.wait(self.parsing_processor, since=self.since, filter=self.couch_filter,
> > +                    heartbeat=WAIT_HEARTBEAT, feed='continuous', timeout=30000)
> > +            except Exception, ex:
> > +                logging.exception("Exception in form listener: %s, sleeping and restarting" % ex)
> > +                gevent.sleep(5)
> > +
> > +    def new_changes(self):
> > +         with ChangesStream(self.couch_db, feed='continuous', heartbeat=True, since=self.since,
>
> This is 5-space indented?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/dimagi/pillowtop/pull/9/files#r2816456>.
>
>