summarylogtreecommitdiffstats
path: root/qplt.py-r1.21.patch
diff options
context:
space:
mode:
authorAntonio Rojas2018-08-24 08:48:09 +0000
committerAntonio Rojas2018-08-24 08:48:09 +0000
commitb48f2f06023556cda9e34a87e7fba2e94787ddd3 (patch)
tree1be93e5bbe12d5a152a2c48c5d8a48fa0fad4d7f /qplt.py-r1.21.patch
downloadaur-python2-pyqwt.tar.gz
Dropped from repos
Diffstat (limited to 'qplt.py-r1.21.patch')
-rw-r--r--qplt.py-r1.21.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/qplt.py-r1.21.patch b/qplt.py-r1.21.patch
new file mode 100644
index 00000000000..3d24b45dbc8
--- /dev/null
+++ b/qplt.py-r1.21.patch
@@ -0,0 +1,12 @@
+diff -ur PyQwt-5.2.0.orig/qt4lib/PyQt4/Qwt5/qplt.py PyQwt-5.2.0/qt4lib/PyQt4/Qwt5/qplt.py
+--- PyQwt-5.2.0.orig/qt4lib/PyQt4/Qwt5/qplt.py 2014-01-31 15:56:00.000000000 +0100
++++ PyQwt-5.2.0/qt4lib/PyQt4/Qwt5/qplt.py 2014-01-31 15:57:03.000000000 +0100
+@@ -204,7 +204,7 @@
+ self.setTitle(text)
+ elif isinstance(item, int):
+ self.setZoomerMouseEventSet(item)
+- elif (isinstance(item, tuple) and len(tuple) == 2
++ elif (isinstance(item, tuple) and len(item) == 2
+ and isinstance(item[0], int) and isinstance(item[1], int)):
+ self.size = item
+ elif isinstance(item, QWidget): # accept a parent silently