Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mpsd-software-manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
MPSD Computational Science
mpsd-software-manager
Commits
c3b62aab
Commit
c3b62aab
authored
1 year ago
by
Ashwin Kumar Karnad
Browse files
Options
Downloads
Patches
Plain Diff
expand the returns to included the case for None
parent
9d5fdffa
No related branches found
No related tags found
2 merge requests
!39
Split logfile templates usage
,
!29
Restructure log location
Pipeline
#370262
passed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mpsd-software-environment.py
+4
-2
4 additions, 2 deletions
mpsd-software-environment.py
with
4 additions
and
2 deletions
mpsd-software-environment.py
+
4
−
2
View file @
c3b62aab
...
...
@@ -58,7 +58,7 @@ def create_log_file_names(
action
:
str
,
date
:
str
=
call_date_iso
,
toolchain
:
str
=
None
,
)
->
str
:
)
->
Union
[
str
,
None
]
:
"""
Create log file names.
This function creates the log file names for either the installer or
...
...
@@ -86,10 +86,12 @@ def create_log_file_names(
Returns
-------
str
str
or None
log file name
installer_log_file_name or build_log_file_name depending on the
parameters given.
If the action is not one that changes the files on disk ( info only actions)
then None is returned.
"""
if
toolchain
:
# if toolchain is given, then we build the build_log_file_name
...
...
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