summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2018-03-06 11:42:30 +0100
committerMichael Stahl <Michael.Stahl@cib.de>2018-04-09 10:32:47 +0200
commitaa02205fc46ed53a0af18517c3cd4064d514f85f (patch)
tree1ce3aaf0a7eb67bd08a3c0f1c98383bf31ad5c3b /pyuno
parent41f1a38b9e8b5e0567bf642d3e14a549e82ee0d9 (diff)
configure,pyuno: require at least Python 2.7
Nobody needs to use 2.6 any more, so reduce the maintenance burden. https://lists.freedesktop.org/archives/libreoffice/2018-March/079670.html Change-Id: I101e26fbceffbe6119f4a6484530f27760b03eb4 Reviewed-on: https://gerrit.libreoffice.org/50816 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/source/module/pyuno.cxx2
-rw-r--r--pyuno/source/module/pyuno_callable.cxx2
-rw-r--r--pyuno/source/module/pyuno_runtime.cxx2
-rw-r--r--pyuno/source/module/pyuno_struct.cxx2
4 files changed, 0 insertions, 8 deletions
diff --git a/pyuno/source/module/pyuno.cxx b/pyuno/source/module/pyuno.cxx
index ee66c7537d8d..dc73a754609d 100644
--- a/pyuno/source/module/pyuno.cxx
+++ b/pyuno/source/module/pyuno.cxx
@@ -1678,9 +1678,7 @@ static PyTypeObject PyUNOType =
nullptr,
nullptr,
nullptr
-#if PY_VERSION_HEX >= 0x02060000
, 0
-#endif
#if PY_VERSION_HEX >= 0x03040000
, nullptr
#endif
diff --git a/pyuno/source/module/pyuno_callable.cxx b/pyuno/source/module/pyuno_callable.cxx
index 9320c8e84a8e..2075fc7e372f 100644
--- a/pyuno/source/module/pyuno_callable.cxx
+++ b/pyuno/source/module/pyuno_callable.cxx
@@ -221,9 +221,7 @@ static PyTypeObject PyUNO_callable_Type =
nullptr,
nullptr,
nullptr
-#if PY_VERSION_HEX >= 0x02060000
, 0
-#endif
#if PY_VERSION_HEX >= 0x03040000
, nullptr
#endif
diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx
index 559310220bde..751c104dca04 100644
--- a/pyuno/source/module/pyuno_runtime.cxx
+++ b/pyuno/source/module/pyuno_runtime.cxx
@@ -115,9 +115,7 @@ static PyTypeObject RuntimeImpl_Type =
nullptr,
nullptr,
nullptr
-#if PY_VERSION_HEX >= 0x02060000
, 0
-#endif
#if PY_VERSION_HEX >= 0x03040000
, nullptr
#endif
diff --git a/pyuno/source/module/pyuno_struct.cxx b/pyuno/source/module/pyuno_struct.cxx
index e23b74db20eb..2fbb81350387 100644
--- a/pyuno/source/module/pyuno_struct.cxx
+++ b/pyuno/source/module/pyuno_struct.cxx
@@ -340,9 +340,7 @@ static PyTypeObject PyUNOStructType =
nullptr,
nullptr,
nullptr
-#if PY_VERSION_HEX >= 0x02060000
, 0
-#endif
#if PY_VERSION_HEX >= 0x03040000
, nullptr
#endif