remove a bunch of old vi modelines
This commit is contained in:
parent
56b288e8b4
commit
1ec1b54e5a
@ -142,5 +142,3 @@ try:
|
||||
from dr_botzo.localsettings import *
|
||||
except ImportError:
|
||||
print("WARNING: no localsettings.py found!")
|
||||
|
||||
# vi:tabstop=4:expandtab:autoindent
|
||||
|
@ -1,15 +1,9 @@
|
||||
"""
|
||||
dr_botzo/views.py --- various random views
|
||||
|
||||
"""
|
||||
"""Various random views."""
|
||||
|
||||
from django.http import HttpResponse
|
||||
from django.shortcuts import render
|
||||
|
||||
|
||||
def home(request):
|
||||
"""Site index, nothing special (or at all, right now)."""
|
||||
|
||||
return HttpResponse()
|
||||
|
||||
# vi:tabstop=4:expandtab:autoindent
|
||||
|
@ -5,5 +5,3 @@ from markov.models import MarkovContext, MarkovTarget, MarkovState
|
||||
admin.site.register(MarkovContext)
|
||||
admin.site.register(MarkovTarget)
|
||||
admin.site.register(MarkovState)
|
||||
|
||||
# vi:tabstop=4:expandtab:autoindent
|
||||
|
@ -1,7 +1,4 @@
|
||||
"""
|
||||
markov/forms.py --- forms for manipulating markov data
|
||||
|
||||
"""
|
||||
"""Forms for manipulating markov data."""
|
||||
|
||||
import logging
|
||||
|
||||
@ -32,5 +29,3 @@ class TeachLineForm(Form):
|
||||
line = CharField()
|
||||
strip_prefixes = CharField(help_text="Space-separated list of line prefixes to strip.",
|
||||
required=False)
|
||||
|
||||
# vi:tabstop=4:expandtab:autoindent
|
||||
|
@ -68,5 +68,3 @@ class MarkovState(models.Model):
|
||||
"""String representation."""
|
||||
|
||||
return u"{0:s},{1:s} -> {2:s} (count: {3:d})".format(self.k1, self.k2, self.v, self.count)
|
||||
|
||||
# vi:tabstop=4:expandtab:autoindent
|
||||
|
@ -1,7 +1,4 @@
|
||||
"""
|
||||
markov/urls.py --- url patterns for markov stuff
|
||||
|
||||
"""
|
||||
"""URL patterns for markov stuff."""
|
||||
|
||||
from django.conf.urls import patterns, url
|
||||
|
||||
@ -11,5 +8,3 @@ urlpatterns = patterns('markov.views',
|
||||
url(r'^import/$', 'import_file', name='markov_import_file'),
|
||||
url(r'^teach/$', 'teach_line', name='markov_teach_line'),
|
||||
)
|
||||
|
||||
# vi:tabstop=4:expandtab:autoindent
|
||||
|
@ -5,5 +5,3 @@ from races.models import Race, Racer, RaceUpdate
|
||||
admin.site.register(Race)
|
||||
admin.site.register(Racer)
|
||||
admin.site.register(RaceUpdate)
|
||||
|
||||
# vi:tabstop=4:expandtab:autoindent
|
||||
|
@ -1,7 +1,4 @@
|
||||
"""
|
||||
races/models.py --- models for managing competitive races
|
||||
|
||||
"""
|
||||
"""Models for managing competitive races."""
|
||||
|
||||
import logging
|
||||
|
||||
@ -64,5 +61,3 @@ class RaceUpdate(models.Model):
|
||||
local_time = timezone.localtime(self.event_time)
|
||||
return u"{0:s} in {1:s} @ {2:s}".format(self.racer.nick, self.race.name,
|
||||
local_time.strftime('%Y-%m-%d %H:%M:%S %Z'))
|
||||
|
||||
# vi:tabstop=4:expandtab:autoindent
|
||||
|
@ -4,5 +4,3 @@ urlpatterns = patterns('races.views',
|
||||
url(r'^$', 'index', name='races_index'),
|
||||
url(r'^race/(?P<race_id>[A-Za-z0-9]+)/$', 'race_detail', name='race_detail'),
|
||||
)
|
||||
|
||||
# vi:tabstop=4:expandtab:autoindent
|
||||
|
@ -1,7 +1,4 @@
|
||||
"""
|
||||
races/views.py --- display race statuses and whatnot
|
||||
|
||||
"""
|
||||
"""Display race statuses and whatnot."""
|
||||
|
||||
import logging
|
||||
|
||||
@ -27,5 +24,3 @@ def race_detail(request, race_id):
|
||||
race = get_object_or_404(Race, pk=race_id)
|
||||
|
||||
return render(request, 'races/race_detail.html', {'race': race})
|
||||
|
||||
# vi:tabstop=4:expandtab:autoindent
|
||||
|
@ -8,5 +8,3 @@ class SeenNickAdmin(admin.ModelAdmin):
|
||||
|
||||
|
||||
admin.site.register(SeenNick, SeenNickAdmin)
|
||||
|
||||
# vi:tabstop=4:expandtab:autoindent
|
||||
|
@ -23,5 +23,3 @@ class SeenNick(models.Model):
|
||||
local_time = timezone.localtime(self.seen_time)
|
||||
return u"{0:s} seen in {1:s} at {2:s}".format(self.nick, self.channel,
|
||||
local_time.strftime('%Y-%m-%d %H:%M:%S %Z'))
|
||||
|
||||
# vi:tabstop=4:expandtab:autoindent
|
||||
|
Loading…
Reference in New Issue
Block a user