Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7f06474

Browse filesBrowse files
authored
Merge pull request #122 from arcivanov/issue_108
Stop support for EOL Python versions
2 parents 26ceba6 + a920626 commit 7f06474
Copy full SHA for 7f06474

File tree

Expand file treeCollapse file tree

4 files changed

+4
-12
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+4
-12
lines changed

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ sudo: false
22
language: python
33
python:
44
- "2.7"
5-
- "3.2"
6-
- "3.3"
75
- "3.4"
86
- "3.5"
97
- "3.6"

‎README.rst

Copy file name to clipboardExpand all lines: README.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Python application.
2424
Requirements
2525
------------
2626

27-
- Python 2.6 or greater including 3.x
27+
- Python 2.7 or 3.4+
2828
- ``msgpack-python``
2929

3030
Installation

‎fluent/handler.py

Copy file name to clipboardExpand all lines: fluent/handler.py
+2-6Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,6 @@ def __init__(self, fmt=None, datefmt=None, style='%', fill_missing_fmt_key=False
9393
self.fill_missing_fmt_key = fill_missing_fmt_key
9494

9595
def format(self, record):
96-
# Only needed for python2.6
97-
if sys.version_info[0:2] <= (2, 6) and self.usesTime(): # pragma: no cover
98-
record.asctime = self.formatTime(record, self.datefmt)
99-
10096
# Compute attributes handled by parent class.
10197
super(FluentRecordFormatter, self).format(record)
10298
# Add ours
@@ -180,9 +176,9 @@ def _add_dic(data, dic):
180176

181177

182178
class FluentHandler(logging.Handler):
183-
'''
179+
"""
184180
Logging Handler for fluent.
185-
'''
181+
"""
186182

187183
def __init__(self,
188184
tag,

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
'Programming Language :: Python :: 2',
2828
'Programming Language :: Python :: 2.7',
2929
'Programming Language :: Python :: 3',
30-
'Programming Language :: Python :: 3.2',
31-
'Programming Language :: Python :: 3.3',
3230
'Programming Language :: Python :: 3.4',
3331
'Programming Language :: Python :: 3.5',
3432
'Programming Language :: Python :: 3.6',
@@ -39,6 +37,6 @@
3937
'Topic :: System :: Logging',
4038
'Intended Audience :: Developers',
4139
],
42-
python_requires=">=2.7,!=3.0,!=3.1,<3.8",
40+
python_requires=">=2.7,!=3.0,!=3.1,!=3.2,!=3.3,<3.8",
4341
test_suite='tests'
4442
)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.