diff --git a/.flake8 b/.flake8 index 04fa44bd..746b1206 100644 --- a/.flake8 +++ b/.flake8 @@ -20,7 +20,6 @@ ignore = E231 # missing whitespace after ',' E265 # block comment should start with '# ' E266 # too many leading '#' for block comment - E301 # expected 1 blank line E302 # expected 2 blank lines, found 1 E305 # expected 2 blank lines after class or function definition E402 # module level import not at top of file diff --git a/cron/duo_logpull.py b/cron/duo_logpull.py index 95d4cfd0..027c02a5 100644 --- a/cron/duo_logpull.py +++ b/cron/duo_logpull.py @@ -15,8 +15,10 @@ except ImportError: class UTC(tzinfo): def utcoffset(self, dt): return timedelta(0) + def tzname(self, dt): return "UTC" + def dst(self, dt): return timedelta(0) utc = UTC()