Merge pull request #628 from pas256/devel

Pass through error message when repo not found
pull/4420/head
Michael DeHaan 2012-07-19 17:38:57 -07:00
commit ca21423c71
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ else:
# handle errors from clone or pull
if out.find('error') != -1:
if out.find('error') != -1 or err.find('ERROR') != -1:
fail_json(out=out, err=err)
# switch to version specified regardless of whether