summaryrefslogtreecommitdiff
path: root/pgcommitfest/commitfest/views.py
diff options
context:
space:
mode:
authorMagnus Hagander2013-08-18 17:18:28 +0000
committerMagnus Hagander2013-08-18 17:18:28 +0000
commit728c68e5f7cf0e0d3fa83decd37c16cb5de9b1e1 (patch)
treeb724073103a805fdd162f82dd85d4fc604c92103 /pgcommitfest/commitfest/views.py
parent44193995a3704f4f7b7f3e7b193f974e5da5b10f (diff)
Fix typos
Diffstat (limited to 'pgcommitfest/commitfest/views.py')
-rw-r--r--pgcommitfest/commitfest/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pgcommitfest/commitfest/views.py b/pgcommitfest/commitfest/views.py
index 1a8ed82..da779c8 100644
--- a/pgcommitfest/commitfest/views.py
+++ b/pgcommitfest/commitfest/views.py
@@ -287,7 +287,7 @@ def close(request, cfid, patchid, status):
# have checked that we're not closed yet. Therefor, we don't
# need to check if the individual status has changed.
if status == 'reject':
- poc.status = PatchOnCommitFest.STATUS_REJECT
+ poc.status = PatchOnCommitFest.STATUS_REJECTED
elif status == 'feedback':
poc.status = PatchOnCommitFest.STATUS_RETURNED
# Figure out the commitfest to actually put it on
@@ -314,7 +314,7 @@ def close(request, cfid, patchid, status):
else:
raise Exception("Can't happen")
- poc.patch.set_mofified()
+ poc.patch.set_modified()
poc.patch.save()
poc.save()