You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/mate-extra/caja-hide/files/caja-hide-0.9.0-py3-support...

21 lines
684 B

# futurized
--- a/src/caja-hide.py
+++ b/src/caja-hide.py
@@ -1,3 +1,6 @@
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import unicode_literals
# Caja Hide - Extension for Caja to hide files without renaming them
# Copyright (C) 2015-2016 Caja Hide authors.
#
@@ -14,6 +17,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+from future import standard_library
+standard_library.install_aliases()
+from builtins import *
import os
from gi.repository import Caja, GObject
from gettext import ngettext, locale, bindtextdomain, textdomain