From: Ronald Oussoren Date: Sun, 30 May 2010 15:46:48 +0000 (+0000) Subject: Remove conditional import of 'ic', that module X-Git-Tag: v3.2a1~665 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=32eb864d3145da9116f041c6efcb6b320c6100f5;p=thirdparty%2FPython%2Fcpython.git Remove conditional import of 'ic', that module was removed in the transition from python 2.x to python 3.x. --- diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py index d25c2e673928..0e8815ad6063 100644 --- a/Lib/webbrowser.py +++ b/Lib/webbrowser.py @@ -540,18 +540,6 @@ if sys.platform[:3] == "win": # Platform support for MacOS # -try: - import ic -except ImportError: - pass -else: - class InternetConfig(BaseBrowser): - def open(self, url, new=0, autoraise=True): - ic.launchurl(url) - return True # Any way to get status? - - register("internet-config", InternetConfig, update_tryorder=-1) - if sys.platform == 'darwin': # Adapted from patch submitted to SourceForge by Steven J. Burr class MacOSX(BaseBrowser):