summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2010-05-30 15:46:48 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2010-05-30 15:46:48 (GMT)
commit32eb864d3145da9116f041c6efcb6b320c6100f5 (patch)
tree3c50a649554b675c8b0e11eeb4aba69d1c475c67
parent08ec84cf726afac844470f6f0b0dab971bb81349 (diff)
downloadcpython-32eb864d3145da9116f041c6efcb6b320c6100f5.zip
cpython-32eb864d3145da9116f041c6efcb6b320c6100f5.tar.gz
cpython-32eb864d3145da9116f041c6efcb6b320c6100f5.tar.bz2
Remove conditional import of 'ic', that module
was removed in the transition from python 2.x to python 3.x.
-rw-r--r--Lib/webbrowser.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py
index d25c2e6..0e8815a 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):