Bug 182244 - yum shell AttributeError traceback on wrong command
Summary: yum shell AttributeError traceback on wrong command
Keywords:
Status: CLOSED DUPLICATE of bug 181454
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-02-21 12:45 UTC by Sander Hoentjen
Modified: 2014-01-21 22:53 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-21 13:37:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Sander Hoentjen 2006-02-21 12:45:48 UTC
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:

Comment 1 Seth Vidal 2006-02-21 13:37:38 UTC

*** This bug has been marked as a duplicate of 181454 ***


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