Skip to content

Commit

Permalink
* catch exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Jintin committed May 9, 2016
1 parent 243e155 commit d585c70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion andle/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import andle.android
import andle.sdk

__version__ = "1.5.5"
__version__ = "1.5.6"


def update(path, dryrun, remote, gradle):
Expand Down
2 changes: 1 addition & 1 deletion andle/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ def load(name, url=JCENTER_URL):
latest = versioning.getElementsByTagName("release")[0]
version = latest.childNodes[0].data
return version
except AttributeError:
except BaseException:
print("fail to get version : " + name)
return None

0 comments on commit d585c70

Please sign in to comment.