Bug 1445990 - Traceback when running rpmdeplint without arguments
Summary: Traceback when running rpmdeplint without arguments
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: rpmdeplint
Classification: Community
Component: general
Version: 1.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 1.4
Assignee: Dan Callaghan
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-26 23:21 UTC by Roman Joost
Modified: 2017-06-29 07:09 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-29 07:09:16 UTC
Embargoed:


Attachments (Terms of Use)

Description Roman Joost 2017-04-26 23:21:24 UTC
Description of problem:

I get an AttributeError when running rpmdeplint without arguments.

Version-Release number of selected component (if applicable):
1.2

How reproducible:
100%

Steps to Reproduce:
1. Run: rpmdeplint without arguments

Actual results:

Traceback (most recent call last):
  File "/usr/bin/rpmdeplint", line 9, in <module>
    load_entry_point('rpmdeplint==1.2', 'console_scripts', 'rpmdeplint')()
  File "/usr/lib/python3.5/site-packages/rpmdeplint/cli.py", line 220, in main
    return args.func(args)
AttributeError: 'Namespace' object has no attribute 'func'


Expected results:
usage: rpmdeplint [-h] [--debug] [--version]
                  {check,check-sat,check-repoclosure,check-conflicts,check-upgrade,list-deps}
                  ...
rpmdeplint: error: too few arguments

Additional info:

packages installed: python3-rpmdeplint, rpmdeplint

Comment 1 Dan Callaghan 2017-04-26 23:41:02 UTC
Only happens on Python 3.

I remember seeing this and thought I fixed it but seems like not.

Comment 2 Dan Callaghan 2017-04-28 02:24:08 UTC
https://gerrit.beaker-project.org/5676

Comment 3 Dan Callaghan 2017-06-29 07:09:16 UTC
rpmdeplint 1.4 has been released.


Note You need to log in before you can comment on or make changes to this bug.