Utilities/binplistlib.py

branch
Py2 comp.
changeset 3145
a9de05d4a22f
parent 3060
5883ce99ee12
child 3161
06f57a834adf
equal deleted inserted replaced
3144:bb63e24383e4 3145:a9de05d4a22f
50 except (InvalidPlistException, NotBinaryPlistException) as e: 50 except (InvalidPlistException, NotBinaryPlistException) as e:
51 print("Not a plist:", e) 51 print("Not a plist:", e)
52 </pre> 52 </pre>
53 """ 53 """
54 54
55 from __future__ import unicode_literals # __IGNORE_WARNING__ 55 from __future__ import unicode_literals
56 try: 56 try:
57 str = unicode 57 str = unicode # __IGNORE_WARNING__
58 except (NameError): 58 except (NameError):
59 pass 59 pass
60 60
61 # 61 #
62 # Ported from the Python 2 biplist.py script. 62 # Ported from the Python 2 biplist.py script.

eric ide

mercurial