# HG changeset patch # User Daniel O'Connor # Date 1505129230 -34200 # Node ID b610ce4ec081d249908581fc8a10bcb1455da90f # Parent 9fac3371e9ad51043c632c08a82b123574c771e1 Cull dead code. diff -r 9fac3371e9ad -r b610ce4ec081 agl.py --- a/agl.py Mon Sep 11 18:07:16 2017 +0930 +++ b/agl.py Mon Sep 11 20:57:10 2017 +0930 @@ -17,17 +17,6 @@ # ?endDate=2017-08-23&granularity=Minute&metrics=read&startDate=2017-08-23&units=W' logouturl = 'https://command.aglsolar.com.au/api/v2/Account/Logout' -class UTC(datetime.tzinfo): - def utcoffset(self, dt): - return datetime.timedelta(0) - - def dst(self, dt): - return datetime.timedelta(0) - - def tzname(self, dt): - return "UTC" - - def valid_date(s): try: return datetime.datetime.strptime(s, "%Y-%m-%d")