chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpo...@apache.org
Subject svn commit: r1598907 - /chemistry/cmislib/trunk/src/cmislib/browser/binding.py
Date Sat, 31 May 2014 19:32:31 GMT
Author: jpotts
Date: Sat May 31 19:32:30 2014
New Revision: 1598907

URL: http://svn.apache.org/r1598907
Log:
Continued work on the cmislib browser binding implementation

Modified:
    chemistry/cmislib/trunk/src/cmislib/browser/binding.py

Modified: chemistry/cmislib/trunk/src/cmislib/browser/binding.py
URL: http://svn.apache.org/viewvc/chemistry/cmislib/trunk/src/cmislib/browser/binding.py?rev=1598907&r1=1598906&r2=1598907&view=diff
==============================================================================
--- chemistry/cmislib/trunk/src/cmislib/browser/binding.py (original)
+++ chemistry/cmislib/trunk/src/cmislib/browser/binding.py Sat May 31 19:32:30 2014
@@ -671,11 +671,12 @@ class BrowserRepository(object):
                         'productVersion': self.data['productVersion'], 'rootFolderId': self.data['rootFolderId'],
                         'latestChangeLogToken': self.data['latestChangeLogToken'],
                         'cmisVersionSupported': self.data['cmisVersionSupported'],
-                        'thinClientURI': self.data['thinClientURI'],
                         'changesIncomplete': self.data['changesIncomplete'],
                         'changesOnType': self.data['changesOnType'],
                         'principalIdAnonymous': self.data['principalIdAnonymous'],
                         'principalIdAnyone': self.data['principalIdAnyone']}
+            if self.data.has_key('thinClientURI'):
+                repoInfo['thinClientURI'] = self.data['thinClientURI']
             if self.data.has_key('extendedFeatures'):
                 repoInfo['extendedFeatures'] = self.data['extendedFeatures']
             self._repositoryInfo = repoInfo
@@ -1180,10 +1181,10 @@ class BrowserRepository(object):
 
         # do the POST
         result = self._cmisClient.binding.post(queryUrl.encode('utf-8'),
-                                               self._cmisClient.username,
-                                               self._cmisClient.password,
                                                None,
                                                CMIS_FORM_TYPE,
+                                               self._cmisClient.username,
+                                               self._cmisClient.password,
                                                **kwargs)
 
         # return the result set



Mime
View raw message