Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
inventory
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
21
Issues
21
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
data
tools
inventory
Commits
02629b44
Commit
02629b44
authored
Aug 14, 2017
by
Willi Rath
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow for non-existant data and doch fields
parent
ac1f271e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
data_repo_renderer/__init__.py
data_repo_renderer/__init__.py
+12
-6
No files found.
data_repo_renderer/__init__.py
View file @
02629b44
...
...
@@ -461,13 +461,19 @@ def cli_run_renderer(argvec=None):
GitUpdate
(
yaml_dict
,
output_file
=
update_script
)
# append all data download lines
# append all data download lines (if any)
try
:
for
data
in
yaml_dict
[
"data"
]:
data
[
"method"
](
data
,
output_file
=
update_script
)
except
KeyError
as
e
:
pass
# append all doc download lines
# append all doc download lines (if any)
try
:
for
doc
in
yaml_dict
[
"doc"
]:
doc
[
"method"
](
doc
,
output_file
=
update_script
)
except
KeyError
as
e
:
pass
PostProcessing
(
yaml_dict
,
output_file
=
update_script
)
GitFinalize
(
yaml_dict
,
output_file
=
update_script
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment