summaryrefslogtreecommitdiffstats
path: root/share/extensions/launch_webbrowser.py
diff options
context:
space:
mode:
authorPeter Moulder <peter.moulder@monash.edu>2008-05-23 06:31:40 +0000
committerpjrm <pjrm@users.sourceforge.net>2008-05-23 06:31:40 +0000
commit5829bb783acfd02ac52fd0eb2f23bbe32d8ad643 (patch)
tree21368845f1ae256deb01812ecfda454d67678e48 /share/extensions/launch_webbrowser.py
parentshare/extension/*.py: noop: minor whitespace regularizations ahead of adding ... (diff)
downloadinkscape-5829bb783acfd02ac52fd0eb2f23bbe32d8ad643.tar.gz
inkscape-5829bb783acfd02ac52fd0eb2f23bbe32d8ad643.zip
noop: Add vim modeline for all share/extensions/*.py files that use four-space indentation.
(bzr r5739)
Diffstat (limited to 'share/extensions/launch_webbrowser.py')
-rw-r--r--share/extensions/launch_webbrowser.py39
1 files changed, 21 insertions, 18 deletions
diff --git a/share/extensions/launch_webbrowser.py b/share/extensions/launch_webbrowser.py
index d27d6d1f4..0deea3c8f 100644
--- a/share/extensions/launch_webbrowser.py
+++ b/share/extensions/launch_webbrowser.py
@@ -1,18 +1,21 @@
-#!/usr/bin/env python
-import webbrowser, threading
-from optparse import OptionParser
-
-class VisitWebSiteWithoutLockingInkscape(threading.Thread):
- def __init__(self):
- threading.Thread.__init__ (self)
- parser = OptionParser()
- parser.add_option("-u", "--url", action="store", type="string",
- default="http://www.inkscape.org/",
- dest="url", help="The URL to open in web browser")
- (self.options, args) = parser.parse_args()
-
- def run(self):
- webbrowser.open(self.options.url)
-
-vwswli = VisitWebSiteWithoutLockingInkscape()
-vwswli.start() \ No newline at end of file
+#!/usr/bin/env python
+import webbrowser, threading
+from optparse import OptionParser
+
+class VisitWebSiteWithoutLockingInkscape(threading.Thread):
+ def __init__(self):
+ threading.Thread.__init__ (self)
+ parser = OptionParser()
+ parser.add_option("-u", "--url", action="store", type="string",
+ default="http://www.inkscape.org/",
+ dest="url", help="The URL to open in web browser")
+ (self.options, args) = parser.parse_args()
+
+ def run(self):
+ webbrowser.open(self.options.url)
+
+vwswli = VisitWebSiteWithoutLockingInkscape()
+vwswli.start()
+
+
+# vim: expandtab shiftwidth=4 tabstop=8 softtabstop=4 encoding=utf-8 textwidth=99