Merge branch 'master' of ssh://lupin/qutebrowser
This commit is contained in:
commit
781390828f
@ -68,6 +68,7 @@ class BrowserPage(QWebPage):
|
|||||||
if PYQT_VERSION > 0x050300:
|
if PYQT_VERSION > 0x050300:
|
||||||
# This is broken in Qt <= 5.3.0.
|
# This is broken in Qt <= 5.3.0.
|
||||||
# See http://www.riverbankcomputing.com/pipermail/pyqt/2014-June/034385.html
|
# See http://www.riverbankcomputing.com/pipermail/pyqt/2014-June/034385.html
|
||||||
|
# pylint: disable=invalid-name
|
||||||
self.javaScriptPrompt = self._javascript_prompt
|
self.javaScriptPrompt = self._javascript_prompt
|
||||||
|
|
||||||
def _javascript_prompt(self, _frame, msg, default):
|
def _javascript_prompt(self, _frame, msg, default):
|
||||||
|
@ -74,8 +74,8 @@ options = {
|
|||||||
|
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
# pep257 uses cp1252 by default on Windows, which can't handle the unicode
|
# pep257 uses cp1252 by default on Windows, which can't handle the unicode
|
||||||
# arrows in configdata.py
|
# chars in some files.
|
||||||
options['exclude_pep257'].append('configdata.py')
|
options['exclude_pep257'] += ['configdata.py', 'misc.py']
|
||||||
|
|
||||||
|
|
||||||
def run(name, target=None, args=None):
|
def run(name, target=None, args=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user