/usr/lib/python2.6/site-packages/cliff
Edit: /usr/lib/python2.6/site-packages/cliff/app.pyc (12072B)
Ñò
yDVc @ s d Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k
l Z d d k l
Z
l Z d d k l Z l Z e e d ƒ o
e i Z n d e i f d „ ƒ YZ e i d ƒ i e ƒ ƒ d
e f d „ ƒ YZ d S( s Application base class.
iÿÿÿÿNi ( t CompleteCommand( t
HelpActiont HelpCommand( t damerau_levenshteint COSTt NullHandlerc B s# e Z d „ Z d „ Z d „ Z RS( c C s d S( N( ( t selft record( ( s( /tmp/pip-build-lt8jXN/cliff/cliff/app.pyt handle s c C s d S( N( ( R R ( ( s( /tmp/pip-build-lt8jXN/cliff/cliff/app.pyt emit s c C s
d | _ d S( N( t Nonet lock( R ( ( s( /tmp/pip-build-lt8jXN/cliff/cliff/app.pyt
createLock s ( t __name__t
__module__R R R ( ( ( s( /tmp/pip-build-lt8jXN/cliff/cliff/app.pyR s t clifft Appc B sÜ e Z d Z e i i e i i e i d ƒ ƒ d Z e
i e ƒ Z d Z
d Z d Z d Z d d d d e d „ Z d „ Z d d „ Z d „ Z d
„ Z d „ Z d „ Z d
„ Z d „ Z d „ Z d „ Z d „ Z RS( sø Application base class.
:param description: one-liner explaining the program purpose
:paramtype description: str
:param version: application version number
:paramtype version: str
:param command_manager: plugin loader
:paramtype command_manager: cliff.commandmanager.CommandManager
:param stdin: Standard input stream
:paramtype stdin: readable I/O stream
:param stdout: Standard output stream
:paramtype stdout: writable I/O stream
:param stderr: Standard error output stream
:paramtype stderr: writable I/O stream
:param interactive_app_factory: callable to create an
interactive application
:paramtype interactive_app_factory: cliff.interactive.InteractiveApp
i s %(message)ss2 [%(asctime)s] %(levelname)-8s %(name)s %(message)si s utf-8c C s | | _ | i i d t ƒ | i i d t ƒ | i | | | ƒ | | _ | | _ | i | | ƒ | _ t | _
d | _ d S( s$ Initialize the application.
t helpt completeN(
t command_managert add_commandR R t _set_streamst interactive_app_factoryt
deferred_helpt build_option_parsert parsert Falset interactive_modeR
t interpreter( R t descriptiont versionR t stdint stdoutt stderrR R ( ( s( /tmp/pip-build-lt8jXN/cliff/cliff/app.pyt __init__C s c C s# y t i t i d ƒ Wn t i j
o n Xt i d d j o¢ t i ƒ \ } } t t i d d ƒ p | p | i
} | p t i | ƒ t i
ƒ | _
| p t i | ƒ t i ƒ | _ | p t i | ƒ t i ƒ | _ n: | p t i
| _
| p t i | _ | p t i | _ d S( Nt i i t encoding( i i ( t localet setlocalet LC_ALLt Errort syst version_infot getdefaultlocalet getattrR R
t DEFAULT_OUTPUT_ENCODINGt codecst getreaderR t getwriterR! ( R R R R! t langR$ ( ( s( /tmp/pip-build-lt8jXN/cliff/cliff/app.pyR S s ""&c C s7 | p h } t i d | d t | } | i d d d d d i | ƒ ƒ| i d d d d d
d d | i d
d ƒ| i d d d d d! d
d ƒ| i d d d d d
d d d d
d ƒ| i o&