[Python-checkins] r81613 - python/branches/py3k/Lib/webbrowser.py
ronald.oussoren
python-checkins at python.org
Sun May 30 17:46:48 CEST 2010
Author: ronald.oussoren
Date: Sun May 30 17:46:48 2010
New Revision: 81613
Log:
Remove conditional import of 'ic', that module
was removed in the transition from python 2.x to
python 3.x.
Modified:
python/branches/py3k/Lib/webbrowser.py
Modified: python/branches/py3k/Lib/webbrowser.py
==============================================================================
--- python/branches/py3k/Lib/webbrowser.py (original)
+++ python/branches/py3k/Lib/webbrowser.py Sun May 30 17:46:48 2010
@@ -540,18 +540,6 @@
# 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):
More information about the Python-checkins
mailing list