Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Kinabalu Coders
kc-kvs
Commits
297eef81
Commit
297eef81
authored
3 years ago
by
null pointer
Browse files
Options
Download
Email Patches
Plain Diff
bugfix: prevent ref from being erroneous modified when more than one alternate lookup specified
parent
40e3d15f
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
kvs/buckets.py
+2
-1
kvs/buckets.py
with
2 additions
and
1 deletion
+2
-1
kvs/buckets.py
+
2
-
1
View file @
297eef81
...
...
@@ -110,7 +110,8 @@ class bucketman:
"modify [{}] -> bucket=[{}] key=[{}], "
"keeping [{}]"
.
format
(
bucket
,
altref
,
bucket
,
add_key
,
existing
))
ref
=
existing
# do nothing on hijack
continue
else
:
effective_altrefs
.
append
(
altref
[
1
:])
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets