Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
vmdriver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
2
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
fc27dbd9
authored
Oct 25, 2017
by
Czémán Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netcelery, vmcelery: fix flake8 warnings
parent
9eadf647
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
netcelery.py
+1
-0
vmcelery.py
+1
-0
No files found.
netcelery.py
View file @
fc27dbd9
...
@@ -22,6 +22,7 @@ AMQP_URI = getenv('AMQP_URI')
...
@@ -22,6 +22,7 @@ AMQP_URI = getenv('AMQP_URI')
def
to_bool
(
value
):
def
to_bool
(
value
):
return
value
.
lower
()
in
(
"true"
,
"yes"
,
"y"
,
"t"
)
return
value
.
lower
()
in
(
"true"
,
"yes"
,
"y"
,
"t"
)
lib_connection
=
None
lib_connection
=
None
native_ovs
=
False
native_ovs
=
False
...
...
vmcelery.py
View file @
fc27dbd9
...
@@ -9,6 +9,7 @@ from argparse import ArgumentParser
...
@@ -9,6 +9,7 @@ from argparse import ArgumentParser
def
to_bool
(
value
):
def
to_bool
(
value
):
return
value
.
lower
()
in
(
"true"
,
"yes"
,
"y"
,
"t"
)
return
value
.
lower
()
in
(
"true"
,
"yes"
,
"y"
,
"t"
)
if
to_bool
(
getenv
(
"LIBVIRT_TEST"
,
"False"
)):
if
to_bool
(
getenv
(
"LIBVIRT_TEST"
,
"False"
)):
HOSTNAME
=
"vmdriver.test"
HOSTNAME
=
"vmdriver.test"
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