From ff81fbb9382942e15b1d0d24749a03556fcaf887 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Thu, 31 Aug 2017 20:28:27 -0700 Subject: [PATCH] Ensure files end in a newline --- .evergreen/config.yml | 1 - .evergreen/run-mod-wsgi-tests.sh | 1 - CONTRIBUTING.rst | 1 - LICENSE | 1 - THIRD-PARTY-NOTICES | 1 - doc/__init__.py | 1 - doc/_templates/layout.html | 1 - doc/api/pymongo/collection.rst | 1 - doc/api/pymongo/command_cursor.rst | 1 - doc/api/pymongo/read_preferences.rst | 1 - doc/examples/authentication.rst | 1 - doc/examples/geo.rst | 1 - doc/examples/gevent.rst | 1 - doc/examples/tailable.rst | 1 - doc/installation.rst | 1 - doc/python3.rst | 1 - pymongo/ssl_context.py | 1 - test/bson_corpus/decimal128-2.json | 1 - test/bson_corpus/decimal128-5.json | 1 - test/bson_corpus/multi-type-deprecated.json | 1 - tox.ini | 1 - 21 files changed, 21 deletions(-) diff --git a/.evergreen/config.yml b/.evergreen/config.yml index f94941f6c..89b5540f5 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -1275,4 +1275,3 @@ buildvariants: # Darwin MongoDB SSL builds are not available for 2.6 # SUSE12 x86_64 is only supported by MongoDB 3.2+ # vim: set et sw=2 ts=2 : - diff --git a/.evergreen/run-mod-wsgi-tests.sh b/.evergreen/run-mod-wsgi-tests.sh index d20961085..f4f4c72f9 100644 --- a/.evergreen/run-mod-wsgi-tests.sh +++ b/.evergreen/run-mod-wsgi-tests.sh @@ -44,4 +44,3 @@ fi ${PYTHON_BINARY} ${PROJECT_DIRECTORY}/test/mod_wsgi_test/test_client.py -n 25000 -t 100 parallel http://localhost:8080${PROJECT_DIRECTORY} ${PYTHON_BINARY} ${PROJECT_DIRECTORY}/test/mod_wsgi_test/test_client.py -n 25000 serial http://localhost:8080${PROJECT_DIRECTORY} - diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 9a48940e7..a431ba8d0 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -48,4 +48,3 @@ just make your changes to the inline documentation of the appropriate branch and submit a `pull request `_. You might also use the github `Edit `_ button. - diff --git a/LICENSE b/LICENSE index 57bc88a15..261eeb9e9 100644 --- a/LICENSE +++ b/LICENSE @@ -199,4 +199,3 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - diff --git a/THIRD-PARTY-NOTICES b/THIRD-PARTY-NOTICES index 14bf776d7..0bbd9b164 100644 --- a/THIRD-PARTY-NOTICES +++ b/THIRD-PARTY-NOTICES @@ -149,4 +149,3 @@ products or services of Licensee, or any third party. 8. By copying, installing or otherwise using Python, Licensee agrees to be bound by the terms and conditions of this License Agreement. - diff --git a/doc/__init__.py b/doc/__init__.py index 8b1378917..e69de29bb 100644 --- a/doc/__init__.py +++ b/doc/__init__.py @@ -1 +0,0 @@ - diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html index fcaa37b4f..ed7851bde 100644 --- a/doc/_templates/layout.html +++ b/doc/_templates/layout.html @@ -16,4 +16,3 @@ {% endif %} {%- endblock -%} - diff --git a/doc/api/pymongo/collection.rst b/doc/api/pymongo/collection.rst index 49e32383a..3783ef4a6 100644 --- a/doc/api/pymongo/collection.rst +++ b/doc/api/pymongo/collection.rst @@ -73,4 +73,3 @@ .. automethod:: remove(spec_or_id=None, multi=True, **kwargs) .. automethod:: find_and_modify .. automethod:: ensure_index - diff --git a/doc/api/pymongo/command_cursor.rst b/doc/api/pymongo/command_cursor.rst index 9c84f19a6..2d0597a00 100644 --- a/doc/api/pymongo/command_cursor.rst +++ b/doc/api/pymongo/command_cursor.rst @@ -4,4 +4,3 @@ .. automodule:: pymongo.command_cursor :synopsis: Tools for iterating over MongoDB command results :members: - diff --git a/doc/api/pymongo/read_preferences.rst b/doc/api/pymongo/read_preferences.rst index 5944c0555..760526439 100644 --- a/doc/api/pymongo/read_preferences.rst +++ b/doc/api/pymongo/read_preferences.rst @@ -29,4 +29,3 @@ .. autoattribute:: SECONDARY .. autoattribute:: SECONDARY_PREFERRED .. autoattribute:: NEAREST - diff --git a/doc/examples/authentication.rst b/doc/examples/authentication.rst index 7d40d40ed..835821328 100644 --- a/doc/examples/authentication.rst +++ b/doc/examples/authentication.rst @@ -220,4 +220,3 @@ the SASL PLAIN mechanism:: ... ssl_cert_reqs=ssl.CERT_REQUIRED, ... ssl_ca_certs='/path/to/ca.pem') >>> - diff --git a/doc/examples/geo.rst b/doc/examples/geo.rst index f2e90aab3..99531d3fc 100644 --- a/doc/examples/geo.rst +++ b/doc/examples/geo.rst @@ -96,4 +96,3 @@ geoNear queries are also supported using :class:`~bson.son.SON`:: >>> from bson.son import SON >>> db.command(SON([('geoNear', 'places'), ('near', [1, 2])])) {u'ok': 1.0, u'stats': ...} - diff --git a/doc/examples/gevent.rst b/doc/examples/gevent.rst index 103dc47b4..2195aa746 100644 --- a/doc/examples/gevent.rst +++ b/doc/examples/gevent.rst @@ -48,4 +48,3 @@ Applications using uWSGI prior to 1.9.16 are affected by this issue, or newer uWSGI versions with the ``-gevent-wait-for-hub`` option. See `the uWSGI changelog for details `_. - diff --git a/doc/examples/tailable.rst b/doc/examples/tailable.rst index 34f75b408..b9b6dcd74 100644 --- a/doc/examples/tailable.rst +++ b/doc/examples/tailable.rst @@ -38,4 +38,3 @@ of a replica set member:: # tailable cursor timed out (no new documents were added to the # collection for more than 1 second). time.sleep(1) - diff --git a/doc/installation.rst b/doc/installation.rst index 7d2f6c41f..b77bdd9a8 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -240,4 +240,3 @@ They can be installed by passing the full URL for the tag to pip:: or easy_install:: $ python -m easy_install https://github.com/mongodb/mongo-python-driver/archive/3.4rc0.tar.gz - diff --git a/doc/python3.rst b/doc/python3.rst index e55daddb7..593c93501 100644 --- a/doc/python3.rst +++ b/doc/python3.rst @@ -114,4 +114,3 @@ you must use ``protocol <= 2``:: >>> import pickle >>> pickle.loads('\x80\x02cbson.objectid\nObjectId\nq\x00)\x81q\x01c_codecs\nencode\...') ObjectId('4f96f20c430ee6bd06000000') - diff --git a/pymongo/ssl_context.py b/pymongo/ssl_context.py index d2e8a02f8..41cc774ed 100644 --- a/pymongo/ssl_context.py +++ b/pymongo/ssl_context.py @@ -94,4 +94,3 @@ class SSLContext(object): ca_certs=self._cafile, do_handshake_on_connect=do_handshake_on_connect, suppress_ragged_eofs=suppress_ragged_eofs) - diff --git a/test/bson_corpus/decimal128-2.json b/test/bson_corpus/decimal128-2.json index 316d3b0e6..de73b86ff 100644 --- a/test/bson_corpus/decimal128-2.json +++ b/test/bson_corpus/decimal128-2.json @@ -790,4 +790,3 @@ } ] } - diff --git a/test/bson_corpus/decimal128-5.json b/test/bson_corpus/decimal128-5.json index e976eae40..778bf96c4 100644 --- a/test/bson_corpus/decimal128-5.json +++ b/test/bson_corpus/decimal128-5.json @@ -399,4 +399,3 @@ } ] } - diff --git a/test/bson_corpus/multi-type-deprecated.json b/test/bson_corpus/multi-type-deprecated.json index 5aac1bd2e..e804e23c8 100644 --- a/test/bson_corpus/multi-type-deprecated.json +++ b/test/bson_corpus/multi-type-deprecated.json @@ -12,4 +12,3 @@ } ] } - diff --git a/tox.ini b/tox.ini index dadf3e5f8..91e9f9725 100644 --- a/tox.ini +++ b/tox.ini @@ -14,4 +14,3 @@ commands = [testenv:py26] deps = unittest2 -