Skip to content

Commit

Permalink
whitespace changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tobixen committed Jun 7, 2020
1 parent 18c896a commit 97223fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions calendar-cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python

"""
calendar-cli.py - high-level cli against caldav servers
Expand Down Expand Up @@ -507,8 +507,8 @@ def calendar_agenda(caldav_conn, args):
dtstart = tzinfo.localize(dtstart)
## convert into timezone given in args:
dtstart = dtstart.astimezone(_tz(args.timezone))

events.append({'dtstart': dtstart, 'instance': event})

## changed to use the "key"-parameter at 2019-09-18, as needed for python3.
## this will probably cause regression on sufficiently old versions of python
events.sort(key=lambda a: a['dtstart'])
Expand Down

0 comments on commit 97223fd

Please sign in to comment.