author | Danek Duvall <danek.duvall@sun.com> |
Thu, 17 Apr 2008 19:03:51 -0700 | |
changeset 341 | 42383445191b |
parent 340 | 5367cc80f90d |
child 342 | 5e1f4d8429bf |
--- a/src/modules/client/image.py Thu Apr 17 17:04:00 2008 -0700 +++ b/src/modules/client/image.py Thu Apr 17 19:03:51 2008 -0700 @@ -473,7 +473,11 @@ else: m["authority"] = fmri.get_authority() - m.store(mpath, ipath) + try: + m.store(mpath, ipath) + except OSError, e: + if e.errno not in (errno.EROFS, errno.EACCES): + raise return m