From b47c5950330095ac29f17fc20f1ab775c468d746 Mon Sep 17 00:00:00 2001 From: Tobias Brox Date: Tue, 10 Sep 2019 13:46:07 +0000 Subject: python2 is again preferred, and print a warning if we're using python3 --- calendar-cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calendar-cli.py b/calendar-cli.py index 89861bd..e532ee9 100755 --- a/calendar-cli.py +++ b/calendar-cli.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 """ calendar-cli.py - high-level cli against caldav servers @@ -41,6 +41,7 @@ try: raw_input except NameError: raw_input = input + sys.write("here be dragons - calendar-cli is not properly tested for python3. See https://github.com/tobixen/calendar-cli/issues/33") try: unicode -- cgit v1.2.3