[Python-checkins] r56137 - python/trunk/Lib/webbrowser.py

georg.brandl python-checkins at python.org
Sun Jul 1 10:11:36 CEST 2007


Author: georg.brandl
Date: Sun Jul  1 10:11:35 2007
New Revision: 56137

Modified:
   python/trunk/Lib/webbrowser.py
Log:
Fix a few webbrowser.py problems.


Modified: python/trunk/Lib/webbrowser.py
==============================================================================
--- python/trunk/Lib/webbrowser.py	(original)
+++ python/trunk/Lib/webbrowser.py	Sun Jul  1 10:11:35 2007
@@ -1,5 +1,6 @@
 #! /usr/bin/env python
 """Interfaces for launching and remotely controlling Web browsers."""
+# Maintained by Georg Brandl.
 
 import os
 import shlex
@@ -160,6 +161,7 @@
     def __init__(self, name):
         if isinstance(name, basestring):
             self.name = name
+            self.args = ["%s"]
         else:
             # name should be a list with arguments
             self.name = name[0]


More information about the Python-checkins mailing list