[LNT] r349105 - This was an invalid type annotation
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 13 16:28:14 PST 2018
Author: cmatthews
Date: Thu Dec 13 16:28:13 2018
New Revision: 349105
URL: http://llvm.org/viewvc/llvm-project?rev=349105&view=rev
Log:
This was an invalid type annotation
Modified:
lnt/trunk/lnt/server/ui/views.py
Modified: lnt/trunk/lnt/server/ui/views.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/views.py?rev=349105&r1=349104&r2=349105&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/views.py (original)
+++ lnt/trunk/lnt/server/ui/views.py Thu Dec 13 16:28:13 2018
@@ -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
More information about the llvm-commits
mailing list