Issue #14455: Fix maybe_open typo in Plist.fromFile().

This commit is contained in:
Ned Deily 2013-11-21 20:56:23 -08:00
parent f6de9eb2bb
commit c06d6fdc37
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ class Plist(_InternalDict):
@classmethod
def fromFile(cls, pathOrFile):
"""Deprecated. Use the load() function instead."""
with maybe_open(pathOrFile, 'rb') as fp:
with _maybe_open(pathOrFile, 'rb') as fp:
value = load(fp)
plist = cls()
plist.update(value)