~barry/mailman/templatecache

« back to all changes in this revision

Viewing changes to src/mailman/rules/administrivia.py

  • Committer: Barry Warsaw
  • Date: 2012-10-31 16:37:22 UTC
  • mfrom: (7178.1.1 work2)
  • Revision ID: barry@list.org-20121031163722-3lszhsiv9ai0akfp
 * Python 2.7 is not required.  Python 2.6 is no longer officially supported.
   The code base is now also `python2.7 -3` clean, although there are still
   some warnings in 3rd party dependencies.  LP: #1073506

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
                if len(line) == 0:
85
85
                    continue
86
86
                lineno += 1
87
 
                if lineno > config.mailman.email_commands_max_lines:
 
87
                if lineno > int(config.mailman.email_commands_max_lines):
88
88
                    break
89
89
                lines_to_check.append(line)
90
90
            # Only look at the first text/plain part.