Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
fbb8eb95
Commit
fbb8eb95
authored
6 years ago
by
Samuel Jones
Browse files
Options
Downloads
Patches
Plain Diff
Re #0 Fix cmd line arguement and remove print statement
parent
c482714a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/scripts/OpenMostDocumentationForTesting.py
+2
-4
2 additions, 4 deletions
tools/scripts/OpenMostDocumentationForTesting.py
with
2 additions
and
4 deletions
tools/scripts/OpenMostDocumentationForTesting.py
+
2
−
4
View file @
fbb8eb95
...
@@ -43,11 +43,9 @@ def open_urls(list_of_urls, delay=1):
...
@@ -43,11 +43,9 @@ def open_urls(list_of_urls, delay=1):
parser
=
argparse
.
ArgumentParser
()
parser
=
argparse
.
ArgumentParser
()
parser
.
add_argument
(
parser
.
add_argument
(
'
-d
'
,
'
--open-tab-delay
'
,
type
=
int
,
help
=
"
Delay between each new page tab in seconds.
"
)
'
-d
'
,
'
--open-tab-delay
'
,
type
=
int
,
help
=
"
Delay between each new page tab in seconds.
"
,
default
=
1
)
args
=
parser
.
parse_args
()
args
=
parser
.
parse_args
()
print
(
args
.
delay
)
all_urls
=
[]
all_urls
=
[]
print
(
"
Crawling for Algorithm URLs...
"
)
print
(
"
Crawling for Algorithm URLs...
"
)
...
@@ -96,7 +94,7 @@ print("All webpages crawled")
...
@@ -96,7 +94,7 @@ print("All webpages crawled")
print
(
"
Opening Urls...
"
)
print
(
"
Opening Urls...
"
)
delay
=
args
.
delay
delay
=
args
.
open_tab_
delay
if
delay
is
None
:
if
delay
is
None
:
delay
=
1
delay
=
1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment