changeset 9031 | 3b76321aa0de |
parent 9029 | 0001e49f1c11 |
child 9032 | 1fa80c5428b8 |
--- a/mercurial/patch.py Sun Jul 05 11:01:01 2009 +0200 +++ b/mercurial/patch.py Sun Jul 05 11:01:30 2009 +0200 @@ -1139,7 +1139,7 @@ raise util.Abort(_('Unsupported line endings type: %s') % eolmode) try: - fp = file(patchobj, 'rb') + fp = open(patchobj, 'rb') except TypeError: fp = patchobj if cwd: