Fix python 3.3.0 argument parser issue #279

Closed
opened 2021-11-20 15:23:14 +00:00 by ungleich-gitea · 1 comment

Created by: telmich

[17:31] brief:~% cdist -v
Traceback (most recent call last):
File "/home/users/nico/p/cdist/cdist/bin/../scripts/cdist", line 230, in
commandline()
File "/home/users/nico/p/cdist/cdist/bin/../scripts/cdist", line 104, in commandline
args.func(args)
AttributeError: 'Namespace' object has no attribute 'func'
[17:31] brief:~% cdist -V
cdist 2.1.0pre8-64-ged7b6d1

Bug documented at pyothn:
http://bugs.python.org/issue16308

*Created by: telmich* [17:31] brief:~% cdist -v Traceback (most recent call last): File "/home/users/nico/p/cdist/cdist/bin/../scripts/cdist", line 230, in <module> commandline() File "/home/users/nico/p/cdist/cdist/bin/../scripts/cdist", line 104, in commandline args.func(args) AttributeError: 'Namespace' object has no attribute 'func' [17:31] brief:~% cdist -V cdist 2.1.0pre8-64-ged7b6d1 Bug documented at pyothn: http://bugs.python.org/issue16308
Author
Owner

Created by: telmich

Bug still exists in python, added a workaround in cdist.

*Created by: telmich* Bug still exists in python, added a workaround in cdist.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ungleich-public/cdist#279
No description provided.