Skip to content

Commit

Permalink
* error message modify
Browse files Browse the repository at this point in the history
  • Loading branch information
Jintin committed Feb 11, 2016
1 parent 9de7486 commit 06088d5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ python:
- "3.4"
- "3.5"
- "pypy"
before_install:
- pip install codecov
install:
- sudo python setup.py install
script:
- nosetests
after_success:
- codecov
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.3"
__version__ = "1.5.4"


def update(path, dryrun, remote, gradle):
Expand Down
1 change: 1 addition & 0 deletions andle/gradle.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ def load(url=URL):
data = json.load(reader(andle.http.request(url)))
return data["version"]
except Exception:
print("fail to connect url: " + url)
return None
1 change: 0 additions & 1 deletion andle/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ def request(url):
try:
return urlopen(url)
except Exception:
print("fail to connect url: " + url)
return None
1 change: 1 addition & 0 deletions andle/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ def load(name, url=JCENTER_URL):
version = latest.childNodes[0].data
return version
except AttributeError:
print("fail to get version : " + name)
return None

0 comments on commit 06088d5

Please sign in to comment.