summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/patchwork/utils.py2
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'