From 39eeb177748cd6be9bf9fea4f73d5762c0260a57 2008-05-27 10:57:27 From: vivainio2 Date: 2008-05-27 10:57:27 Subject: [PATCH] ignore doctest import failure in genutils as well --- diff --git a/IPython/genutils.py b/IPython/genutils.py index 5b5f852..422f5c5 100644 --- a/IPython/genutils.py +++ b/IPython/genutils.py @@ -22,7 +22,10 @@ __license__ = Release.license # required modules from the Python standard library import __main__ import commands -import doctest +try: + import doctest +except ImportError: + pass import os import re import shlex