Skip to content

Commit

Permalink
Cosmetic edits to pass flake8 style checks in CI pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
spillner committed Oct 8, 2024
1 parent ec5b5b9 commit 8583d5a
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions owslib/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,15 @@ class ServiceException(Exception):

# Allows marking timestamps as UTC without pulling in all of Pytz
class TimeZone_UTC(tzinfo):
def tzname(self, dt):
return "UTC"
def tzname(self, dt):
return "UTC"

def utcoffset(self, dt):
return timedelta(0)
def utcoffset(self, dt):
return timedelta(0)

def dst(self, dt):
return timedelta(0)

def dst(self, dt):
return timedelta(0)

tz_utc = TimeZone_UTC()

Expand Down

0 comments on commit 8583d5a

Please sign in to comment.