Skip to content

Commit ec912d0

Browse files
committed
Python 2 fixes
1 parent f0ae719 commit ec912d0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

jupyter_client/jsonutil.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# coding: utf-8
12
"""Utilities to manipulate JSON objects."""
23

34
# Copyright (c) Jupyter Development Team.

jupyter_client/session.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def compare_digest(a,b): return a == b
4747
from datetime import timezone
4848
utc = timezone.utc
4949
except ImportError:
50+
# Python 2
5051
from dateutil.tz import tzutc
5152
utc = tzutc()
5253

0 commit comments

Comments
 (0)