From 32eb864d3145da9116f041c6efcb6b320c6100f5 Mon Sep 17 00:00:00 2001 From: Ronald Oussoren Date: Sun, 30 May 2010 15:46:48 +0000 Subject: [PATCH] Remove conditional import of 'ic', that module was removed in the transition from python 2.x to python 3.x. --- Lib/webbrowser.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py index d25c2e67392..0e8815ad606 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):