Bug 1126893

Summary: [abrt] pylint: getopt.py:211:short_has_arg:getopt.GetoptError: option -V not recognized
Product: [Fedora] Fedora Reporter: redhat
Component: pylintAssignee: Brian Lane <bcl>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: bcl, mrunge, pankaj86, samuel_lee_1991
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/6b4cc26fde4e75cacab092c81f18cb65b9f591c0
Whiteboard: abrt_hash:a7ba67e59f6a2c160762e8bae4985771f216b34c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-17 00:05:25 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:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description redhat 2014-08-05 14:15:22 UTC
Version-Release number of selected component:
pylint-1.2-6.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python3 /usr/bin/python3-symilar -V
executable:     /usr/bin/python3-symilar
kernel:         3.15.7-200.fc20.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
getopt.py:211:short_has_arg:getopt.GetoptError: option -V not recognized

Traceback (most recent call last):
  File "/usr/bin/python3-symilar", line 9, in <module>
    load_entry_point('pylint==1.2.0', 'console_scripts', 'symilar')()
  File "/usr/lib/python3.3/site-packages/pylint/__init__.py", line 44, in run_symilar
    Run(sys.argv[1:])
  File "/usr/lib/python3.3/site-packages/pylint/checkers/similar.py", line 344, in Run
    opts, args = getopt(argv, s_opts, l_opts)
  File "/usr/lib64/python3.3/getopt.py", line 95, in getopt
    opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:])
  File "/usr/lib64/python3.3/getopt.py", line 195, in do_shorts
    if short_has_arg(opt, shortopts):
  File "/usr/lib64/python3.3/getopt.py", line 211, in short_has_arg
    raise GetoptError(_('option -%s not recognized') % opt, opt)
getopt.GetoptError: option -V not recognized

Local variables in innermost frame:
shortopts: 'hdi'
i: 2
opt: 'V'

Comment 1 redhat 2014-08-05 14:15:25 UTC
Created attachment 924223 [details]
File: backtrace

Comment 2 redhat 2014-08-05 14:15:26 UTC
Created attachment 924224 [details]
File: environ

Comment 3 Brian Lane 2014-10-17 00:05:25 UTC
This is how it treats unknown options.

Comment 4 Brian Lane 2015-06-03 17:03:28 UTC
*** Bug 1227822 has been marked as a duplicate of this bug. ***