diff options
author | Jonathan S. Katz | 2017-11-25 14:43:20 +0000 |
---|---|---|
committer | Jonathan S. Katz | 2017-11-29 13:21:35 +0000 |
commit | 2f52c4f7c4aacf1ab15a3da29e44028a97d524e1 (patch) | |
tree | db8642c4185488aec0fa1629b49dc1444b132fbf /pgweb/util/helpers.py | |
parent | 530b3c42e3da012e70a75925b8dcaea0838b836e (diff) |
Clean up whitespace in primary Python / HTML files
Clean up the whitespace in the primary Python / HTML files in
order to make it easier to apply changes going forward.
Diffstat (limited to 'pgweb/util/helpers.py')
-rw-r--r-- | pgweb/util/helpers.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pgweb/util/helpers.py b/pgweb/util/helpers.py index a203b0ef..87e586ce 100644 --- a/pgweb/util/helpers.py +++ b/pgweb/util/helpers.py @@ -24,7 +24,7 @@ def simple_form(instancetype, itemid, request, formclass, formtemplate='base/for elif hasattr(instance, 'verify_submitter'): if not instance.verify_submitter(request.user): raise Exception("You are not the owner of this item!") - + if request.method == 'POST': # Process this form form = formclass(data=request.POST, instance=instance) @@ -88,4 +88,3 @@ class PgXmlHelper(django.utils.xmlutils.SimplerXMLGenerator): self.startElement(name, {}) self.characters(value) self.endElement(name) - |