flake8 cleanups

This commit is contained in:
Roberto Rosario
2011-04-23 23:03:56 -04:00
parent 202bde555b
commit 5b5a90100c
10 changed files with 32 additions and 38 deletions

View File

@@ -100,8 +100,6 @@ class DocumentPageForm_edit(forms.ModelForm):
class ImageWidget(forms.widgets.Widget):
def render(self, name, value, attrs=None):
output = []
page_count = value.documentpage_set.count()
output.append(u'<div style="white-space:nowrap; overflow: auto;">')
for page in value.documentpage_set.all():