fc @ s d d l m Z d d l m Z d d l m Z d d l m Z m Z d d l m
Z
d d l Z d d l Z d d l
j j Z d d l j j Z d d l j Z d d l m Z d d l m Z d Z e j d
Z d e f d YZ d S(
i( t deque( t _( t LaunchHelper( t InteractivePlugint ObjectDisplayOption( t SymptomN( t
get_file_type( t paths Dan Varga <dvarga@redhat.com>s# redhat_support_tool.plugins.analyzet Analyzec B s e Z d Z e d Z e d Z e d Z d Z d Z d Z
d Z d Z e
d Z e
d Z e
d Z d Z d Z d
Z d Z d Z d
Z d Z d d Z d Z RS( t analyzes Analyze a file for symptomss2 %s of %s symptoms displayed. Type 'm' to see more.s No more symptoms to displayc C s t j | d S( N( R t __init__( t self( ( sG /usr/lib/python2.7/site-packages/redhat_support_tool/plugins/analyze.pyR
. s c C s
t d S( s
The usage statement that will be printed by OptionParser.
Example:
- %prog -c CASENUMBER [options] <comment text here>
Important: %prog is a OptionParser built-in. Use it!
s %prog <file for analysis>( R ( t cls( ( sG /usr/lib/python2.7/site-packages/redhat_support_tool/plugins/analyze.pyt get_usage1 s c C s t d | j | j f S( s
The description statement that will be printed by OptionParser.
Example:
- 'Use the '%s' command to add a comment to a case.' % cls.plugin_name
sQ Use the '%s' command to analyze Python or Java errors contained in output from either Python or Java applications.
Only the first occurrence of the error in the output will be analyzed.
All other types of files/output are unsupported with the '%s' command.
The 'btextract' command is specifically targeted for kernelcore file analysis.
( R t plugin_name( R ( ( sG /usr/lib/python2.7/site-packages/redhat_support_tool/plugins/analyze.pyt get_desc<