Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
agent
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
7
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e4baa24d
authored
Sep 15, 2014
by
Guba Sándor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename get_virtio_device
parent
555e93a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
agent.py
+2
-2
No files found.
agent.py
View file @
e4baa24d
...
@@ -455,7 +455,7 @@ class SerialLineReceiver(SerialLineReceiverBase):
...
@@ -455,7 +455,7 @@ class SerialLineReceiver(SerialLineReceiverBase):
pass
pass
def
get_virtio_device
():
def
_
get_virtio_device
():
path
=
None
path
=
None
GUID
=
'{6FDE7521-1B65-48ae-B628-80BE62016026}'
GUID
=
'{6FDE7521-1B65-48ae-B628-80BE62016026}'
from
infi.devicemanager
import
DeviceManager
from
infi.devicemanager
import
DeviceManager
...
@@ -474,7 +474,7 @@ def get_virtio_device():
...
@@ -474,7 +474,7 @@ def get_virtio_device():
def
main
():
def
main
():
if
system
==
'Windows'
:
if
system
==
'Windows'
:
port
=
get_virtio_device
()
port
=
_
get_virtio_device
()
if
port
:
if
port
:
from
w32serial
import
SerialPort
from
w32serial
import
SerialPort
else
:
else
:
...
...
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