Skip to content

Commit

Permalink
Version 0.2.2
Browse files Browse the repository at this point in the history
Made it compliant with Python 3.5 by removing f-strings
  • Loading branch information
hbldh committed Nov 8, 2018
1 parent 423196e commit c1f6581
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
5 changes: 0 additions & 5 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,3 @@ wheel = "*"
watchdog = "*"
coverage = "*"
pytest-runner = "*"


[requires]

python_version = "3.6"
2 changes: 1 addition & 1 deletion bleak/__version__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-

__version__ = "0.2.1"
__version__ = "0.2.2"
5 changes: 1 addition & 4 deletions bleak/backends/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,4 @@ def __init__(self, address, name, details=None):
self.details = details

def __str__(self):
return f"{self.address}: {self.name}"

def __repr__(self):
return f"<{self.__class__.__name__}({self.address}, {self.name})>"
return "{0}: {0}".format(self.address, self.name)
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ def run(self):
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython'
],
# $ setup.py publish support.
Expand Down

0 comments on commit c1f6581

Please sign in to comment.