Skip to content

Commit 620f9c5

Browse files
authored
Merge pull request #73 from iivanou/syntax_error
Fix syntax issue for Python 2.7
2 parents 4d8cab7 + 302eac0 commit 620f9c5

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

reportportal_client/service.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ def __init__(self,
120120
endpoint,
121121
project,
122122
token,
123-
*args,
124123
is_skipped_an_issue=True,
125124
verify_ssl=True,
126125
retries=None,
@@ -157,7 +156,6 @@ def terminate(self, *args, **kwargs):
157156
def start_launch(self,
158157
name,
159158
start_time,
160-
*agrs,
161159
description=None,
162160
attributes=None,
163161
mode=None,
@@ -177,7 +175,7 @@ def start_launch(self,
177175
logger.debug("start_launch - ID: %s", self.launch_id)
178176
return self.launch_id
179177

180-
def finish_launch(self, end_time, *agrs, status=None, **kwargs):
178+
def finish_launch(self, end_time, status=None, **kwargs):
181179
"""
182180
status can be (PASSED, FAILED, STOPPED, SKIPPED, RESETED, CANCELLED)
183181
"""
@@ -194,7 +192,6 @@ def start_test_item(self,
194192
name,
195193
start_time,
196194
item_type,
197-
*args,
198195
description=None,
199196
attributes=None,
200197
parameters=None,
@@ -243,7 +240,6 @@ def finish_test_item(self,
243240
item_id,
244241
end_time,
245242
status,
246-
*args,
247243
issue=None,
248244
attributes=None,
249245
**kwargs):

setup.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from setuptools import setup, find_packages
22

3-
__version__ = '5.0.0'
3+
__version__ = '5.0.1'
44

55
setup(
66
name='reportportal-client',
@@ -13,6 +13,11 @@
1313
'tarball/%s' % __version__),
1414
license='Apache 2.0.',
1515
keywords=['testing', 'reporting', 'reportportal'],
16-
classifiers=[],
16+
classifiers=[
17+
'Programming Language :: Python :: 2.7',
18+
'Programming Language :: Python :: 3.4',
19+
'Programming Language :: Python :: 3.5',
20+
'Programming Language :: Python :: 3.6'
21+
],
1722
install_requires=['requests>=2.4.2', 'six'],
1823
)

0 commit comments

Comments
 (0)