diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2013-01-08 14:50:34 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2013-01-08 14:50:34 -0500 |
commit | c3542b5e46c6599a4f3003b7a598072c9898412b (patch) | |
tree | 665c9b0369f2352c02d74a6ecd5806279068e992 | |
parent | 840cb864a3b41ccff310077eff487c3fa1d6b805 (diff) |
MAINT-2155: when permitting missing old logfile, check for ENOENT
instead of errno.EEXIST. Sigh.
-rwxr-xr-x | indra/viewer_components/updater/scripts/darwin/update_install.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/viewer_components/updater/scripts/darwin/update_install.py b/indra/viewer_components/updater/scripts/darwin/update_install.py index e8b96e6123..87b931fbeb 100755 --- a/indra/viewer_components/updater/scripts/darwin/update_install.py +++ b/indra/viewer_components/updater/scripts/darwin/update_install.py @@ -162,7 +162,7 @@ def main(dmgfile, markerfile, markertext, appdir=None): os.rename(logname, logname + ".old") except OSError, err: # Nonexistence is okay. Anything else, not so much. - if err.errno != errno.EEXIST: + if err.errno != errno.ENOENT: raise # Open new updater.log. |