Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
opcua-asyncio
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
1
Merge Requests
1
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
Nikola Balog
opcua-asyncio
Commits
f258944b
Commit
f258944b
authored
Jul 06, 2016
by
Georg Schölly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix __exit__ method of client and server class
parent
4f113090
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
opcua/client/client.py
opcua/client/client.py
+1
-1
opcua/server/server.py
opcua/server/server.py
+1
-1
No files found.
opcua/client/client.py
View file @
f258944b
...
...
@@ -102,7 +102,7 @@ class Client(object):
self
.
connect
()
return
self
def
__exit__
(
self
):
def
__exit__
(
self
,
exc_type
,
exc_value
,
traceback
):
self
.
disconnect
()
@
staticmethod
...
...
opcua/server/server.py
View file @
f258944b
...
...
@@ -94,7 +94,7 @@ class Server(object):
self
.
start
()
return
self
def
__exit__
(
self
):
def
__exit__
(
self
,
exc_type
,
exc_value
,
traceback
):
self
.
stop
()
def
load_certificate
(
self
,
path
):
...
...
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