File tree Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 5
5
import requests
6
6
7
7
8
- __version__ = u'1.0'
8
+ __version__ = u'1.0.1 '
9
9
10
10
11
11
class AkismetError (Exception ):
Original file line number Diff line number Diff line change 9
9
project = u'akismet'
10
10
copyright = u'2005-2017, Michael Foord and James Bennett'
11
11
version = '1.0'
12
- release = '1.0'
12
+ release = '1.0.1 '
13
13
exclude_trees = ['_build' ]
14
14
pygments_style = 'sphinx'
15
15
html_static_path = ['_static' ]
Original file line number Diff line number Diff line change @@ -92,8 +92,8 @@ The Akismet web service documentation recommends sending a string
92
92
identifying the application or platform with version, and Akismet
93
93
plugin/implementation name with version. In accordance with this,
94
94
``akismet `` sends an HTTP ``User-Agent `` based on the versions of
95
- Python and ``akismet `` in use. For example, on Python 3.5 the string
96
- will be ``Python/3.5 | akismet.py/1.0 ``.
95
+ Python and ``akismet `` in use. For example, `` akismet `` 1.0 on Python
96
+ 3.5 will send ``Python/3.5 | akismet.py/1.0.1 ``.
97
97
98
98
99
99
Does ``akismet `` support the "pro-tip" header?
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ Using ``akismet``
116
116
117
117
:param user_ip: The IP address of the user posting the comment.
118
118
:type user_ip: ``str ``
119
- :param user_agent: The HTTP ``User-Agent `` heaer of th euser
119
+ :param user_agent: The HTTP ``User-Agent `` header of the user
120
120
posting the comment.
121
121
:type user_agent: ``str ``
122
122
:rtype: ``bool ``
@@ -136,7 +136,7 @@ Using ``akismet``
136
136
137
137
:param user_ip: The IP address of the user posting the comment.
138
138
:type user_ip: ``str ``
139
- :param user_agent: The HTTP ``User-Agent `` heaer of th euser
139
+ :param user_agent: The HTTP ``User-Agent `` header of the user
140
140
posting the comment.
141
141
:type user_agent: ``str ``
142
142
:rtype: ``bool ``
@@ -156,7 +156,7 @@ Using ``akismet``
156
156
157
157
:param user_ip: The IP address of the user posting the comment.
158
158
:type user_ip: ``str ``
159
- :param user_agent: The HTTP ``User-Agent `` heaer of th euser
159
+ :param user_agent: The HTTP ``User-Agent `` header of the user
160
160
posting the comment.
161
161
:type user_agent: ``str ``
162
162
:rtype: ``bool ``
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ documentation now recomends a standard format for the ``User-Agent``
28
28
header, and as a result this is no longer directly configurable. The
29
29
``User-Agent `` string of ``akismet `` will now be based on the Python
30
30
version and the version of ``akismet ``, in accordance with the Akismet
31
- service's recommendation. For example, ``akismet `` | version | on Python
31
+ service's recommendation. For example, ``akismet `` 1.0 on Python
32
32
3.5 will send the string ``Python/3.5 | akismet.py/1.0 ``.
33
33
34
34
If you do need to send a custom ``User-Agent ``, you can subclass
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ license = BSD 3-Clause
21
21
long_description = file: README.rst
22
22
name = akismet
23
23
url = https://github.com/ubernostrum/akismet
24
- version = 1.0
24
+ version = 1.0.1
25
25
26
26
[options]
27
27
install_requires =
You can’t perform that action at this time.
0 commit comments