happenings/utils/handlers.py
def _biweekly_helper(self):
        """Created to take some of the load off of _handle_weekly_repeat_out"""
        self.num = 14
        mycount = self.repeat_biweekly()
        if mycount:
            if self.event.is_chunk() and min(mycount) not in xrange(1, 8):
                mycount = _chunk_fill_out_first_week(
                    self.year, self.month, mycount, self.event,
                    diff=self.event.start_end_diff,
                )
            for k, v in mycount.items():
                for item in v:
                    self.count[k].append(item)
def _biweekly_helper(self):
        self.num = 14
        mycount = self.repeat_biweekly()
        if mycount:
            if self.event.is_chunk() and min(mycount) not in xrange(1, 8):
                mycount = _chunk_fill_out_first_week(
                    self.year, self.month, mycount, self.event,
                    diff=self.event.start_end_diff,
                )
            for k, v in mycount.items():
                for item in v:
                    self.count[k].append(item)
def _biweekly_helper ( self ) : self . num = 14 mycount = self . repeat_biweekly ( ) if mycount : if self . event . is_chunk ( ) and min ( mycount ) not in xrange ( 1 , 8 ) : mycount = _chunk_fill_out_first_week ( self . year , self . month , mycount , self . event , diff = self . event . start_end_diff , ) for k , v in mycount . items ( ) : for item in v : self . count [ k ] . append ( item )
Created to take some of the load off of _handle_weekly_repeat_out
Created to take some of the load off of _handle_weekly_repeat_out