Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: Added variants of sendfd and sendreq that take sendmsg flags.
[ashd.git]
/
python3
/
ashd
/
perf.py
diff --git
a/python3/ashd/perf.py
b/python3/ashd/perf.py
index
c4b0950
..
6942424
100644
(file)
--- a/
python3/ashd/perf.py
+++ b/
python3/ashd/perf.py
@@
-13,7
+13,7
@@
if pdm:
class reqstart(pdm.perf.startevent):
def __init__(self, env):
class reqstart(pdm.perf.startevent):
def __init__(self, env):
- super(
reqstart, self
).__init__()
+ super().__init__()
self.method = env.get("REQUEST_METHOD")
self.uri = env.get("REQUEST_URI")
self.host = env.get("HTTP_HOST")
self.method = env.get("REQUEST_METHOD")
self.uri = env.get("REQUEST_URI")
self.host = env.get("HTTP_HOST")
@@
-22,7
+22,7
@@
if pdm:
class reqfinish(pdm.perf.finishevent):
def __init__(self, start, aborted, status):
class reqfinish(pdm.perf.finishevent):
def __init__(self, start, aborted, status):
- super(
reqfinish, self
).__init__(start, aborted)
+ super().__init__(start, aborted)
self.status = status
class request(object):
self.status = status
class request(object):