Skip to content

Commit

Permalink
Fix some doc/rst issue
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-wangxu committed Nov 8, 2019
1 parent 194f3b6 commit f27b0ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ This queue does not allow duplicate items.
>>>
Example usage of SQLite3 based ``SQLiteAckQueue``/``UniqueAckQ``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The core functions:

- ``get``: get from queue and mark item as unack
Expand Down Expand Up @@ -402,7 +402,7 @@ Explicit resource reclaim

For some reasons, an application may require explicit reclamation for file
handles or sql connections before end of execution. In these cases, user can
simply call:
simply call:
.. code-block:: python
q = Queue() # or q = persistqueue.SQLiteQueue('mypath', auto_commit=True)
Expand Down
3 changes: 3 additions & 0 deletions scripts/publish.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -e
BASE_DIR=`pwd`
NAME=$(basename $BASE_DIR)
if [[ "$NAME" != "persist-queue" ]];then
Expand All @@ -7,4 +8,6 @@ if [[ "$NAME" != "persist-queue" ]];then
fi
python setup.py build sdist
python setup.py build bdist_wheel
twine check ${BASE_DIR}/dist/*.tar.gz
twine check ${BASE_DIR}/dist/*.whl
twine upload ${BASE_DIR}/dist/*

0 comments on commit f27b0ca

Please sign in to comment.