~barry/mailman/templatecache

« back to all changes in this revision

Viewing changes to src/mailman/email/message.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:
219
219
        if mlist is not None:
220
220
            enqueue_kws['listname'] = mlist.fqdn_listname
221
221
        enqueue_kws.update(_kws)
222
 
        # Keywords must be strings in Python 2.6.
223
 
        str_keywords = dict()
224
 
        for key, val in enqueue_kws.items():
225
 
            str_keywords[str(key)] = val
226
 
        virginq.enqueue(self, **str_keywords)
 
222
        virginq.enqueue(self, **enqueue_kws)
227
223
 
228
224
 
229
225