From 7eadee31db2f038763a3a6f978db1ea76bbc4674 Mon Sep 17 00:00:00 2001 From: Giampaolo Rodola Date: Sat, 1 Apr 2023 12:24:59 +0200 Subject: Fix pylint warnings / cleanup (#2218) --- scripts/procinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/procinfo.py') diff --git a/scripts/procinfo.py b/scripts/procinfo.py index 743a1777..fd44c83e 100755 --- a/scripts/procinfo.py +++ b/scripts/procinfo.py @@ -316,7 +316,7 @@ def run(pid, verbose=False): print_("", template % (bytes2human(region.rss), region.path)) -def main(argv=None): +def main(): parser = argparse.ArgumentParser( description="print information about a process") parser.add_argument("pid", type=int, help="process pid", nargs='?') -- cgit v1.2.1