[REM]unnecessary code.

bzr revid: vme@tinyerp.com-20140324052855-atpcer0b8vt0v356
This commit is contained in:
Vidhin Mehta (OpenERP) 2014-03-24 10:58:55 +05:30
parent 8ad6ea8e76
commit af8149264a
1 changed files with 0 additions and 6 deletions

View File

@ -203,11 +203,6 @@ class website_event(http.Controller):
for loc in skip_td[skip].keys():
skip_td[skip][loc] = list(set(skip_td[skip][loc]))
timezone = []
for tt in pytz.common_timezones:
melbourne = pytz.timezone(tt)
timezone.append([melbourne.utcoffset(datetime.datetime.now()).total_seconds()/60, tt])
values = {
'event': event,
'main_object': event,
@ -216,7 +211,6 @@ class website_event(http.Controller):
'skip_td': skip_td,
'talks':talks,
'format_date':format_date,
'timezone':timezone,
}
return request.website.render("website_event_track.agenda", values)