Bug 182244
Summary: | yum shell AttributeError traceback on wrong command | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Sander Hoentjen <sander> |
Component: | yum | Assignee: | Jeremy Katz <katzj> |
Status: | CLOSED DUPLICATE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | katzj |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-02-21 13:37:38 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060210 Fedora/1.5.0.1-3 Firefox/1.5.0.1 Description of problem: Yum shell doesn't handle bad commands gracefully anymore Version-Release number of selected component (if applicable): yum-2.5.1-5 How reproducible: Always Steps to Reproduce: 1. # yum shell 2. > foo Actual Results: # yum shell Loading "installonlyn" plugin Setting up Yum Shell > foo Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.main(sys.argv[1:]) File "/usr/share/yum-cli/yummain.py", line 97, in main result, resultmsgs = do() File "/usr/share/yum-cli/cli.py", line 438, in doShell yumshell.cmdloop() File "/usr/lib/python2.4/cmd.py", line 142, in cmdloop stop = self.onecmd(line) File "/usr/lib/python2.4/cmd.py", line 218, in onecmd return self.default(line) File "/usr/share/yum-cli/shell.py", line 75, in default self.do_help('') File "/usr/share/yum-cli/shell.py", line 92, in do_help msg = self.base.optparser.print_short_help() AttributeError: YumOptionParser instance has no attribute 'print_short_help' Expected Results: print_short_help :) Additional info: