diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2017-10-27 22:40:48 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2017-10-27 22:40:48 -0400 |
commit | a46d9840330786cb947a0613bf47878a24ddb572 (patch) | |
tree | e998a2b6152819fc05e1cd73715cfd8dba37c532 /cherrypy/lib/profiler.py | |
parent | 501ffc9ed76c93488872b145004532f36e8b9513 (diff) | |
download | cherrypy-git-a46d9840330786cb947a0613bf47878a24ddb572.tar.gz |
Feed the hobgoblins (delint).
Diffstat (limited to 'cherrypy/lib/profiler.py')
-rw-r--r-- | cherrypy/lib/profiler.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cherrypy/lib/profiler.py b/cherrypy/lib/profiler.py index 94b87982..fccf2eb8 100644 --- a/cherrypy/lib/profiler.py +++ b/cherrypy/lib/profiler.py @@ -51,7 +51,11 @@ try: """ filename, line, name = func_name if filename.endswith('__init__.py'): - return os.path.basename(filename[:-12]) + filename[-12:], line, name + return ( + os.path.basename(filename[:-12]) + filename[-12:], + line, + name, + ) return os.path.basename(filename), line, name pstats.func_strip_path = new_func_strip_path |