tests/hghave.py
changeset 26145 ca9bb66c80e9
parent 26137 99e8a9ff1f5f
child 26842 0f76c64f5cc3
equal deleted inserted replaced
26144:4bc3707f3e67 26145:ca9bb66c80e9
   439 @check("debhelper", "debian packaging tools")
   439 @check("debhelper", "debian packaging tools")
   440 def has_debhelper():
   440 def has_debhelper():
   441     dpkg = matchoutput('dpkg --version',
   441     dpkg = matchoutput('dpkg --version',
   442                        "Debian `dpkg' package management program")
   442                        "Debian `dpkg' package management program")
   443     dh = matchoutput('dh --help',
   443     dh = matchoutput('dh --help',
   444                      'dh is a part of debhelper.')
   444                      'dh is a part of debhelper.', ignorestatus=True)
   445     dh_py2 = matchoutput('dh_python2 --help',
   445     dh_py2 = matchoutput('dh_python2 --help',
   446                          'other supported Python versions')
   446                          'other supported Python versions')
   447     return dpkg and dh and dh_py2
   447     return dpkg and dh and dh_py2
   448 
   448 
   449 @check("absimport", "absolute_import in __future__")
   449 @check("absimport", "absolute_import in __future__")