mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Remove conditional import of 'ic', that module
was removed in the transition from python 2.x to python 3.x.
This commit is contained in:
parent
08ec84cf72
commit
32eb864d31
1 changed files with 0 additions and 12 deletions
|
|
@ -540,18 +540,6 @@ def open(self, url, new=0, autoraise=True):
|
|||
# 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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue