Skip to content

Commit

Permalink
fixup: remove unecessary lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
Prakash Surya committed Oct 13, 2020
1 parent aaf798b commit d8f6408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdb/commands/threads.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class Threads(sdb.Locator, sdb.PrettyPrinter):
"pid": lambda obj: int(obj.pid),
"prio": lambda obj: int(obj.prio),
"comm": lambda obj: str(obj.comm.string_().decode("utf-8")),
"cmdline": lambda obj: _cmdline(obj),
"cmdline": _cmdline,
}

def pretty_print(self, objs: Iterable[drgn.Object]) -> None:
Expand Down

0 comments on commit d8f6408

Please sign in to comment.