fix type annotation

This commit is contained in:
Maximilian Hils 2017-05-09 00:34:19 +02:00 committed by Thomas Kriechbaumer
parent cafa094f75
commit 8414df1e1a
1 changed files with 1 additions and 2 deletions

View File

@ -10,7 +10,6 @@ The View:
"""
import collections
import typing
import datetime
import blinker
import sortedcontainers
@ -69,7 +68,7 @@ class _OrderKey:
class OrderRequestStart(_OrderKey):
def generate(self, f: http.HTTPFlow) -> datetime.datetime:
def generate(self, f: http.HTTPFlow) -> int:
return f.request.timestamp_start or 0