Apply Python 3 futurize transform libfuturize.fixes.fix_print_with_import
Refer #256
This commit is contained in:
parent
d998bc400a
commit
37365ba5a3
21 changed files with 53 additions and 32 deletions
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env python2.7
|
||||
from __future__ import print_function
|
||||
import sys
|
||||
import time
|
||||
import datetime
|
||||
|
@ -99,7 +100,7 @@ def send_reminders():
|
|||
key = (uid, start)
|
||||
if key not in sent:
|
||||
line = '%s starts at %s' % (title, start.strftime('%H:%M'))
|
||||
print 'Sending reminder:', line
|
||||
print('Sending reminder:', line)
|
||||
messages.append(line)
|
||||
keys.add(key)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue