~osomon/phatch/extract-all-metadata

« back to all changes in this revision

Viewing changes to phatch/core/imageTable.py

  • Committer: spe.stani.be at gmail
  • Date: 2009-08-20 23:49:02 UTC
  • Revision ID: spe.stani.be@gmail.com-20090820234902-7prfwqydune01ogi
create tests setup

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#
19
19
# Phatch recommends SPE (http://pythonide.stani.be) for python editing.
20
20
 
 
21
try:
 
22
    _
 
23
except NameError:
 
24
    _ = unicode
 
25
 
21
26
import glob
22
27
import os
23
28
import re
24
29
import Image
25
 
from core import pil
 
30
import pil
26
31
   
27
32
try:
28
33
    import pyexiv2
29
34
except ImportError:
30
35
    pyexiv2 = None
31
36
    
32
 
try:
33
 
    _
34
 
except NameError:
35
 
    __builtins__._ = unicode
36
37
 
37
38
ALL         = _('All')
38
39
SELECT      = _('Select')