~ubuntu-branches/ubuntu/wily/python-imaging/wily

« back to all changes in this revision

Viewing changes to PIL/McIdasImagePlugin.py

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-01-31 20:49:20 UTC
  • mfrom: (27.1.1 raring-proposed)
  • Revision ID: package-import@ubuntu.com-20130131204920-b5zshy6vgfvdionl
Tags: 1.1.7+1.7.8-1ubuntu1
Rewrite build dependencies to allow cross builds.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
__version__ = "0.2"
20
20
 
21
21
import struct
22
 
import Image, ImageFile
 
22
from . import Image, ImageFile
23
23
 
24
24
def _accept(s):
25
 
    return s[:8] == "\x00\x00\x00\x00\x00\x00\x00\x04"
 
25
    return s[:8] == b"\x00\x00\x00\x00\x00\x00\x00\x04"
26
26
 
27
27
##
28
28
# Image plugin for McIdas area images.