aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman')
-rw-r--r--Mailman/Utils.py2
-rw-r--r--Mailman/Version.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/Mailman/Utils.py b/Mailman/Utils.py
index 7b8015a4..605d0976 100644
--- a/Mailman/Utils.py
+++ b/Mailman/Utils.py
@@ -297,7 +297,7 @@ def GetPathPieces(envar='PATH_INFO'):
longest = max([len(x) for x in list_names()])
else:
longest = 20
- if len(pieces[0]) > longest:
+ if pieces and len(pieces[0]) > longest:
syslog('mischief',
'Hostile listname: listname=%s: remote=%s', pieces[0], remote)
pieces[0] = pieces[0][:longest] + '...'
diff --git a/Mailman/Version.py b/Mailman/Version.py
index 9e6d1277..da704882 100644
--- a/Mailman/Version.py
+++ b/Mailman/Version.py
@@ -16,7 +16,7 @@
# USA.
# Mailman version
-VERSION = '2.1.28'
+VERSION = '2.1.29'
# And as a hex number in the manner of PY_VERSION_HEX
ALPHA = 0xa
@@ -28,7 +28,7 @@ FINAL = 0xf
MAJOR_REV = 2
MINOR_REV = 1
-MICRO_REV = 28
+MICRO_REV = 29
REL_LEVEL = FINAL
# at most 15 beta releases!
REL_SERIAL = 0