misc.py: remove few unnecessary checks
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Wed, 24 Oct 2012 07:32:46 +0000 (10:32 +0300)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Fri, 26 Oct 2012 08:07:04 +0000 (11:07 +0300)
commitac8f3be0bdb0bc7fd2ca2ff65b29f7e67fe9f8b6
treef3c9abb863dd56729134b92b75752a26a0a5c007
parent7d57eb40bef8035e677599e54bd64990e0e256de
misc.py: remove few unnecessary checks

We use python 2.5 features in several places and we have the
'Requires:   python >= 2.5' in our RPM spec file. This means that
we do not have to check whether hashlib and xml.etree exist, we can
just use them instead, because they are part of python 2.5.

Similarly, remove the 'with_statement' importing, because 'with'
was added in 2.5.

Change-Id: I14cc9741f66f8d397744b1b37f9a55dc47877a9c
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
mic/utils/misc.py