found_status = False
result = []
- for l in urllib.urlopen(blueprint_url + '?'):
+ for l in urllib.urlopen(blueprint_url):
end = False
if not found_status:
if status_re.search(l):
data = workitems_over_time(db)
dates = sorted(data.keys())
+ if not dates:
+ return
f = _fromstr(from_date or dates[0])
t = _fromstr(to_date or dates[-1])