Skip to content

Commit e00231f

Browse files
committed
Fix flake8 error and limit python3 versions
1 parent c4a89fa commit e00231f

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
language: python
22
python:
3-
- "2.7"
4-
- "3.4"
53
- "3.5"
64
- "3.6"
5+
- "3.7"
76
addons:
87
apt:
98
packages:

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
'Topic :: Multimedia :: Graphics',
3030
'Topic :: Scientific/Engineering :: Information Analysis',
3131
'Programming Language :: Python :: 3',
32+
'Programming Language :: Python :: 3.5',
33+
'Programming Language :: Python :: 3.6',
34+
'Programming Language :: Python :: 3.7',
3235
'Development Status :: 4 - Beta',
3336
],
3437
entry_points={

src/dicomweb_client/api.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1389,13 +1389,18 @@ def _http_post_multipart_application_dicom(
13891389
'boundary=0f3cf5c0-70e0-41ef-baef-c6f9f65ec3e1'
13901390
)
13911391
content = self._encode_multipart_message(data, content_type)
1392-
response = self._http_post(
1392+
self._http_post(
13931393
url,
13941394
content,
13951395
headers={'Content-Type': content_type}
13961396
)
13971397
# FIXME: return information
13981398
# http://dicom.nema.org/medical/dicom/current/output/chtml/part18/chapter_I.html
1399+
# response = self._http_post(
1400+
# url,
1401+
# content,
1402+
# headers={'Content-Type': content_type}
1403+
# )
13991404
# response.content
14001405
return {}
14011406

0 commit comments

Comments
 (0)