Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
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
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.toolbox
Commits
883e023b
Commit
883e023b
authored
Feb 06, 2019
by
Bryton Lacquement
🚪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use BytesIO and StringIO from io instead of six
parent
d08422c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
slapos/networkbench/__init__.py
slapos/networkbench/__init__.py
+1
-1
slapos/networkbench/http.py
slapos/networkbench/http.py
+1
-1
No files found.
slapos/networkbench/__init__.py
View file @
883e023b
...
...
@@ -13,7 +13,7 @@ import random
import
pycurl
import
argparse
import
json
from
six
import
StringIO
from
io
import
StringIO
from
.ping
import
ping
,
ping6
from
.dnsbench
import
resolve
from
.http
import
get_curl
,
request
...
...
slapos/networkbench/http.py
View file @
883e023b
import
sys
import
pycurl
from
six
import
BytesIO
from
io
import
BytesIO
def
get_curl
(
buffer
,
url
):
curl
=
pycurl
.
Curl
()
...
...
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