summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2014-07-16 14:09:41 +0000
committerGordon Sim <gsim@apache.org>2014-07-16 14:09:41 +0000
commit55bdf2c5cd9e0a9d4ea161204b50ef8e76eb15f9 (patch)
treefe5f2df19389b93fc289ada05a853507f80b6357 /tools
parent8f271941315bbf58887706de20f2bc15945c4c84 (diff)
downloadqpid-python-55bdf2c5cd9e0a9d4ea161204b50ef8e76eb15f9.tar.gz
QPID-5850: Support for long session names (patch from Ernie Allen)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1611016 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tools')
-rw-r--r--tools/src/py/qpidtoollibs/disp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/src/py/qpidtoollibs/disp.py b/tools/src/py/qpidtoollibs/disp.py
index 21e09f8d00..1b7419ba2c 100644
--- a/tools/src/py/qpidtoollibs/disp.py
+++ b/tools/src/py/qpidtoollibs/disp.py
@@ -182,8 +182,8 @@ class Display:
print line
line = self.tablePrefix
for width in colWidth:
- for i in range (width):
- line = line + "="
+ line = line + "=" * width
+ line = line[:255]
print line
for row in rows: