mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-14 17:43:11 +00:00
Disable twill page refresh.
This commit is contained in:
parent
1eb5e334f9
commit
39c39b1d9f
2 changed files with 4 additions and 0 deletions
|
|
@ -30,6 +30,8 @@ Changes:
|
|||
Closes: GH bug #394, #460
|
||||
- checking: Document that gconf and KDE proxy settings are parsed.
|
||||
Closes: GH bug #424
|
||||
- checking: Disable twill page refreshing.
|
||||
Closes: GH bug #423
|
||||
|
||||
Fixes:
|
||||
- logging: Status was printed every second regardless of the
|
||||
|
|
|
|||
|
|
@ -66,6 +66,8 @@ def configure_twill (tc):
|
|||
"""
|
||||
# make sure readonly controls are writeable (might be needed)
|
||||
tc.config("readonly_controls_writeable", True)
|
||||
# disable page refreshing
|
||||
tc.config("acknowledge_equiv_refresh", False)
|
||||
# fake IE 6.0 to talk sense into some sites (eg. SourceForge)
|
||||
tc.agent("Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)")
|
||||
# tell twill to shut up
|
||||
|
|
|
|||
Loading…
Reference in a new issue