Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
jetconf
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
7
Issues
7
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
labs
jetconf
Commits
4b65d262
Commit
4b65d262
authored
Nov 02, 2018
by
Pavel Spirek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed getting ii namespace
parent
3e90e6c8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
jetconf/data.py
jetconf/data.py
+6
-1
No files found.
jetconf/data.py
View file @
4b65d262
...
...
@@ -154,7 +154,12 @@ class BaseDatastore:
input_member_name_ns
,
input_member_name
=
input_member_name_fq
.
split
(
":"
,
maxsplit
=
1
)
# Append it to ii
if
(
len
(
sch_pth_list
)
==
0
)
or
(
sch_pth_list
[
-
1
]
.
namespace
!=
input_member_name_ns
):
schpth_last_ns
=
None
for
schpth_seg
in
sch_pth_list
:
if
schpth_seg
.
namespace
is
not
None
:
schpth_last_ns
=
schpth_seg
.
namespace
if
(
len
(
sch_pth_list
)
==
0
)
or
(
schpth_last_ns
!=
input_member_name_ns
):
sch_pth_list
.
append
(
MemberName
(
input_member_name
,
input_member_name_ns
))
else
:
sch_pth_list
.
append
(
MemberName
(
input_member_name
,
None
))
...
...
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