diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2009-07-08 12:49:32 +1000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2009-07-08 12:49:32 +1000 |
commit | e43b67dff2074bf0158c15f266c6f7796aa82ffe (patch) | |
tree | 2bef0ce85c604cd80209eadfad66642378a03044 /apps | |
parent | 487b53576fb71be3d675605efa41e118e4993f32 (diff) | |
download | patchwork-e43b67dff2074bf0158c15f266c6f7796aa82ffe.tar.bz2 patchwork-e43b67dff2074bf0158c15f266c6f7796aa82ffe.tar.xz |
Fix unarchive action
We want to un-archive, not re-archive.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/patchwork/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/patchwork/utils.py b/apps/patchwork/utils.py index 797951c..fa26aef 100644 --- a/apps/patchwork/utils.py +++ b/apps/patchwork/utils.py @@ -183,7 +183,7 @@ def set_patches(user, project, action, data, patches, context): str = 'archived' elif action == 'unarchive': - patch.archived = True + patch.archived = False patch.save() str = 'un-archived' |