summaryrefslogtreecommitdiff
path: root/app-misc/recoll/files/recoll-python3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/recoll/files/recoll-python3.patch')
-rw-r--r--app-misc/recoll/files/recoll-python3.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/app-misc/recoll/files/recoll-python3.patch b/app-misc/recoll/files/recoll-python3.patch
new file mode 100644
index 000000000000..6d6fbdf39618
--- /dev/null
+++ b/app-misc/recoll/files/recoll-python3.patch
@@ -0,0 +1,17 @@
+--- a/filters/recoll-we-move-files.py
++++ b/filters/recoll-we-move-files.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python3
++#!/usr/bin/env python2
+ # Copyright (C) 2017 J.F.Dockes
+ # This program is free software; you can redistribute it and/or modify
+ # it under the terms of the GNU General Public License as published by
+@@ -42,6 +42,8 @@ try:
+ except:
+ import rclconfig
+
++from __future__ import print_function
++
+ verbosity = 0
+ def logdeb(s):
+ if verbosity >= 4: