Skip to content

Commit

Permalink
Merge branch 'release/0.1.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
Daisuke Baba committed Jul 22, 2016
2 parents 7f58159 + 0eb94cb commit 4373a29
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $ ./setup.py test

# Revision history

* 0.1.1-0.1.2
* 0.1.1-0.1.3
- Fix resolve_modem_port()

* 0.1.0
Expand Down
9 changes: 6 additions & 3 deletions lib/candy_board_amt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,12 @@ def resolve_modem_port():
if ret is None:
port.close()
continue
ret = port.read_line()
if ret == "OK":
return p
while ret is not None:
ret = port.read_line()
if ret == "OK":
port.close()
return p

return None

class SockServer(threading.Thread):
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand

version = "0.1.2"
version = "0.1.3"

class PyTest(TestCommand):
def finalize_options(self):
Expand Down Expand Up @@ -50,7 +50,7 @@ def run_tests(self):
'CANDY EGG', 'CANDY LINE'
),
tests_require=['pytest-cov>=2.2.0',
'pytest>=2.8.2',
'pytest>=2.6.4',
'terminaltables>=1.2.1'],
cmdclass = {'test': PyTest}
)

0 comments on commit 4373a29

Please sign in to comment.