Mercurial > hg
diff mercurial/bookmarks.py @ 14004:97ed99d1f419
eliminate various naked except clauses
author | Idan Kamara <idankk86@gmail.com> |
---|---|
date | Sat, 23 Apr 2011 00:51:25 +0300 |
parents | d16c99f16f00 |
children | 78ab705a8147 |
line wrap: on
line diff
--- a/mercurial/bookmarks.py Sun Apr 24 17:52:46 2011 -0500 +++ b/mercurial/bookmarks.py Sat Apr 23 00:51:25 2011 +0300 @@ -29,7 +29,7 @@ sha, refspec = line.strip().split(' ', 1) refspec = encoding.tolocal(refspec) bookmarks[refspec] = repo.changelog.lookup(sha) - except: + except IOError: pass return bookmarks