Bug 1445990
| Summary: | Traceback when running rpmdeplint without arguments | ||
|---|---|---|---|
| Product: | [Community] rpmdeplint | Reporter: | Roman Joost <rjoost> |
| Component: | general | Assignee: | Dan Callaghan <dcallagh> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.2 | CC: | bmcivor, dcallagh, jorris, rjoost, tabdy |
| Target Milestone: | 1.4 | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-06-29 07:09:16 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Only happens on Python 3. I remember seeing this and thought I fixed it but seems like not. rpmdeplint 1.4 has been released. |
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