From 78cf4732483912abeb27a75391f325102cb35c3d Mon Sep 17 00:00:00 2001 From: stephenhsu Date: Mon, 30 Nov 2015 13:10:34 +0800 Subject: [PATCH] ready for 0.5.0 --- README.rst | 7 +++++-- rtcclient/client.py | 2 +- setup.cfg | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 154456c..5c87f51 100644 --- a/README.rst +++ b/README.rst @@ -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 diff --git a/rtcclient/client.py b/rtcclient/client.py index 87deecf..5012f28 100644 --- a/rtcclient/client.py +++ b/rtcclient/client.py @@ -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: diff --git a/setup.cfg b/setup.cfg index 60dc37a..db28af6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,7 @@ [metadata] name = rtcclient author = Di Xu -version = 0.4.0 +version = 0.5.0 author_email = stephenhsu90@gmail.com summary = RTCClient for Rational Team Concert description-file = README.rst