[extensions-web] extensions: Make sure to show errors
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] extensions: Make sure to show errors
- Date: Mon, 18 Mar 2013 03:36:19 +0000 (UTC)
commit 29ae7cc3b36cc69923d8d14434281230af08a747
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sun Mar 17 23:35:50 2013 -0400
extensions: Make sure to show errors
sweettooth/extensions/views.py | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/sweettooth/extensions/views.py b/sweettooth/extensions/views.py
index ad2a4f2..44ceba2 100644
--- a/sweettooth/extensions/views.py
+++ b/sweettooth/extensions/views.py
@@ -406,8 +406,6 @@ def upload_file(request):
if version is not None:
models.submitted_for_review.send(sender=request, request=request, version=version)
return redirect(version.extension)
- else:
- return redirect('extensions-upload-file')
else:
form = UploadForm()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]