Fix lint.

This commit is contained in:
Florian Bruhin 2015-06-11 20:32:27 +02:00
parent 6736f6a3f2
commit d3b727d0c7

View File

@ -21,7 +21,6 @@
import re import re
import os import os
import shlex
import posixpath import posixpath
import functools import functools
import xml.etree.ElementTree import xml.etree.ElementTree
@ -920,10 +919,8 @@ class CommandDispatcher:
finally: finally:
self._tabbed_browser.setUpdatesEnabled(True) self._tabbed_browser.setUpdatesEnabled(True)
@cmdutils.register(instance='command-dispatcher', scope='window', @cmdutils.register(instance='command-dispatcher', scope='window')
win_id='win_id') def spawn(self, userscript=False, verbose=False, detach=False, *args):
def spawn(self, win_id, userscript=False, verbose=False, detach=False,
*args):
"""Spawn a command in a shell. """Spawn a command in a shell.
Note the {url} variable which gets replaced by the current URL might be Note the {url} variable which gets replaced by the current URL might be