Skip to content

Commit

Permalink
Try to fix python 3.7 mypy error
Browse files Browse the repository at this point in the history
  • Loading branch information
Andi Kleen committed Nov 20, 2023
1 parent 4402a75 commit 6c93d08
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions toplev.py
Original file line number Diff line number Diff line change
Expand Up @@ -1287,8 +1287,7 @@ def execute(self, r):
if args.import_:
print_perf(r)
if args.script_record:
self.perf = subprocess.Popen([feat.perf, "stat", "report", "-x;", "-i", args.import_],
stderr=subprocess.PIPE, **popentext) # type: ignore
self.perf = subprocess.Popen([feat.perf, "stat", "report", "-x;", "-i", args.import_], stderr=subprocess.PIPE, **popentext) # type: ignore
return self.perf.stderr
self.perf = None
try:
Expand Down

0 comments on commit 6c93d08

Please sign in to comment.