Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
csppfetch
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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
cspp_geo
csppfetch
Commits
6fbc5ab4
Commit
6fbc5ab4
authored
3 years ago
by
Alan De Smet
Browse files
Options
Downloads
Patches
Plain Diff
Comment fix.
"None OR whatever" not "None OF whatever"
parent
62afbffe
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
csppfetch/__init__.py
+3
-3
3 additions, 3 deletions
csppfetch/__init__.py
with
3 additions
and
3 deletions
csppfetch/__init__.py
+
3
−
3
View file @
6fbc5ab4
...
...
@@ -779,7 +779,7 @@ class Downloader:
If False, if the desired files are not already present, it
'
s
a
failure
:
param
download_stats
:
Optional
DownloadStatistics
object
to
collect
download
statistics
:
type
download_stats
:
None
o
f
csppfetch
.
DownloadStatistics
:
type
download_stats
:
None
o
r
csppfetch
.
DownloadStatistics
"""
base_urls
=
self
.
get_base_urls
()
...
...
@@ -848,7 +848,7 @@ class Downloader:
:param download_stats: Optional DownloadStatistics object to collect
download statistics
:type download_stats: None o
f
csppfetch.DownloadStatistics
:type download_stats: None o
r
csppfetch.DownloadStatistics
**timeout**, **retries**, and **retry_wait** are overriddeen by environment
variables ``package_env_id+TIMEOUT/RETRIES/RETRY_WAIT``
...
...
@@ -881,7 +881,7 @@ class Downloader:
:param download_stats: Optional DownloadStatistics object to collect
download statistics
:type download_stats: None o
f
csppfetch.DownloadStatistics
:type download_stats: None o
r
csppfetch.DownloadStatistics
"""
if
end_time
is
not
None
and
start_time
is
not
None
:
time
=
self
.
_nearest_preceeding_time
(
end_time
)
...
...
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