| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -25,8 +25,6 @@ | |||
| 25 | 25 | # See the README file for information on usage and redistribution. | |
| 26 | 26 | # | |
| 27 | 27 | ||
| 28 | - from __future__ import print_function | ||
| 29 | - | ||
| 30 | 28 | from PIL import Image | |
| 31 | 29 | from PIL._util import isDirectory, isPath | |
| 32 | 30 | import os | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,8 +15,6 @@ | |||
| 15 | 15 | # See the README file for information on usage and redistribution. | |
| 16 | 16 | # | |
| 17 | 17 | ||
| 18 | - from __future__ import print_function | ||
| 19 | - | ||
| 20 | 18 | from PIL import EpsImagePlugin | |
| 21 | 19 | ||
| 22 | 20 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -25,14 +25,16 @@ | |||
| 25 | 25 | # See the README file for information on usage and redistribution. | |
| 26 | 26 | # | |
| 27 | 27 | ||
| 28 | - __version__ = "0.6" | ||
| 28 | + from __future__ import print_function | ||
| 29 | 29 | ||
| 30 | 30 | from PIL import Image, ImageFile, ImagePalette, _binary | |
| 31 | 31 | ||
| 32 | 32 | i8 = _binary.i8 | |
| 33 | 33 | i16 = _binary.i16le | |
| 34 | 34 | o8 = _binary.o8 | |
| 35 | 35 | ||
| 36 | + __version__ = "0.6" | ||
| 37 | + | ||
| 36 | 38 | ||
| 37 | 39 | def _accept(prefix): | |
| 38 | 40 | return i8(prefix[0]) == 10 and i8(prefix[1]) in [0, 2, 3, 5] | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,4 @@ | |||
| 1 | + from __future__ import print_function | ||
| 1 | 2 | import base64 | |
| 2 | 3 | import os | |
| 3 | 4 | import sys | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,4 @@ | |||
| 1 | + from __future__ import print_function | ||
| 1 | 2 | import sys | |
| 2 | 3 | sys.path.insert(0, ".") | |
| 3 | 4 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,7 @@ | |||
| 1 | 1 | # brute-force search for access descriptor hash table | |
| 2 | 2 | ||
| 3 | + from __future__ import print_function | ||
| 4 | + | ||
| 3 | 5 | modes = [ | |
| 4 | 6 | "1", | |
| 5 | 7 | "L", "LA", | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,4 @@ | |||
| 1 | + from __future__ import print_function | ||
| 1 | 2 | from helper import unittest, PillowTestCase, hopper, py3 | |
| 2 | 3 | ||
| 3 | 4 | import os | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,4 @@ | |||
| 1 | + from __future__ import print_function | ||
| 1 | 2 | from helper import unittest, PillowTestCase, hopper, py3 | |
| 2 | 3 | ||
| 3 | 4 | from PIL import Image, TiffImagePlugin | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,4 @@ | |||
| 1 | + from __future__ import print_function | ||
| 1 | 2 | from helper import unittest, PillowTestCase, hopper | |
| 2 | 3 | ||
| 3 | 4 | from PIL import Image | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,4 @@ | |||
| 1 | + from __future__ import print_function | ||
| 1 | 2 | from helper import unittest, PillowTestCase | |
| 2 | 3 | ||
| 3 | 4 | from PIL import Image | |
| Back | FazBrowse Home | New Git URL |
0 commit comments