From 3b12794b1796e9285e282aa72aea6da15137a82e Mon Sep 17 00:00:00 2001 From: Manuel Ebert Date: Mon, 16 Apr 2012 13:42:01 +0200 Subject: [PATCH] Print to 3.0 syntax --- jrnl.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jrnl.py b/jrnl.py index 917dbd4b..042cf174 100755 --- a/jrnl.py +++ b/jrnl.py @@ -312,13 +312,13 @@ if __name__ == "__main__": if compose: raw = " ".join(args.text).strip() journal.new_entry(raw, args.date) - print journal + print("Entry added.") journal.write() else: # read mode journal.filter(tags=args.text, start_date=args.start_date, end_date=args.end_date, strict=args.strict) journal.limit(args.limit) if args.json: - print journal.to_json() + print(journal.to_json()) else: - print journal + print(journal)