Ñò
K<Ì]c @ sL d d k l Z d d k l Z l Z d d k Z d e f d „ ƒ YZ d S( iÿÿÿÿ( t DebianPlugin( t PackageManagert LinuxPolicyNt DebianPolicyc B sf e Z d Z d Z d Z d Z d Z e d ƒ Z e g Z
d d Z d „ Z e
d „ ƒ Z d „ Z RS(
t Debians the Debian projects http://www.debian.org/t s- dpkg-query -W -f='${Package}|${Version}\n' \*s9 /usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/gamess :/usr/local/sbin:/usr/local/binc C sD t t | ƒ i ƒ d | _ d | _ t d ƒ | _ t g | _ d S( NR s- dpkg-query -W -f='${Package}|${Version}\n' \*( t superR t __init__t report_namet
ticket_numberR t package_managerR t valid_subclasses( t self( ( s7 /usr/lib/python2.6/site-packages/sos/policies/debian.pyR s c C s t i i d ƒ S( s[ This method checks to see if we are running on Debian.
It returns True or False.s /etc/debian_version( t ost patht isfile( R ( ( s7 /usr/lib/python2.6/site-packages/sos/policies/debian.pyt check s c C ss yd t d d ƒ i i ƒ } z= | ~ } | i ƒ } d | j o d Sd | j o d SWd QXt SWn t SXd S( Ns /etc/lsb-releaset rs
wheezy/sidi s
jessie/sidi ( t opent __exit__t __enter__t readt False( R t _[1]t fpt
rel_string( ( s7 /usr/lib/python2.6/site-packages/sos/policies/debian.pyt dist_version! s &
( t __name__t
__module__t distrot vendort
vendor_urlR R R R
R R t PATHR t classmethodR R ( ( ( s7 /usr/lib/python2.6/site-packages/sos/policies/debian.pyR s ( t sos.pluginsR t sos.policiesR R R
R ( ( ( s7 /usr/lib/python2.6/site-packages/sos/policies/debian.pyt