aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2020-03-26 13:13:07 -0400
committerMike Frysinger <vapier@gentoo.org>2023-12-14 15:20:06 -0500
commitd51fa4ec5812e38af23ec773b0376d33e2b228ae (patch)
tree4ec75911dab24cfd5c6eed6624c2bfd5b7be335c
parentRevert "paxinc: include <alloca.h> for alloca" (diff)
downloadpax-utils-d51fa4ec5812e38af23ec773b0376d33e2b228ae.tar.gz
pax-utils-d51fa4ec5812e38af23ec773b0376d33e2b228ae.tar.bz2
pax-utils-d51fa4ec5812e38af23ec773b0376d33e2b228ae.zip
lddtree: add docstring for all classes
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rwxr-xr-xlddtree.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lddtree.py b/lddtree.py
index e851ac1..60f3a7c 100755
--- a/lddtree.py
+++ b/lddtree.py
@@ -596,6 +596,8 @@ def ParseELF(
class _NormalizePathAction(argparse.Action):
+ """Argparse action to normalize paths."""
+
def __call__(self, parser, namespace, values, option_string=None):
setattr(namespace, self.dest, normpath(values))