summaryrefslogtreecommitdiff
path: root/systemd/pyutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/pyutil.c')
-rw-r--r--systemd/pyutil.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/systemd/pyutil.c b/systemd/pyutil.c
index cd91ec3..3526a25 100644
--- a/systemd/pyutil.c
+++ b/systemd/pyutil.c
@@ -58,7 +58,6 @@ int set_error(int r, const char* path, const char* invalid_message) {
return -1;
}
-#if PY_MAJOR_VERSION >=3 && PY_MINOR_VERSION >= 1
int Unicode_FSConverter(PyObject* obj, void *_result) {
PyObject **result = _result;
@@ -76,4 +75,3 @@ int Unicode_FSConverter(PyObject* obj, void *_result) {
return PyUnicode_FSConverter(obj, result);
}
-#endif