aboutsummaryrefslogtreecommitdiff
path: root/lnt/server
diff options
context:
space:
mode:
authorChris Matthews <cmatthews5@apple.com>2018-12-14 00:28:13 +0000
committerChris Matthews <cmatthews5@apple.com>2018-12-14 00:28:13 +0000
commitcb9f3d6ed107c7e0516de6a7ae9fbb6ead193a22 (patch)
treebcbde1b572817ac3f5af1fd4c8dd9dde60b9bd5d /lnt/server
parent34c9493a8e5e2ab61d0c520db05032616e3a650e (diff)
This was an invalid type annotation
git-svn-id: https://llvm.org/svn/llvm-project/lnt/trunk@349105 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lnt/server')
-rw-r--r--lnt/server/ui/views.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lnt/server/ui/views.py b/lnt/server/ui/views.py
index 3c4934b..6c72a5d 100644
--- a/lnt/server/ui/views.py
+++ b/lnt/server/ui/views.py
@@ -19,7 +19,7 @@ from flask import request, url_for
from flask_wtf import Form
from sqlalchemy.orm import joinedload
from sqlalchemy.orm.exc import NoResultFound
-from typing import List, Optional, Text, Union
+from typing import List, Optional
from wtforms import SelectField, StringField, SubmitField
from wtforms.validators import DataRequired, Length
@@ -1258,7 +1258,6 @@ def v4_graph():
def determine_x_value(point_label, fallback, revision_cache):
- # type: (Text, int, dict) -> Union(int|float)
"""Given the order data, lets make a reasonable x axis value.
:param point_label: the text representation of the x value