BREAKING CHANGE! Rename 'await' to 'wait'. · Rosuav/LetMeKnow@2ecbbdc (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 2ecbbdc

BREAKING CHANGE! Rename 'await' to 'wait'.

This is an externally-visible change; the command is now: $ python letmeknow.py wait It's a necessary part of Python 3 compatibility (3.7 - see PEP 492), so it's best to do it sooner rather than later

File tree

1 file changed

lines changed

1 file changed

lines changed

Lines changed: 1 addition & 1 deletion

Original file line number Diff line number Diff line change
@@ -134,7 +134,7 @@ def set_title(title):
134 134
135 135 @command
136 136 @kwoargs("offset","days","title")
137 -def await(calendar=DEFAULT_CALENDAR, offset=0, days=7, title=False):
137 +def wait(calendar=DEFAULT_CALENDAR, offset=0, days=7, title=False):
138 138 """Await the next event on this calendar
139 139
140 140 calendar: Calendar ID, as shown by list()