Author: jpotts
Date: Wed Jan 19 17:09:10 2011
New Revision: 1060868
URL: http://svn.apache.org/viewvc?rev=1060868&view=rev
Log:
Whitespace cleanup, modify setup.cfg to remove dev tag
Added:
incubator/chemistry/cmislib/trunk/KEYS
Modified:
incubator/chemistry/cmislib/trunk/setup.cfg
incubator/chemistry/cmislib/trunk/src/cmislib.egg-info/PKG-INFO
incubator/chemistry/cmislib/trunk/src/cmislib.egg-info/SOURCES.txt
incubator/chemistry/cmislib/trunk/src/cmislib/exceptions.py
incubator/chemistry/cmislib/trunk/src/cmislib/model.py
incubator/chemistry/cmislib/trunk/src/cmislib/net.py
incubator/chemistry/cmislib/trunk/src/doc/src/conf.py
incubator/chemistry/cmislib/trunk/src/tests/cmislibtest.py
Added: incubator/chemistry/cmislib/trunk/KEYS
URL:
http://svn.apache.org/viewvc/incubator/chemistry/cmislib/trunk/KEYS?rev=1060868&view=auto
==============================================================================
--- incubator/chemistry/cmislib/trunk/KEYS (added)
+++ incubator/chemistry/cmislib/trunk/KEYS Wed Jan 19 17:09:10 2011
@@ -0,0 +1,68 @@
+This file contains the PGP keys of various developers.
+
+Users: pgp < KEYS
+ gpg --import KEYS
+Developers:
+ gpg --list-key <your email> and append it to this file.
+ gpg -a --export <your email> and append it to this file.
+
+ (gpg --list-key <your email>
+ && gpg --armor --export <your email>) >> this file.
+
+
+pub 4096R/99E3E187 2010-11-23
+uid Jeff Potts (CODE SIGNING KEY) <[email protected]>
+sub 4096R/2A6CD560 2010-11-23
+
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v1.4.11 (Darwin)
+
+mQINBEzsQscBEACoDu6kafUBujuic9JtpGXQdVA4HKRvSAANbgAX8o4fU4wr2c97
+l/OD9SlZMzIkJNBYkQ+NoSIJKTYTJ2hJd7qFAcx0zEwFMhwRVvH/2sZ8xFKaZWjJ
+s26hgnNNPG0tKeV19jmIncFzSgRZsIL7UOcWGrcjhczgRiWIGPfkSjtWSvlQ/mnI
+1dIsw0/Ie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f/uTUlvBYUDH4M
+bEmUZUN1VPeOlfl0oc5Vhq7xgK+3ObJm4X+nXoG15hjeWUqTEhi0Ls35l70TXufp
+RhvJsxuZKjApc1Z7pNOcuxAlrE+zdQsVSijsef4qiHk/28gNR6SaoKvpCvj0ReKG
+M1fDZ4I7f+LUkfogtwbA6ZQnT1u8xLuW90NU0u7BXx8FLz2D2a6gCSKMzdT9S/rk
+LUp7bKVMxGBd6FJS22w2gS1qxjB9RCVX8oPV79MKPQiX11VV0Dv4VEs5MWmcpAAF
+5/J0l7BWLiCAj/eu3VmAyxzuKHY2BYAm5jsS4qcySgoojLEEnXsw6WAuvPc4S4tY
+A3GBtc2/09uhQ6Yk4oSbcZo6CtSbpoeZX5nUKlM4Mj8vecyQhQzhcsxqwx0bMbLM
+VgFmH0rVk3PQXU22TRtxNoN4g1ecNWdaIlpQignq8YvI4HRURRfqiBBVKdHdC/LS
+HCP+sQyt7Xv8zPH0vpjDYiG0gqyAN1dyqMDRRxQEq4VVpqy9iu3vyobu+21nCThQ
+5qe9Jd5IWKO/NBT2vLXZvfDGUmEX8wq/IyQRV/oDR9fd1oz5rj8dcw6nNnRX3eAm
+osX3n9cWHgCIkMOS+NbH0XS1bBTHddSVJogisVBuVC+tXwR3XU0YmegELx3TJ7QA
+KGHdnl8nHylVQIVfHSIW
+=e5dc
+-----END PGP PUBLIC KEY BLOCK-----
Modified: incubator/chemistry/cmislib/trunk/setup.cfg
URL:
http://svn.apache.org/viewvc/incubator/chemistry/cmislib/trunk/setup.cfg?rev=1060868&r1=1060867&r2=1060868&view=diff
==============================================================================
--- incubator/chemistry/cmislib/trunk/setup.cfg (original)
+++ incubator/chemistry/cmislib/trunk/setup.cfg Wed Jan 19 17:09:10 2011
@@ -13,4 +13,4 @@
#
[egg_info]
-tag_build = dev
+tag_build =
Modified: incubator/chemistry/cmislib/trunk/src/cmislib.egg-info/PKG-INFO
URL:
http://svn.apache.org/viewvc/incubator/chemistry/cmislib/trunk/src/cmislib.egg-info/PKG-INFO?rev=1060868&r1=1060867&r2=1060868&view=diff
==============================================================================
--- incubator/chemistry/cmislib/trunk/src/cmislib.egg-info/PKG-INFO (original)
+++ incubator/chemistry/cmislib/trunk/src/cmislib.egg-info/PKG-INFO Wed Jan 19
17:09:10 2011
@@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: cmislib
-Version: 0.4dev
+Version: 0.4
Summary: Apache Chemistry (Incubating) CMIS client library for Python
Home-page: http://incubator.apache.org/chemistry/
Author: Apache Chemistry Project
Modified: incubator/chemistry/cmislib/trunk/src/cmislib.egg-info/SOURCES.txt
URL:
http://svn.apache.org/viewvc/incubator/chemistry/cmislib/trunk/src/cmislib.egg-info/SOURCES.txt?rev=1060868&r1=1060867&r2=1060868&view=diff
==============================================================================
--- incubator/chemistry/cmislib/trunk/src/cmislib.egg-info/SOURCES.txt
(original)
+++ incubator/chemistry/cmislib/trunk/src/cmislib.egg-info/SOURCES.txt Wed Jan
19 17:09:10 2011
@@ -1,3 +1,4 @@
+KEYS
LICENSE.txt
MANIFEST.in
NOTICE.txt
@@ -32,6 +33,38 @@ src/data/types.chemistry.xml
src/data/types.filenet.xml
src/data/types.xml
src/data/workingCopy.xml
+src/doc/build/about.html
+src/doc/build/code.html
+src/doc/build/devguide.html
+src/doc/build/docs.html
+src/doc/build/examples.html
+src/doc/build/genindex.html
+src/doc/build/index.html
+src/doc/build/install.html
+src/doc/build/modindex.html
+src/doc/build/objects.inv
+src/doc/build/sample-data.html
+src/doc/build/search.html
+src/doc/build/searchindex.js
+src/doc/build/tests.html
+src/doc/build/_sources/about.txt
+src/doc/build/_sources/code.txt
+src/doc/build/_sources/devguide.txt
+src/doc/build/_sources/docs.txt
+src/doc/build/_sources/examples.txt
+src/doc/build/_sources/index.txt
+src/doc/build/_sources/install.txt
+src/doc/build/_sources/sample-data.txt
+src/doc/build/_sources/tests.txt
+src/doc/build/_static/basic.css
+src/doc/build/_static/default.css
+src/doc/build/_static/doctools.js
+src/doc/build/_static/file.png
+src/doc/build/_static/jquery.js
+src/doc/build/_static/minus.png
+src/doc/build/_static/plus.png
+src/doc/build/_static/pygments.css
+src/doc/build/_static/searchtools.js
src/doc/src/Makefile
src/doc/src/about.rst
src/doc/src/code.rst
@@ -42,6 +75,7 @@ src/doc/src/examples.rst
src/doc/src/index.rst
src/doc/src/install.rst
src/doc/src/make.bat
+src/doc/src/run-sphinx.py
src/doc/src/sample-data.rst
src/doc/src/tests.rst
src/doc/src/.doctrees/about.doctree
Modified: incubator/chemistry/cmislib/trunk/src/cmislib/exceptions.py
URL:
http://svn.apache.org/viewvc/incubator/chemistry/cmislib/trunk/src/cmislib/exceptions.py?rev=1060868&r1=1060867&r2=1060868&view=diff
==============================================================================
--- incubator/chemistry/cmislib/trunk/src/cmislib/exceptions.py (original)
+++ incubator/chemistry/cmislib/trunk/src/cmislib/exceptions.py Wed Jan 19
17:09:10 2011
@@ -12,6 +12,7 @@
# limitations under the License.
#
+
class CmisException(Exception):
"""
Modified: incubator/chemistry/cmislib/trunk/src/cmislib/model.py
URL:
http://svn.apache.org/viewvc/incubator/chemistry/cmislib/trunk/src/cmislib/model.py?rev=1060868&r1=1060867&r2=1060868&view=diff
==============================================================================
--- incubator/chemistry/cmislib/trunk/src/cmislib/model.py (original)
+++ incubator/chemistry/cmislib/trunk/src/cmislib/model.py Wed Jan 19 17:09:10
2011
@@ -299,7 +299,6 @@ class CmisClient(object):
See CMIS specification document 3.2.4.1 Common CMIS Exceptions
"""
-
if error.status == 401:
raise PermissionDeniedException(error.status, error.url)
elif error.status == 400:
Modified: incubator/chemistry/cmislib/trunk/src/cmislib/net.py
URL:
http://svn.apache.org/viewvc/incubator/chemistry/cmislib/trunk/src/cmislib/net.py?rev=1060868&r1=1060867&r2=1060868&view=diff
==============================================================================
--- incubator/chemistry/cmislib/trunk/src/cmislib/net.py (original)
+++ incubator/chemistry/cmislib/trunk/src/cmislib/net.py Wed Jan 19 17:09:10
2011
@@ -59,23 +59,24 @@ class DefaultErrorHandler(HTTPDefaultErr
result.status = code
return result
+
class ContextualBasicAuthHandler(HTTPBasicAuthHandler):
-
+
"""
Handles 401 errors without recursing indefinitely. The recursing
behaviour has been introduced in Python 2.6.5 to handle 401 redirects
used by some architectures of authentication.
"""
-
+
def __init__(self, password_mgr):
HTTPBasicAuthHandler.__init__(self, password_mgr)
self.authContext = set([])
-
+
def http_error_401(self, req, fp, code, msg, headers):
"""Override the default autoretry behaviour"""
url = req.get_full_url()
hdrs = req.header_items()
- hdrs = ', '.join(['%s: %s' % (key, value)
+ hdrs = ', '.join(['%s: %s' % (key, value)
for key, value in sorted(hdrs)])
context = (url, hdrs)
if context in self.authContext:
@@ -88,6 +89,7 @@ class ContextualBasicAuthHandler(HTTPBas
return self.http_error_auth_reqed('www-authenticate',
url, req, headers)
+
class RESTService(object):
"""
Modified: incubator/chemistry/cmislib/trunk/src/doc/src/conf.py
URL:
http://svn.apache.org/viewvc/incubator/chemistry/cmislib/trunk/src/doc/src/conf.py?rev=1060868&r1=1060867&r2=1060868&view=diff
==============================================================================
--- incubator/chemistry/cmislib/trunk/src/doc/src/conf.py (original)
+++ incubator/chemistry/cmislib/trunk/src/doc/src/conf.py Wed Jan 19 17:09:10
2011
@@ -60,7 +60,7 @@ copyright = u'2010, Apache Software Foun
# The short X.Y version.
version = '0.4'
# The full version, including alpha/beta/rc tags.
-release = '0.4dev'
+release = '0.4'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Modified: incubator/chemistry/cmislib/trunk/src/tests/cmislibtest.py
URL:
http://svn.apache.org/viewvc/incubator/chemistry/cmislib/trunk/src/tests/cmislibtest.py?rev=1060868&r1=1060867&r2=1060868&view=diff
==============================================================================
--- incubator/chemistry/cmislib/trunk/src/tests/cmislibtest.py (original)
+++ incubator/chemistry/cmislib/trunk/src/tests/cmislibtest.py Wed Jan 19
17:09:10 2011
@@ -318,7 +318,7 @@ class RepositoryTest(CmisTestBase):
# create a test doc
doc = subFolder.createDocument(docName)
- searchDocPath = subFolderPath + '/' + docName # TODO use proper path
segment
+ searchDocPath = subFolderPath + '/' + docName # TODO use proper path
segment
searchDoc = self._repo.getObjectByPath(searchDocPath)
self.assertEquals(doc.getObjectId(), searchDoc.getObjectId())