changeset 2482 | 818ebebc4554 |
parent 2476 | 0f7e4a39d9af |
child 2493 | 9c660e691e90 |
--- a/mercurial/commands.py Wed Jun 21 17:55:11 2006 -0700 +++ b/mercurial/commands.py Thu Jun 22 02:44:39 2006 +0200 @@ -390,7 +390,7 @@ def date2(f): try: return util.datestr((os.lstat(repo.wjoin(f)).st_mtime, tz)) - except IOError, err: + except OSError, err: if err.errno != errno.ENOENT: raise return _date2 def read(f):