Skip to content

Commit

Permalink
Merge pull request #81 from erasche/master
Browse files Browse the repository at this point in the history
Fix stuff breaking my TTS pusher
  • Loading branch information
jmchilton committed Feb 18, 2015
2 parents 326ca78 + 0afc9a8 commit 88c8b1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions planemo/commands/cmd_shed_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ def __find_repository(ctx, tsi, path, **kwds):
error("Could not update %s" % path)
try:
error(e.read())
except Exception as e2:
except AttributeError:
# I've seen a case where the error couldn't be read, so now
# wrapped in try/except
error(e2.read())
error("Could not find repository in toolshed")
return None

0 comments on commit 88c8b1f

Please sign in to comment.