Fixed formatting

This commit is contained in:
dvanaken 2020-01-13 16:08:43 -05:00 committed by Dana Van Aken
parent 7b962c4065
commit 9f9f2845d6
2 changed files with 3 additions and 3 deletions

View File

@ -7,10 +7,10 @@
import re
from collections import OrderedDict
from ..base.parser import BaseParser
from .. import target_objectives
from website.models import KnobCatalog, MetricCatalog
from website.types import MetricType, VarType
from ..base.parser import BaseParser
from .. import target_objectives
class MyRocksParser(BaseParser):

View File

@ -775,7 +775,7 @@ def dbms_data_view(request, context, dbms_data, session, target_obj):
else:
model_class = MetricData
featured_names = set(MetricCatalog.objects.filter(
dbms=session.dbms, metric_type__in=MetricCtype.numeric()).values_list(
dbms=session.dbms, metric_type__in=MetricType.numeric()).values_list(
'name', flat=True))
obj_data = getattr(dbms_data, data_type)