projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cb3685
)
[REM] access to deprecated APIs for unsupported Python versions
author
Xavier Morel
<xmo@openerp.com>
Fri, 14 Dec 2012 12:17:11 +0000
(13:17 +0100)
committer
Xavier Morel
<xmo@openerp.com>
Fri, 14 Dec 2012 12:17:11 +0000
(13:17 +0100)
bzr revid: xmo@openerp.com-
20121214121711
-d1r6nx82f0mpwgwy
openerp/report/pyPdf/pdf.py
patch
|
blob
|
history
diff --git
a/openerp/report/pyPdf/pdf.py
b/openerp/report/pyPdf/pdf.py
index
9c4f31c
..
a3dd9f2
100644
(file)
--- a/
openerp/report/pyPdf/pdf.py
+++ b/
openerp/report/pyPdf/pdf.py
@@
-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