[Pkg-hpijs-devel] Bug#767361: Workaround
Dominique Brazziel
dbrazziel at snet.net
Mon Aug 3 00:01:13 UTC 2015
The problem is in the conversion of integer 'ver' to
float 'ver_f'. Workaround is to just use the integer '2',
as python-reportlab is currently at version 3.2.1.
--- sendfaxdialog.py~ 2015-08-02 16:35:28.795557914 -0400
+++ sendfaxdialog.py 2015-08-02 16:37:31.105875325 -0400
@@ -76,13 +76,14 @@
import reportlab
ver = reportlab.Version
print ver
- try:
- ver_f = float(ver)
- print ver_f
- except ValueError:
- ver_f = 0.0
+ #try:
+ # ver_f = float(ver)
+ # print ver_f
+ #except ValueError:
+ # ver_f = 0.0
- if ver_f >= 2.0:
+ #if ver_f >= 2.0:
+ if ver >= 2:
coverpages_enabled = True
else:
log.warn("Pre-2.0 version of Reportlab installed. Fax coverpages disabled.")
More information about the Pkg-hpijs-devel
mailing list