imip-agent

Change of imiptools/period.py

283:4fcc448bb80f
imiptools/period.py
     1.1 --- a/imiptools/period.py	Sat Feb 07 17:33:31 2015 +0100
     1.2 +++ b/imiptools/period.py	Sat Feb 07 17:38:38 2015 +0100
     1.3 @@ -285,7 +285,7 @@
     1.4  
     1.5      return d
     1.6  
     1.7 -def add_empty_days(days, partitioned, tzid):
     1.8 +def add_empty_days(days, tzid):
     1.9  
    1.10      "Add empty days to 'days' between busy days."
    1.11  
    1.12 @@ -298,7 +298,6 @@
    1.13              empty_day = last_day + timedelta(1)
    1.14              while empty_day < day:
    1.15                  days[empty_day] = [(get_start_of_day(empty_day, tzid), None)]
    1.16 -                partitioned[empty_day] = {}
    1.17                  empty_day += timedelta(1)
    1.18          last_day = day 
    1.19