Fix lower-case bug in pw script

This commit is contained in:
Carsten Dominik 2010-08-02 08:19:52 +02:00
parent 743a7b8293
commit 2072def1b9

View file

@ -321,10 +321,10 @@ def action_update_patch(rpc, patch_id, state = None, commit = None,
from_addr = '%s <%s>' % (person['name'], person['email'])
cc_addr = '%s <%s>' % (submitter['name'], submitter['email'])
to_addr = notify_on_state_change[state]
to_addr = notify_on_state_change[state.lower()]
orig_mail = rpc.patch_get_mbox(patch_id)
orig_mail = '> ' + orig_mail.replace('\n','\n> ')
orig_mail = rpc.patch_get_mbox(patch_id)
orig_mail = '> ' + orig_mail.replace('\n','\n> ')
longdesc = '''Patch %s (http://patchwork.newartisans.com/patch/%s/) is now "%s".