equal
deleted
inserted
replaced
|
1 Solaris-specific patch for testing in Userland framework. |
|
2 Not appropriate for upstream. |
|
3 |
|
4 --- Imaging-1.1.7-orig/selftest.py 2015-08-25 10:45:10.000000000 -0700 |
|
5 +++ Imaging-1.1.7/selftest.py 2015-08-26 10:21:50.931646299 -0700 |
|
6 @@ -4,6 +4,10 @@ ROOT = "." |
|
7 |
|
8 import os, sys |
|
9 sys.path.insert(0, ROOT) |
|
10 +# PYTHONPATH should be searched first, to find PIL modules installed on |
|
11 +# the system, ahead of the current directory and the source directory |
|
12 +# where this script resides |
|
13 +sys.path.insert(0, os.environ.get('PYTHONPATH')) |
|
14 |
|
15 from PIL import Image |
|
16 from PIL import ImageDraw |