mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-30 19:14:43 +00:00
do not add automatic filters with --strict when there are already some
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1090 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
cd41cbdce9
commit
7d87f007d4
1 changed files with 3 additions and 2 deletions
|
|
@ -136,8 +136,9 @@ def GetUrlDataFrom (urlName, recursionLevel, config, parentName=None,
|
|||
# assume local file
|
||||
else:
|
||||
klass = FileUrlData
|
||||
if config['strict'] and cmdline:
|
||||
# set automatic intern/extern stuff
|
||||
if config['strict'] and cmdline and \
|
||||
not (config['internlinks'] or config['externlinks']):
|
||||
# set automatic intern/extern stuff if no filter was given
|
||||
set_intern_url(url, klass, config)
|
||||
return klass(urlName, recursionLevel, config, parentName, baseRef,
|
||||
line=line, column=column, name=name)
|
||||
|
|
|
|||
Loading…
Reference in a new issue