chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lmig...@apache.org
Subject svn commit: r1847586 - in /chemistry/cmislib/branches/py3_compat/src/cmislib: atompub/binding.py browser/binding.py domain.py
Date Tue, 27 Nov 2018 19:09:16 GMT
Author: lmignon
Date: Tue Nov 27 19:09:16 2018
New Revision: 1847586

URL: http://svn.apache.org/viewvc?rev=1847586&view=rev
Log:
[PATCH] Fix new flake8 warning

Modified:
    chemistry/cmislib/branches/py3_compat/src/cmislib/atompub/binding.py
    chemistry/cmislib/branches/py3_compat/src/cmislib/browser/binding.py
    chemistry/cmislib/branches/py3_compat/src/cmislib/domain.py

Modified: chemistry/cmislib/branches/py3_compat/src/cmislib/atompub/binding.py
URL: http://svn.apache.org/viewvc/chemistry/cmislib/branches/py3_compat/src/cmislib/atompub/binding.py?rev=1847586&r1=1847585&r2=1847586&view=diff
==============================================================================
--- chemistry/cmislib/branches/py3_compat/src/cmislib/atompub/binding.py (original)
+++ chemistry/cmislib/branches/py3_compat/src/cmislib/atompub/binding.py Tue Nov 27 19:09:16
2018
@@ -61,11 +61,11 @@ CMIS_NS = 'http://docs.oasis-open.org/ns
 # just to treat them all like patterns to simplify the matching logic
 ATOM_XML_TYPE = 'application/atom+xml'
 ATOM_XML_ENTRY_TYPE = 'application/atom+xml;type=entry'
-ATOM_XML_ENTRY_TYPE_P = re.compile('^application/atom\+xml.*type.*entry')
+ATOM_XML_ENTRY_TYPE_P = re.compile(r'^application/atom\+xml.*type.*entry')
 ATOM_XML_FEED_TYPE = 'application/atom+xml;type=feed'
-ATOM_XML_FEED_TYPE_P = re.compile('^application/atom\+xml.*type.*feed')
+ATOM_XML_FEED_TYPE_P = re.compile(r'^application/atom\+xml.*type.*feed')
 CMIS_TREE_TYPE = 'application/cmistree+xml'
-CMIS_TREE_TYPE_P = re.compile('^application/cmistree\+xml')
+CMIS_TREE_TYPE_P = re.compile(r'^application/cmistree\+xml')
 CMIS_QUERY_TYPE = 'application/cmisquery+xml'
 CMIS_ACL_TYPE = 'application/cmisacl+xml'
 
@@ -1642,12 +1642,12 @@ class AtomPubRepository(object):
 
         In order for the results to be properly instantiated as objects,
         make sure you include 'cmis:objectId' as one of the fields in
-        your select statement, or just use "SELECT \*".
+        your select statement, or just use "SELECT *".
 
         If you want the search results to automatically be instantiated with
         the appropriate sub-class of :class:`CmisObject` you must either
         include cmis:baseTypeId as one of the fields in your select statement
-        or just use "SELECT \*".
+        or just use "SELECT *".
 
         >>> q = "select * from cmis:document where cmis:name like '%test%'"
         >>> resultSet = repo.query(q)

Modified: chemistry/cmislib/branches/py3_compat/src/cmislib/browser/binding.py
URL: http://svn.apache.org/viewvc/chemistry/cmislib/branches/py3_compat/src/cmislib/browser/binding.py?rev=1847586&r1=1847585&r2=1847586&view=diff
==============================================================================
--- chemistry/cmislib/branches/py3_compat/src/cmislib/browser/binding.py (original)
+++ chemistry/cmislib/branches/py3_compat/src/cmislib/browser/binding.py Tue Nov 27 19:09:16
2018
@@ -1205,12 +1205,12 @@ class BrowserRepository(object):
 
         In order for the results to be properly instantiated as objects,
         make sure you include 'cmis:objectId' as one of the fields in
-        your select statement, or just use "SELECT \*".
+        your select statement, or just use "SELECT *".
 
         If you want the search results to automatically be instantiated with
         the appropriate sub-class of :class:`CmisObject` you must either
         include cmis:baseTypeId as one of the fields in your select statement
-        or just use "SELECT \*".
+        or just use "SELECT *".
 
         >>> q = "select * from cmis:document where cmis:name like '%test%'"
         >>> resultSet = repo.query(q)

Modified: chemistry/cmislib/branches/py3_compat/src/cmislib/domain.py
URL: http://svn.apache.org/viewvc/chemistry/cmislib/branches/py3_compat/src/cmislib/domain.py?rev=1847586&r1=1847585&r2=1847586&view=diff
==============================================================================
--- chemistry/cmislib/branches/py3_compat/src/cmislib/domain.py (original)
+++ chemistry/cmislib/branches/py3_compat/src/cmislib/domain.py Tue Nov 27 19:09:16 2018
@@ -788,12 +788,12 @@ class Repository(object):
 
         In order for the results to be properly instantiated as objects,
         make sure you include 'cmis:objectId' as one of the fields in
-        your select statement, or just use "SELECT \*".
+        your select statement, or just use "SELECT *".
 
         If you want the search results to automatically be instantiated with
         the appropriate sub-class of :class:`CmisObject` you must either
         include cmis:baseTypeId as one of the fields in your select statement
-        or just use "SELECT \*".
+        or just use "SELECT *".
 
         >>> q = "select * from cmis:document where cmis:name like '%test%'"
         >>> resultSet = repo.query(q)



Mime
View raw message