[odrs-web/production] trivial: Don't try getting the value of something unset



commit d52f799a1bd58f5e8028cd224766e5a18963283a
Author: Richard Hughes <richard hughsie com>
Date:   Mon Jul 10 09:35:14 2017 +0100

    trivial: Don't try getting the value of something unset

 app/views_admin.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/app/views_admin.py b/app/views_admin.py
index c63b72d..6efeadb 100644
--- a/app/views_admin.py
+++ b/app/views_admin.py
@@ -275,7 +275,6 @@ def admin_modify(review_id):
         review.user_display = None
     else:
         review.user_display = request.form['user_display']
-    review.user_hash = request.form['user_hash']
     review.description = request.form['description']
     review.summary = request.form['summary']
     review.version = request.form['version']


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]