Skip to content

Commit

Permalink
Fixes comparing verson bug in updatable for Python3.
Browse files Browse the repository at this point in the history
Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
  • Loading branch information
mkouhei committed May 6, 2016
1 parent 6e5daaf commit 92e8d23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap_py/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def _latest_version(self):
try:
resp = requests.get(self.badge_url)
except requests.exceptions.ConnectionError:
return
return '0.0.0'
element_tree = fromstring(resp.text)
return element_tree.findall(
'{ns}g'.format(ns=self.name_space))[1].findall(
Expand Down

0 comments on commit 92e8d23

Please sign in to comment.