~ubuntu-branches/ubuntu/saucy/python2.7/saucy-proposed

« back to all changes in this revision

Viewing changes to Lib/filecmp.py

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-05-15 19:15:16 UTC
  • mto: (36.1.23 sid)
  • mto: This revision was merged to the branch mainline in revision 87.
  • Revision ID: package-import@ubuntu.com-20130515191516-zmv6to904wemey7s
Tags: upstream-2.7.5
ImportĀ upstreamĀ versionĀ 2.7.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
268
268
def _cmp(a, b, sh, abs=abs, cmp=cmp):
269
269
    try:
270
270
        return not abs(cmp(a, b, sh))
271
 
    except os.error:
 
271
    except (os.error, IOError):
272
272
        return 2
273
273
 
274
274