[REM] access to deprecated APIs for unsupported Python versions
bzr revid: xmo@openerp.com-20121214121711-d1r6nx82f0mpwgwy
This commit is contained in:
parent
4cb3685f70
commit
83c102714f
|
@ -53,13 +53,7 @@ import utils
|
|||
from generic import *
|
||||
from utils import readNonWhitespace, readUntilWhitespace, ConvertFunctionsToVirtualList
|
||||
|
||||
if version_info < ( 2, 4 ):
|
||||
from sets import ImmutableSet as frozenset
|
||||
|
||||
if version_info < ( 2, 5 ):
|
||||
from md5 import md5
|
||||
else:
|
||||
from hashlib import md5
|
||||
from hashlib import md5
|
||||
|
||||
##
|
||||
# This class supports writing PDF files out, given pages produced by another
|
||||
|
|
Loading…
Reference in New Issue