Skip to content

Commit c72803a

Browse files
authored
Merge pull request #374 from blink1073/remove_genutils
2 parents 440fef1 + 7980d8f commit c72803a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel_gateway/services/sessions/sessionmanager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from notebook.utils import maybe_future
77
from tornado import web, gen
88
from traitlets.config.configurable import LoggingConfigurable
9-
from ipython_genutils.py3compat import unicode_type
9+
1010

1111
class SessionManager(LoggingConfigurable):
1212
"""Simple implementation of the SessionManager interface that allows clients
@@ -48,7 +48,7 @@ def session_exists(self, path, *args, **kwargs):
4848

4949
def new_session_id(self):
5050
"""Creates a uuid for a new session."""
51-
return unicode_type(uuid.uuid4())
51+
return str(uuid.uuid4())
5252

5353
@gen.coroutine
5454
def create_session(self, path=None, kernel_name=None, kernel_id=None, *args, **kwargs):

0 commit comments

Comments
 (0)