Skip to content

Commit 239f37b

Browse files
author
Csaba Drahos
committed
replace references for COPYING.md / COPYING.txt / COPYING to LICENSE
1 parent efa01e0 commit 239f37b

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include COPYING.md
1+
include LICENSE
22
include CONTRIBUTING.md
33
include README.md
44

jupyter_console/tests/writetofile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2012 The IPython Development Team
33
#
44
# Distributed under the terms of the BSD License. The full license is in
5-
# the file COPYING, distributed as part of this software.
5+
# the file LICENSE, distributed as part of this software.
66
#-----------------------------------------------------------------------------
77

88
"""

jupyter_console/zmqhistory.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
""" ZMQ Kernel History accessor and manager. """
2-
#-----------------------------------------------------------------------------
2+
# -----------------------------------------------------------------------------
33
# Copyright (C) 2010-2011 The IPython Development Team.
44
#
55
# Distributed under the terms of the BSD License.
66
#
7-
# The full license is in the file COPYING.txt, distributed with this software.
8-
#-----------------------------------------------------------------------------
7+
# The full license is in the file LICENSE, distributed with this software.
8+
# -----------------------------------------------------------------------------
99

10-
#-----------------------------------------------------------------------------
10+
# -----------------------------------------------------------------------------
1111
# Imports
12-
#-----------------------------------------------------------------------------
12+
# -----------------------------------------------------------------------------
1313

1414
from IPython.core.history import HistoryAccessorBase
1515
from traitlets import Dict, List
1616

1717
from queue import Empty # Py 3
1818

19+
1920
class ZMQHistoryManager(HistoryAccessorBase):
2021
"""History accessor and manager for ZMQ-based kernels"""
2122
input_hist_parsed = List([""])
@@ -44,7 +45,7 @@ def _load_history(self, raw=True, output=False, hist_access_type='range',
4445
"""
4546
history = []
4647
if hasattr(self.client, "history"):
47-
## In tests, KernelClient may not have a history method
48+
# In tests, KernelClient may not have a history method
4849
msg_id = self.client.history(raw=raw, output=output,
4950
hist_access_type=hist_access_type,
5051
**kwargs)
@@ -69,7 +70,7 @@ def search(self, pattern="*", raw=True, search_raw=True,
6970
raw=raw, search_raw=search_raw,
7071
output=output, n=n, unique=unique)
7172

72-
def get_range(self, session, start=1, stop=None, raw=True,output=False):
73+
def get_range(self, session, start=1, stop=None, raw=True, output=False):
7374
return self._load_history(hist_access_type='range', raw=raw,
7475
output=output, start=start, stop=stop,
7576
session=session)
@@ -89,4 +90,3 @@ def reset(self, new_session=True):
8990
Nothing to do for ZMQ-based histories.
9091
"""
9192
pass
92-

0 commit comments

Comments
 (0)