Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
agentdriver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
1
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
62263f4e
authored
Oct 30, 2014
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix send_command()
parent
a225fb3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
agentcelery.py
+2
-0
No files found.
agentcelery.py
View file @
62263f4e
...
@@ -32,6 +32,8 @@ def send_command(vm, command, *args, **kwargs):
...
@@ -32,6 +32,8 @@ def send_command(vm, command, *args, **kwargs):
reactor
.
ended_tasks
[
vm
][
uuid
]
=
None
reactor
.
ended_tasks
[
vm
][
uuid
]
=
None
for
conn
in
reactor
.
connections
[
vm
]:
for
conn
in
reactor
.
connections
[
vm
]:
if
command
==
'append'
and
'vio-cloud'
not
in
conn
.
transport
.
addr
:
continue
logger
.
info
(
'
%
s(
%
s,
%
s)'
,
command
,
vm
,
logger
.
info
(
'
%
s(
%
s,
%
s)'
,
command
,
vm
,
', '
.
join
(
map
(
lambda
x
:
str
(
x
)[:
100
],
kwargs
.
values
())))
', '
.
join
(
map
(
lambda
x
:
str
(
x
)[:
100
],
kwargs
.
values
())))
conn
.
send_command
(
command
=
command
,
args
=
kwargs
)
conn
.
send_command
(
command
=
command
,
args
=
kwargs
)
...
...
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