Skip to content

Commit 4fd33bf

Browse files
committed
Removed some unused code
- Legacy-Id: 1827
1 parent d90a550 commit 4fd33bf

11 files changed

Lines changed: 2 additions & 2207 deletions

File tree

ietf/contrib/BeautifulSoup.py

Lines changed: 0 additions & 1769 deletions
This file was deleted.

ietf/contrib/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
# Copyright The IETF Trust 2007, All Rights Reserved
22

3-
from form_decorator import form_decorator
4-
import BeautifulSoup

ietf/contrib/form_decorator.py

Lines changed: 0 additions & 78 deletions
This file was deleted.

ietf/contrib/wizard.py

Lines changed: 0 additions & 211 deletions
This file was deleted.

ietf/idindex/views.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
from ietf.idindex.forms import IDIndexSearchForm
4545
from ietf.idindex.models import alphabet, orgs, orgs_dict
4646
from ietf.utils import orl, flattenl, normalize_draftname
47-
import ietf
4847

4948
base_extra = { 'alphabet': alphabet, 'orgs': orgs }
5049

ietf/idtracker/templatetags/ietf_filters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import textwrap
44
import django
55
from django import template
6-
from django.utils.html import escape, fix_ampersands, linebreaks
6+
from django.utils.html import escape, fix_ampersands
77
from django.template.defaultfilters import linebreaksbr, wordwrap
88
from django.template import resolve_variable
99
try:

ietf/ipr/views.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Copyright The IETF Trust 2007, All Rights Reserved
22

3-
import django.utils.html
43
from django.shortcuts import render_to_response as render, get_object_or_404
54
from django.template import RequestContext
65
from django.template.loader import render_to_string
@@ -10,11 +9,6 @@
109
from ietf.ipr.view_sections import section_table
1110
from ietf.utils import log
1211

13-
def linebreaks(value):
14-
if value:
15-
return django.utils.html.linebreaks(value)
16-
else:
17-
return value
1812

1913
def default(request):
2014
"""Default page, with links to sub-pages"""

ietf/mailinglists/models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from django.db import models
44
from ietf.idtracker.models import Acronym, Area
5-
import random
65

76
class ImportedMailingList(models.Model):
87
group_acronym = models.ForeignKey(Acronym, null=True)

ietf/utils/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from listop import orl, flattenl
44
from log import log
55
from cache_foreign_key import FKAsOneToOne
6-
from soup2text import TextSoup, soup2text
76
from draft_search import normalize_draftname
87

98
# See http://docs.python.org/tut/node8.html regarding the use of __all__ and

0 commit comments

Comments
 (0)