del: Unused code
This commit is contained in:
parent
27e336dc5c
commit
6a95b3dd74
1 changed files with 0 additions and 11 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
import datetime
|
import datetime
|
||||||
from html.parser import HTMLParser
|
|
||||||
from django import views as DjangoViews
|
from django import views as DjangoViews
|
||||||
|
|
||||||
from django.db import transaction
|
from django.db import transaction
|
||||||
|
|
@ -16,16 +15,6 @@ import treenode.treelib as t
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
class FirstTagParser(HTMLParser):
|
|
||||||
def __init__(self, *args, **kwargs):
|
|
||||||
self.firstTag = None
|
|
||||||
super().__init__(*args, **kwargs)
|
|
||||||
|
|
||||||
def handle_data(self, data):
|
|
||||||
if self.firstTag == None:
|
|
||||||
self.firstTag = data
|
|
||||||
|
|
||||||
|
|
||||||
def histogram(seznam):
|
def histogram(seznam):
|
||||||
d = {}
|
d = {}
|
||||||
for i in seznam:
|
for i in seznam:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue