dbfdg 3 ([Qhþã@s8ddlZddlmZGdd„deƒZGdd„deƒZdS)éN)Ú SoSComponentc@s<eZdZdZdZdZdZdZdd„Zdd„Z e d d „ƒZ d S) ÚMissingCollectaKThis is used as a placeholder for when the local sos installation attempts to import sos.collector, but that module is not present. In those scenarios, it means that sos has been split into sub-packages. Barring incorrect splitting, this 'sos.missing' module should always be available to the main sos package. Fz7(unavailable) Collect an sos report from multiple nodeszIt appears likely that your distribution separately ships a package called sos collect. Please install it to enable this functioncCstjjdƒdS)Nz¯The collect command is unavailable as it appears to be packaged separately for your distribution. Please install the latest sos collect package to enable this functionality. )ÚsysÚstderrÚwrite)Úself©rú/usr/lib/python3.6/missing.pyÚexecuteszMissingCollect.executecCsgS)zúOverride the normal component method to basically ignore all options given, so that we always print the error message that collect is unavailable, rather than failing on the parser when collect is called with options. r)rrrr Ú load_optionsszMissingCollect.load_optionscCsd|j›}||_|S)zpSet the --help output for collect to a message that shows that the functionality is unavailable zs *