summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2007-12-30 01:42:55 +0100
committereliott <eliott@cactuswax.net>2007-12-30 01:42:55 +0100
commit3e297efad8e6dbb7622cedd68a2457f00dd09080 (patch)
tree1d66d932fa8e90bfa2c71f92d77a24b823831540 /public
parentff6d99b054efddb0725b0ddcbc81c58f7c8ce375 (diff)
downloadarchweb-3e297efad8e6dbb7622cedd68a2457f00dd09080.tar.gz
archweb-3e297efad8e6dbb7622cedd68a2457f00dd09080.tar.xz
Massive retab fest.
Also added vim command comment to the end of files.
Diffstat (limited to 'public')
-rw-r--r--public/models.py2
-rw-r--r--public/templatetags/validation.py15
-rw-r--r--public/views.py3
3 files changed, 14 insertions, 6 deletions
diff --git a/public/models.py b/public/models.py
index 883675b..79afb6f 100644
--- a/public/models.py
+++ b/public/models.py
@@ -48,3 +48,5 @@ class UserProfile(models.Model):
verbose_name = 'Additional Profile Data'
verbose_name_plural = 'Additional Profile Data'
+# vim: set ts=4 sw=4 et:
+
diff --git a/public/templatetags/validation.py b/public/templatetags/validation.py
index 40c48da..38a4053 100644
--- a/public/templatetags/validation.py
+++ b/public/templatetags/validation.py
@@ -4,9 +4,12 @@ register = template.Library()
@register.inclusion_tag('errors.html')
def print_errors(errors):
- errs = []
- for e,msg in errors.iteritems():
- errmsg = str(msg[0])
- # hack -- I'm a python idiot
- errs.append( (e, errmsg[2:-2]) )
- return {'errors': errs}
+ errs = []
+ for e,msg in errors.iteritems():
+ errmsg = str(msg[0])
+ # hack -- I'm a python idiot
+ errs.append( (e, errmsg[2:-2]) )
+ return {'errors': errs}
+
+# vim: set ts=4 sw=4 et:
+
diff --git a/public/views.py b/public/views.py
index 2cda74b..9c41ece 100644
--- a/public/views.py
+++ b/public/views.py
@@ -57,3 +57,6 @@ def robots(request):
def denied(request):
return render_response(request, 'public/denied.html')
+
+# vim: set ts=4 sw=4 et:
+