Skip to content

Commit

Permalink
Merge pull request #143 from mwarkentin/0.18.0-prep
Browse files Browse the repository at this point in the history
0.18.0 prep
  • Loading branch information
mwarkentin committed Aug 19, 2019
2 parents 1456520 + 35fe120 commit 853cddb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions RELEASING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Releasing
=========

Releases are created via Travis or uploaded locally using `twine <https://github.com/pypa/twine]>`_.
Releases are created via Travis or uploaded locally using `twine <https://github.com/pypa/twine>`_.

When the release is ready to go:

Expand All @@ -17,8 +17,8 @@ Travis will run the full test suite and deploy to pypi in a separate stage if ev
Local fallback
~~~~~~~~~~~~~~

If Travis isn't available or working for releases for some reason, you can use `twine <https://github.com/pypa/twine]>`_ to upload the release.
If Travis isn't available or working for releases for some reason, you can use `twine`_ to upload the release.

* Install and configure `twine <https://github.com/pypa/twine]>`_
* Install and configure `twine`_
* Check dist locally: ``make dist``
* Deploy release: ``make release``
2 changes: 1 addition & 1 deletion watchman/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.17.0'
__version__ = '0.18.0'
2 changes: 1 addition & 1 deletion watchman/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def _parse_auth_header(auth_header):
# http://stackoverflow.com/questions/19028068/illegal-characters-in-http-headers
# https://www.w3.org/Protocols/rfc2616/rfc2616-sec2.html#sec2.2
# https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2
reg = re.compile('(\w+)[=] ?"?([\w-]+)"?')
reg = re.compile('(\w+)[=] ?"?([\w-]+)"?') # noqa: W605
header_dict = dict(reg.findall(auth_header))
return header_dict['Token']

Expand Down

0 comments on commit 853cddb

Please sign in to comment.