Since you are not using the exception raised anywhere you could replace that line with ``except ImportError:``