Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
8021205e
Commit
8021205e
authored
Jun 01, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
057ec71c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
wcfs/testprog/treegen.py
wcfs/testprog/treegen.py
+3
-4
No files found.
wcfs/testprog/treegen.py
View file @
8021205e
...
...
@@ -162,11 +162,10 @@ def Trees(zstor, r):
break
# EOF
treetxt
=
treetxt
.
rstrip
()
# trim trailing \n
#
skip changing DB
if the same topology is requested twice
# (this
avoids assert in commit that len(resources) == 1
)
#
mark tree as changed
if the same topology is requested twice
# (this
makes sure we can actually make a non-empty commit
)
if
treetxt
==
treetxtPrev
:
xprint
(
"%s"
%
ashex
(
head
))
continue
ztree
.
_p_changed
=
True
treetxtPrev
=
treetxt
tree
=
zctx
.
TopoDecode
(
treetxt
)
...
...
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