-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
When trying to use a namedtuple the attributes are not matching up:
Original:
Arg = ntup('Arg','name nix gnu help default action',defaults=(None,)*6)
for arg in args:
parser.add_argument(arg.nix, arg.gnu, action='store', help=arg.help, default=arg.default)
Obfsucated:
l1l111l_opy_ = namedtuple(l1ll1ll_opy_ (u"ࠫࡆࡸࡧࠨࡩ"),l1ll1ll_opy_ (u"ࠬࡴࡡࡧࠣࡲࡾࠠࡨࡰࡸࠤࡱࠢࡧࡩࡧࡵࡶࠣࡥࡨࡺࡩࡰࡰࠪࡪ"),defaults=(None,)*6)
for arg in args:
parser.add_argument(arg.l11111l_opy_, arg.l1llll1l1_opy_, action=l1ll1ll_opy_ (u"ࠧࡴࡶࡲࡶࡪ࠭ࡺ"), help=arg.help, default=arg.default)
Result:
AttributeError: 'Arg' object has no attribute 'l11111l_opy_'
Metadata
Metadata
Assignees
Labels
No labels