Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
neoppod
Commits
5b181038
Commit
5b181038
authored
Jan 19, 2012
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Strengthen sanity assertion on Node.setConnection .
parent
fb414357
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
neo/lib/node.py
neo/lib/node.py
+1
-1
No files found.
neo/lib/node.py
View file @
5b181038
...
@@ -104,7 +104,7 @@ class Node(object):
...
@@ -104,7 +104,7 @@ class Node(object):
"""
"""
Define the connection that is currently available to this node.
Define the connection that is currently available to this node.
"""
"""
assert
connection
is
not
None
assert
not
connection
.
isClosed
(),
connection
assert
self
.
_connection
is
None
,
attributeTracker
.
whoSet
(
self
,
'_connection'
)
assert
self
.
_connection
is
None
,
attributeTracker
.
whoSet
(
self
,
'_connection'
)
assert
connection
.
getUUID
()
in
(
None
,
self
.
_uuid
),
connection
assert
connection
.
getUUID
()
in
(
None
,
self
.
_uuid
),
connection
connection
.
setUUID
(
self
.
_uuid
)
connection
.
setUUID
(
self
.
_uuid
)
...
...
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