patched fpdf for 2.5, thanks Niphlod
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ before_script:
|
|||||||
- psql -c 'create database test_w2p;' -U postgres
|
- psql -c 'create database test_w2p;' -U postgres
|
||||||
#Temporal solution to travis issue #155
|
#Temporal solution to travis issue #155
|
||||||
- sudo chmod 777 /dev/shm
|
- sudo chmod 777 /dev/shm
|
||||||
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
|
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
|
||||||
script: PYTHONPATH=. unit2 -v gluon.tests
|
script: PYTHONPATH=. unit2 -v gluon.tests
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
Version 2.4.4-stable+timestamp.2013.03.15.15.11.13
|
Version 2.4.4-stable+timestamp.2013.03.15.15.28.00
|
||||||
|
|||||||
@@ -450,7 +450,7 @@ class FPDF(object):
|
|||||||
fh = open(unifilename, "w")
|
fh = open(unifilename, "w")
|
||||||
pickle.dump(font_dict, fh)
|
pickle.dump(font_dict, fh)
|
||||||
fh.close()
|
fh.close()
|
||||||
except IOError as e:
|
except IOError, e:
|
||||||
if not e.errno == errno.EACCES:
|
if not e.errno == errno.EACCES:
|
||||||
raise # Not a permission error.
|
raise # Not a permission error.
|
||||||
del ttf
|
del ttf
|
||||||
@@ -1341,7 +1341,7 @@ class FPDF(object):
|
|||||||
font_dict['range'] = range_
|
font_dict['range'] = range_
|
||||||
pickle.dump(font_dict, fh)
|
pickle.dump(font_dict, fh)
|
||||||
fh.close()
|
fh.close()
|
||||||
except IOError as e:
|
except IOError, e:
|
||||||
if not e.errno == errno.EACCES:
|
if not e.errno == errno.EACCES:
|
||||||
raise # Not a permission error.
|
raise # Not a permission error.
|
||||||
if (font['cw'][cid] == 0):
|
if (font['cw'][cid] == 0):
|
||||||
|
|||||||
Reference in New Issue
Block a user