Fixed #30184 -- Removed ellipsis characters from shell output strings.

Partially reverted 50b8493581 (refs #29654)
to avoid a crash when the user shell doesn't support non-ASCII characters.
This commit is contained in:
Dan Davis 2019-02-13 13:59:44 -05:00 committed by Tim Graham
parent f63811f481
commit 2bd8df243a
19 changed files with 58 additions and 58 deletions

View file

@ -248,7 +248,7 @@ class QuerySet:
def __repr__(self):
data = list(self[:REPR_OUTPUT_SIZE + 1])
if len(data) > REPR_OUTPUT_SIZE:
data[-1] = "…(remaining elements truncated)…"
data[-1] = "...(remaining elements truncated)..."
return '<%s %r>' % (self.__class__.__name__, data)
def __len__(self):