Skip to content

Commit

Permalink
ready for 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dixudx committed Nov 30, 2015
1 parent 9937fe4 commit 78cf473
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,15 @@ Team Areas, Workitems) into easily managed Python objects:
>>> from rtcclient.utils import setup_basic_logging
>>> from rtcclient.client import RTCClient
# you can remove this if you don't need logging
# default logging for console output
# default debug logging for console output
>>> setup_basic_logging()
# url ends with jazz
>>> url = "https://your_domain:9443/jazz"
>>> username = "your_username"
>>> password = "your_password"
>>> myclient = RTCClient(url, username, password)
# if your url ends with ccm, set ends_with_jazz to False
# refer to issue #68 for detailed explanation
>>> myclient = RTCClient(url, username, password, ends_with_jazz=True)
# it will be faster if returned properties is specified
# see in below query example
>>> wk = myclient.getWorkitem(123456) # get a workitem whose id is 123456
Expand Down
2 changes: 1 addition & 1 deletion rtcclient/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def _get_headers(self):
resp = self.get(self.url + "/authenticated/identity",
verify=False,
headers=_headers,
allow_redirects=self.allow_redirects)
allow_redirects=_allow_redirects)

# fix issue #68
if not _allow_redirects:
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[metadata]
name = rtcclient
author = Di Xu
version = 0.4.0
version = 0.5.0
author_email = [email protected]
summary = RTCClient for Rational Team Concert
description-file = README.rst
Expand Down

0 comments on commit 78cf473

Please sign in to comment.