A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2002-October/030160.html below:

[Python-checkins] python/dist/src/Lib webbrowser.py,1.26.6.2,1.26.6.3

[Python-checkins] python/dist/src/Lib webbrowser.py,1.26.6.2,1.26.6.3nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
Fri, 11 Oct 2002 15:06:15 -0700
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv6042/Lib

Modified Files:
      Tag: release22-maint
	webbrowser.py 
Log Message:
Backport 1.34.

SF # 539360, webbrowser.py and konqueror, by Andy McKay

Fix Konqueror so it can start when calling open().
The assert needed to be on the raw URL, not openURL 'url...'



Index: webbrowser.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/webbrowser.py,v
retrieving revision 1.26.6.2
retrieving revision 1.26.6.3
diff -C2 -d -r1.26.6.2 -r1.26.6.3
*** webbrowser.py	6 Oct 2002 03:10:26 -0000	1.26.6.2
--- webbrowser.py	11 Oct 2002 22:06:12 -0000	1.26.6.3
***************
*** 150,155 ****
  
      def _remote(self, action):
!         assert "'" not in action
!         cmd = "kfmclient '%s' >/dev/null 2>&1" % action
          rc = os.system(cmd)
          if rc:
--- 150,154 ----
  
      def _remote(self, action):
!         cmd = "kfmclient %s >/dev/null 2>&1" % action
          rc = os.system(cmd)
          if rc:
***************
*** 166,169 ****
--- 165,169 ----
          # XXX Currently I know no way to prevent KFM from
          # opening a new win.
+         assert "'" not in url
          self._remote("openURL '%s'" % url)
  





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4