Utilities/binplistlib.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
48 print(plist) 48 print(plist)
49 except (InvalidPlistException, NotBinaryPlistException) as e: 49 except (InvalidPlistException, NotBinaryPlistException) as e:
50 print("Not a plist:", e) 50 print("Not a plist:", e)
51 </pre> 51 </pre>
52 """ 52 """
53
54 from __future__ import unicode_literals # __IGNORE_WARNING__
55 try:
56 str = unicode
57 except (NameError):
58 pass
53 59
54 # 60 #
55 # Ported from the Python 2 biplist.py script. 61 # Ported from the Python 2 biplist.py script.
56 # 62 #
57 # Original License: 63 # Original License:

eric ide

mercurial