Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Peter Sherwood
athena
Commits
8ee4d1e1
Commit
8ee4d1e1
authored
4 years ago
by
Ben Wynne
Browse files
Options
Downloads
Patches
Plain Diff
Small fix to catch case when there was no previous entry
parent
c3bc66e0
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/PyUtils/python/scripts/diff_root_files.py
+4
-1
4 additions, 1 deletion
Tools/PyUtils/python/scripts/diff_root_files.py
with
4 additions
and
1 deletion
Tools/PyUtils/python/scripts/diff_root_files.py
+
4
−
1
View file @
8ee4d1e1
...
@@ -248,7 +248,10 @@ def main(args):
...
@@ -248,7 +248,10 @@ def main(args):
new_dump_iter
=
fnew
.
dump
(
args
.
tree_name
,
itr_entries_new
)
new_dump_iter
=
fnew
.
dump
(
args
.
tree_name
,
itr_entries_new
)
def
leafname_fromdump
(
entry
):
def
leafname_fromdump
(
entry
):
return
'
.
'
.
join
([
s
for
s
in
entry
[
2
]
if
not
s
.
isdigit
()])
if
entry
is
None
:
return
None
else
:
return
'
.
'
.
join
([
s
for
s
in
entry
[
2
]
if
not
s
.
isdigit
()])
@memoize
@memoize
def
skip_leaf
(
name_from_dump
,
skip_leaves
):
def
skip_leaf
(
name_from_dump
,
skip_leaves
):
...
...
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