]> git.ozlabs.org Git - patchwork/commit
Use an explicit initial default patch state
authorDirk Wallenstein <halsmit@t-online.de>
Sun, 29 Apr 2012 03:11:48 +0000 (03:11 +0000)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 30 Apr 2012 06:22:21 +0000 (14:22 +0800)
commit55ef92901f11ce5497eb55df3064a5a74821a1e7
tree5e71b419f53c6cdd4c5717559ab2dd47d8045d4e
parentb76f7dd32ef83d55ace2f38ed84f5fc76e65e18e
Use an explicit initial default patch state

This will make editing states through the admin UI less error-prone, and
will facilitate parsing patches when relying on a default state, as well as
testing.

Use the explicit default state when parsing mails.

Signed-off-by: Dirk Wallenstein <halsmit@t-online.de>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
apps/patchwork/bin/parsemail.py
apps/patchwork/models.py