sanity.bbclass: Remove some now unneeded code
authorRichard Purdie <rpurdie@rpsys.net>
Thu, 21 Feb 2008 13:17:28 +0000 (13:17 +0000)
committerRichard Purdie <rpurdie@rpsys.net>
Thu, 21 Feb 2008 13:17:28 +0000 (13:17 +0000)
classes/sanity.bbclass

index 9ef2f09..08b077a 100644 (file)
@@ -162,11 +162,6 @@ python check_sanity_eventhandler() {
     from bb import note, error, data, __version__
     from bb.event import getName
 
-    try:
-        from distutils.version import LooseVersion
-    except ImportError:
-        def LooseVersion(v): print "WARNING: sanity.bbclass can't compare versions without python-distutils"; return 1
-
     if getName(e) == "ConfigParsed":
         check_sanity(e)