diff --git a/=template.py b/=template.py index 46dddb6c19..1d4fcfab6c 100644 --- a/=template.py +++ b/=template.py @@ -1,7 +1,5 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: %YEAR%, %USER% <%MAIL%> -from __future__ import absolute_import, division, print_function, unicode_literals - %HERE% diff --git a/INSTALL.rst b/INSTALL.rst index 9a0990c9a2..be32e2cf08 100644 --- a/INSTALL.rst +++ b/INSTALL.rst @@ -13,15 +13,15 @@ environment (compilers, headers files, etc.) All installation related functions are accessed by the command:: - python2 setup.py + python setup.py For details on what functions are available, see:: - python2 setup.py -h + python setup.py -h Or for help on any individual functions, see:: - python2 setup.py -h + python setup.py -h Note that many of these functions are only useful for creating official release compilations. @@ -49,14 +49,14 @@ Build In order to bootstrap the raw git sources to a release-ready state, run the command:: - python2 setup.py bootstrap + python setup.py bootstrap In order to compile the C/C++ extensions etc. for a release-ready tarball (these functions are already included by the bootstrap function), run the commands:: - python2 setup.py build - python2 setup.py gui + python setup.py build + python setup.py gui Install ========== @@ -70,7 +70,7 @@ putting its files into the system in the following locations: This type of install can be run by the command:: - sudo python2 setup.py install + sudo python setup.py install is normally the installation prefix of python, usually /usr. It can be controlled by the --prefix option. @@ -90,4 +90,4 @@ resource files will be read from the calibre source tree in your home directory This type of install can be run with the command:: - sudo python2 setup.py develop + sudo python setup.py develop diff --git a/README.python3 b/README.python3 deleted file mode 100644 index 7f26de9993..0000000000 --- a/README.python3 +++ /dev/null @@ -1,29 +0,0 @@ -Efforts to port calibre to python 3 are ongoing. calibre can be run -using python3 under Linux. To do so, install python 3, checkout calibre -from source with - - git clone git@github.com:kovidgoyal/calibre.git && cd calibre - -Then, setup calibre to run under python2, with: - - python2 setup.py bootstrap - -Check that calibre works, with: - - python2 run-local calibre - -Now build the calibre C extensions for python 3 with: - - CALIBRE_PY3_PORT=1 python3 setup.py build - -You should now be able to run the calibre test suite using: - - CALIBRE_PY3_PORT=1 python3 setup.py test - -And run calibre itself (which may not work) with: - - python3 run-local calibre - - -For the status of the port, and discussion of its design, see -https://github.com/kovidgoyal/calibre/pull/870 diff --git a/bypy/linux/site.py b/bypy/linux/site.py index bf8f5a3e69..4921f1eeed 100644 --- a/bypy/linux/site.py +++ b/bypy/linux/site.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/bypy/macos/sign.py b/bypy/macos/sign.py index c3cbbee3e4..3279255aa7 100644 --- a/bypy/macos/sign.py +++ b/bypy/macos/sign.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/bypy/windows/site.py b/bypy/windows/site.py index 6217c4f026..74c6a43733 100644 --- a/bypy/windows/site.py +++ b/bypy/windows/site.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/icons/icns/make_iconsets.py b/icons/icns/make_iconsets.py index c0c271bf86..fa4153e424 100644 --- a/icons/icns/make_iconsets.py +++ b/icons/icns/make_iconsets.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/icons/make_ico_files.py b/icons/make_ico_files.py index 6bcf87d74a..e50d5368bf 100644 --- a/icons/make_ico_files.py +++ b/icons/make_ico_files.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/imgsrc/generate.py b/imgsrc/generate.py index 4a4f9e1546..898772e25a 100755 --- a/imgsrc/generate.py +++ b/imgsrc/generate.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/imgsrc/render-logo.py b/imgsrc/render-logo.py index 52e76e912c..3ad02cdb1e 100755 --- a/imgsrc/render-logo.py +++ b/imgsrc/render-logo.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/imgsrc/srv/generate.py b/imgsrc/srv/generate.py index 5aab1a3772..6d480d4804 100644 --- a/imgsrc/srv/generate.py +++ b/imgsrc/srv/generate.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/manual/build.py b/manual/build.py index 740b329d01..7d0a41cd46 100755 --- a/manual/build.py +++ b/manual/build.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/manual/custom.py b/manual/custom.py index 9b7f7e3490..c9a0307deb 100644 --- a/manual/custom.py +++ b/manual/custom.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import print_function diff --git a/manual/epub.py b/manual/epub.py index 0473be6e07..24f28c85b5 100644 --- a/manual/epub.py +++ b/manual/epub.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/manual/latex.py b/manual/latex.py index 4992901a80..58f187c1f5 100644 --- a/manual/latex.py +++ b/manual/latex.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/manual/plugin_examples/editor_demo/__init__.py b/manual/plugin_examples/editor_demo/__init__.py index 3f11452337..90a14601ee 100644 --- a/manual/plugin_examples/editor_demo/__init__.py +++ b/manual/plugin_examples/editor_demo/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/manual/plugin_examples/editor_demo/main.py b/manual/plugin_examples/editor_demo/main.py index 03d058f612..9cccf34ed9 100644 --- a/manual/plugin_examples/editor_demo/main.py +++ b/manual/plugin_examples/editor_demo/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/manual/plugin_examples/helloworld/__init__.py b/manual/plugin_examples/helloworld/__init__.py index 0ec77c2f1e..1306ac8fdd 100644 --- a/manual/plugin_examples/helloworld/__init__.py +++ b/manual/plugin_examples/helloworld/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/manual/plugin_examples/interface_demo/__init__.py b/manual/plugin_examples/interface_demo/__init__.py index 7aab635455..d992200658 100644 --- a/manual/plugin_examples/interface_demo/__init__.py +++ b/manual/plugin_examples/interface_demo/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/manual/plugin_examples/interface_demo/config.py b/manual/plugin_examples/interface_demo/config.py index 40df3980d1..a9e784c61a 100644 --- a/manual/plugin_examples/interface_demo/config.py +++ b/manual/plugin_examples/interface_demo/config.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/manual/plugin_examples/interface_demo/main.py b/manual/plugin_examples/interface_demo/main.py index 300b85ad3f..f8446b7c21 100644 --- a/manual/plugin_examples/interface_demo/main.py +++ b/manual/plugin_examples/interface_demo/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/manual/plugin_examples/interface_demo/ui.py b/manual/plugin_examples/interface_demo/ui.py index 36d2bdfa7b..77f4944515 100644 --- a/manual/plugin_examples/interface_demo/ui.py +++ b/manual/plugin_examples/interface_demo/ui.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/manual/plugin_examples/webengine_demo/__init__.py b/manual/plugin_examples/webengine_demo/__init__.py index 9f4fc31476..370bf626e8 100644 --- a/manual/plugin_examples/webengine_demo/__init__.py +++ b/manual/plugin_examples/webengine_demo/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # License: GPLv3 Copyright: 2019, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/manual/plugin_examples/webengine_demo/main.py b/manual/plugin_examples/webengine_demo/main.py index 4843f484f2..a0ea96fe63 100644 --- a/manual/plugin_examples/webengine_demo/main.py +++ b/manual/plugin_examples/webengine_demo/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Kovid Goyal diff --git a/manual/plugin_examples/webengine_demo/ui.py b/manual/plugin_examples/webengine_demo/ui.py index 4a1c87c3fc..6f5dd9b83e 100644 --- a/manual/plugin_examples/webengine_demo/ui.py +++ b/manual/plugin_examples/webengine_demo/ui.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals # License: GPLv3 Copyright: 2019, Kovid Goyal diff --git a/manual/sidebar_toc.py b/manual/sidebar_toc.py index 8e7aaf6e0c..a2c4151239 100644 --- a/manual/sidebar_toc.py +++ b/manual/sidebar_toc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from docutils import nodes diff --git a/manual/template_ref_generate.py b/manual/template_ref_generate.py index 218a31d583..e342bdb6e3 100644 --- a/manual/template_ref_generate.py +++ b/manual/template_ref_generate.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import print_function diff --git a/recipes/10minutos.recipe b/recipes/10minutos.recipe index 7a2983705b..715280f67c 100644 --- a/recipes/10minutos.recipe +++ b/recipes/10minutos.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python ## # Title: Diario 10minutos.com.uy News and Sports Calibre Recipe # Contact: Carlos Alves - diff --git a/recipes/180.recipe b/recipes/180.recipe index ba0acdde14..ce78419377 100644 --- a/recipes/180.recipe +++ b/recipes/180.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python ## # Last Edited: 2018-02-13 Carlos Alves ## diff --git a/recipes/1843.recipe b/recipes/1843.recipe index 1a335f3685..7be722a8b8 100644 --- a/recipes/1843.recipe +++ b/recipes/1843.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/recipes/24sata.recipe b/recipes/24sata.recipe index 487c29b1a0..d91d4cf583 100644 --- a/recipes/24sata.recipe +++ b/recipes/24sata.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/3dnews.recipe b/recipes/3dnews.recipe index b88188865b..a44a8c769d 100644 --- a/recipes/3dnews.recipe +++ b/recipes/3dnews.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/7seri.recipe b/recipes/7seri.recipe index 0c852d103a..1632612f40 100644 --- a/recipes/7seri.recipe +++ b/recipes/7seri.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/7x7.recipe b/recipes/7x7.recipe index 98dc0f0f27..5c4f7b56ec 100644 --- a/recipes/7x7.recipe +++ b/recipes/7x7.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/aabenraalokalavisen_dk.recipe b/recipes/aabenraalokalavisen_dk.recipe index 6eb932aa71..b00edbf6c0 100644 --- a/recipes/aabenraalokalavisen_dk.recipe +++ b/recipes/aabenraalokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/aarhuslokalavisen_dk.recipe b/recipes/aarhuslokalavisen_dk.recipe index 3ad3eec402..accee18eec 100644 --- a/recipes/aarhuslokalavisen_dk.recipe +++ b/recipes/aarhuslokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/aarhusmidtlokalavisen_dk.recipe b/recipes/aarhusmidtlokalavisen_dk.recipe index 089508a4f7..718ed982ff 100644 --- a/recipes/aarhusmidtlokalavisen_dk.recipe +++ b/recipes/aarhusmidtlokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/aarhusnordlokalavisen_dk.recipe b/recipes/aarhusnordlokalavisen_dk.recipe index bf75809806..f8fb838691 100644 --- a/recipes/aarhusnordlokalavisen_dk.recipe +++ b/recipes/aarhusnordlokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/aarhussydlokalavisen_dk.recipe b/recipes/aarhussydlokalavisen_dk.recipe index daa11fe50c..7d57266d5e 100644 --- a/recipes/aarhussydlokalavisen_dk.recipe +++ b/recipes/aarhussydlokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/aarhusvestlokalavisen_dk.recipe b/recipes/aarhusvestlokalavisen_dk.recipe index f2dffe63d4..c21b41179d 100644 --- a/recipes/aarhusvestlokalavisen_dk.recipe +++ b/recipes/aarhusvestlokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/adevarul.recipe b/recipes/adevarul.recipe index 617170d2c9..e013497b88 100644 --- a/recipes/adevarul.recipe +++ b/recipes/adevarul.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/adnkronos.recipe b/recipes/adnkronos.recipe index 67ad8a26b5..233be87998 100644 --- a/recipes/adnkronos.recipe +++ b/recipes/adnkronos.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Gabriele Marini, based on Darko Miletic' __copyright__ = '2009-2010, Darko Miletic ' diff --git a/recipes/ainonline.recipe b/recipes/ainonline.recipe index 19d63ab8a2..e8401f0051 100644 --- a/recipes/ainonline.recipe +++ b/recipes/ainonline.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2019, Jose Ortiz diff --git a/recipes/ajc.recipe b/recipes/ajc.recipe index 95be4ab47a..785905e799 100644 --- a/recipes/ajc.recipe +++ b/recipes/ajc.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'Creative Commons Attribution 4.0 International License' __author__ = 'John McDole' __copyright__ = '' diff --git a/recipes/al_monitor.recipe b/recipes/al_monitor.recipe index 99b1ca2c76..f0afa93e95 100644 --- a/recipes/al_monitor.recipe +++ b/recipes/al_monitor.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function, unicode_literals __license__ = 'GPL v3' diff --git a/recipes/ald.recipe b/recipes/ald.recipe index 975eec8dd3..bddd2a96fe 100644 --- a/recipes/ald.recipe +++ b/recipes/ald.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import unicode_literals, division, absolute_import, print_function __license__ = 'GPL v3' __copyright__ = '2018, PJ Paul' diff --git a/recipes/alleroedlokalavisen_dk.recipe b/recipes/alleroedlokalavisen_dk.recipe index 939ba1411c..56a53f8fa6 100644 --- a/recipes/alleroedlokalavisen_dk.recipe +++ b/recipes/alleroedlokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/altomdata_dk.recipe b/recipes/altomdata_dk.recipe index 235ff6ae6b..bc72ebda56 100644 --- a/recipes/altomdata_dk.recipe +++ b/recipes/altomdata_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/amagerbladet_dk.recipe b/recipes/amagerbladet_dk.recipe index ea22f781ec..30bce071f3 100644 --- a/recipes/amagerbladet_dk.recipe +++ b/recipes/amagerbladet_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/ambito_financiero.recipe b/recipes/ambito_financiero.recipe index e7605163b7..fa4e6c0a51 100644 --- a/recipes/ambito_financiero.recipe +++ b/recipes/ambito_financiero.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- mode: python -*- # -*- coding: utf-8 -*- diff --git a/recipes/animal_politico.recipe b/recipes/animal_politico.recipe index 4ce7a467d6..9dff426c94 100644 --- a/recipes/animal_politico.recipe +++ b/recipes/animal_politico.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python # encoding: utf-8 import re diff --git a/recipes/anthony_muroni.recipe b/recipes/anthony_muroni.recipe index 813cf5ed35..4f2ac1c9e8 100644 --- a/recipes/anthony_muroni.recipe +++ b/recipes/anthony_muroni.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import (absolute_import, division, print_function, unicode_literals) diff --git a/recipes/ap.recipe b/recipes/ap.recipe index f3d232b7b4..dbbbb4d11b 100644 --- a/recipes/ap.recipe +++ b/recipes/ap.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/recipes/apcom.recipe b/recipes/apcom.recipe index 2a97def60f..082371ca1e 100644 --- a/recipes/apcom.recipe +++ b/recipes/apcom.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Gabriele Marini, based on Darko Miletic' __copyright__ = '2009-2010, Darko Miletic ' diff --git a/recipes/app_funds.recipe b/recipes/app_funds.recipe index a8703bcdfc..cbeaa838a6 100644 --- a/recipes/app_funds.recipe +++ b/recipes/app_funds.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'teepel ' diff --git a/recipes/appledaily_tw.recipe b/recipes/appledaily_tw.recipe index 6964ed0191..07667bee85 100644 --- a/recipes/appledaily_tw.recipe +++ b/recipes/appledaily_tw.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/ara_info.recipe b/recipes/ara_info.recipe index 021a736eaa..1009f947d4 100644 --- a/recipes/ara_info.recipe +++ b/recipes/ara_info.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = 'Ruben Pollan ' __docformat__ = 'restructuredtext en' diff --git a/recipes/arbetaren.recipe b/recipes/arbetaren.recipe index 24a5eb903f..e22ed5e23f 100644 --- a/recipes/arbetaren.recipe +++ b/recipes/arbetaren.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/arcamax.recipe b/recipes/arcamax.recipe index e91376ef9f..b120af734a 100644 --- a/recipes/arcamax.recipe +++ b/recipes/arcamax.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = 'Copyright 2010 Starson17' diff --git a/recipes/asia_one.recipe b/recipes/asia_one.recipe index 7ffc9c770d..72f5dc7565 100644 --- a/recipes/asia_one.recipe +++ b/recipes/asia_one.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Bruce ' diff --git a/recipes/asianreviewofbooks.recipe b/recipes/asianreviewofbooks.recipe index 645febb3e2..2b2a8bbc41 100644 --- a/recipes/asianreviewofbooks.recipe +++ b/recipes/asianreviewofbooks.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- mode: python -*- # -*- coding: utf-8 -*- diff --git a/recipes/atlantic.recipe b/recipes/atlantic.recipe index 89cc6284b0..58f5923ee3 100644 --- a/recipes/atlantic.recipe +++ b/recipes/atlantic.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import unicode_literals __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' diff --git a/recipes/atlantic_com.recipe b/recipes/atlantic_com.recipe index ccb0f2b3b8..a7acd20ddc 100644 --- a/recipes/atlantic_com.recipe +++ b/recipes/atlantic_com.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import unicode_literals __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' diff --git a/recipes/auto.recipe b/recipes/auto.recipe index 3327ef6e41..701bad6f83 100644 --- a/recipes/auto.recipe +++ b/recipes/auto.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'GabrieleMarini, based on Darko Miletic' __copyright__ = '2009, Darko Miletic , Gabriele Marini' diff --git a/recipes/auto_prove.recipe b/recipes/auto_prove.recipe index 5e56143aba..de880c020a 100644 --- a/recipes/auto_prove.recipe +++ b/recipes/auto_prove.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import print_function __license__ = 'GPL v3' __author__ = 'GabrieleMarini, based on Darko Miletic' diff --git a/recipes/autobild.recipe b/recipes/autobild.recipe index 95dd2aedb5..cabf7079a8 100644 --- a/recipes/autobild.recipe +++ b/recipes/autobild.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/autosport.recipe b/recipes/autosport.recipe index 5b9f91516d..318911e473 100644 --- a/recipes/autosport.recipe +++ b/recipes/autosport.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'MrStefan ' diff --git a/recipes/avantaje.recipe b/recipes/avantaje.recipe index ec67bb3c82..c3a9782d1e 100644 --- a/recipes/avantaje.recipe +++ b/recipes/avantaje.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/aventurilapescuit.recipe b/recipes/aventurilapescuit.recipe index 7321226175..edf462262e 100644 --- a/recipes/aventurilapescuit.recipe +++ b/recipes/aventurilapescuit.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/avisen_dk.recipe b/recipes/avisen_dk.recipe index 2a45af8ab4..12083eec35 100644 --- a/recipes/avisen_dk.recipe +++ b/recipes/avisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/babyonline.recipe b/recipes/babyonline.recipe index 8eec58f506..fe34d33f8f 100644 --- a/recipes/babyonline.recipe +++ b/recipes/babyonline.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/bankier_pl.recipe b/recipes/bankier_pl.recipe index 02af81e64b..b7cc2cce8f 100644 --- a/recipes/bankier_pl.recipe +++ b/recipes/bankier_pl.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'teepel ' diff --git a/recipes/barrons.recipe b/recipes/barrons.recipe index 6f277bb0d4..cdfc6cf3fa 100644 --- a/recipes/barrons.recipe +++ b/recipes/barrons.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2019, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/recipes/bbcvietnamese.recipe b/recipes/bbcvietnamese.recipe index ef5d310ce1..d97d00c44c 100644 --- a/recipes/bbcvietnamese.recipe +++ b/recipes/bbcvietnamese.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Huan Komrade T ' diff --git a/recipes/berlin_policy_journal.recipe b/recipes/berlin_policy_journal.recipe index b820a9f00c..91e502f973 100644 --- a/recipes/berlin_policy_journal.recipe +++ b/recipes/berlin_policy_journal.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Aimylios diff --git a/recipes/berliner_zeitung.recipe b/recipes/berliner_zeitung.recipe index 613e9c0f23..d0d5bfb4df 100644 --- a/recipes/berliner_zeitung.recipe +++ b/recipes/berliner_zeitung.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/recipes/bild_de.recipe b/recipes/bild_de.recipe index ad2ccd9e32..8f41aa0b5d 100644 --- a/recipes/bild_de.recipe +++ b/recipes/bild_de.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/billorielly.recipe b/recipes/billorielly.recipe index f1a9132dae..3369cc49e2 100644 --- a/recipes/billorielly.recipe +++ b/recipes/billorielly.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # ebook-convert.exe c:\billorielly.recipe c:\test -vv diff --git a/recipes/bitacora.recipe b/recipes/bitacora.recipe index f0ad8dc6b3..7de43e0b67 100644 --- a/recipes/bitacora.recipe +++ b/recipes/bitacora.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = '2010, Gustavo Azambuja ' diff --git a/recipes/boortz.recipe b/recipes/boortz.recipe index 0e4f19e02d..2c131382ef 100644 --- a/recipes/boortz.recipe +++ b/recipes/boortz.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Tony Stegall' __copyright__ = '2010, Tony Stegall or Tonythebookworm on mobiread.com' diff --git a/recipes/borsen_dk.recipe b/recipes/borsen_dk.recipe index d59f31b50f..4ea08e3d72 100644 --- a/recipes/borsen_dk.recipe +++ b/recipes/borsen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/boxis.recipe b/recipes/boxis.recipe index 38698b4e54..70bec6af12 100644 --- a/recipes/boxis.recipe +++ b/recipes/boxis.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import AutomaticNewsRecipe diff --git a/recipes/brand_eins.recipe b/recipes/brand_eins.recipe index 9a6742fb9a..ffdd454a65 100644 --- a/recipes/brand_eins.recipe +++ b/recipes/brand_eins.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals diff --git a/recipes/breaking_mad.recipe b/recipes/breaking_mad.recipe index e970ee22b0..b1c279d452 100644 --- a/recipes/breaking_mad.recipe +++ b/recipes/breaking_mad.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/brewiarz.recipe b/recipes/brewiarz.recipe index ae118ed8b9..be48df4133 100644 --- a/recipes/brewiarz.recipe +++ b/recipes/brewiarz.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import print_function __license__ = 'GPL v3' diff --git a/recipes/bsi_news.recipe b/recipes/bsi_news.recipe index baac5acce8..6544223403 100644 --- a/recipes/bsi_news.recipe +++ b/recipes/bsi_news.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals from datetime import datetime diff --git a/recipes/bt_dk.recipe b/recipes/bt_dk.recipe index 8114b94814..01bbfdfb88 100644 --- a/recipes/bt_dk.recipe +++ b/recipes/bt_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/bucataras.recipe b/recipes/bucataras.recipe index c50e6d7521..0b7eaf170c 100644 --- a/recipes/bucataras.recipe +++ b/recipes/bucataras.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/buenosaireseconomico.recipe b/recipes/buenosaireseconomico.recipe index bef3ce8bff..017329d1b2 100644 --- a/recipes/buenosaireseconomico.recipe +++ b/recipes/buenosaireseconomico.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- mode: python -*- # -*- coding: utf-8 -*- diff --git a/recipes/calgary_herald.recipe b/recipes/calgary_herald.recipe index 5c24e06ec4..9d23e2dcab 100644 --- a/recipes/calgary_herald.recipe +++ b/recipes/calgary_herald.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function __license__ = 'GPL v3' diff --git a/recipes/capital.recipe b/recipes/capital.recipe index 801a691177..416821cb7f 100644 --- a/recipes/capital.recipe +++ b/recipes/capital.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/capital_de.recipe b/recipes/capital_de.recipe index a019df0669..0bb675953c 100644 --- a/recipes/capital_de.recipe +++ b/recipes/capital_de.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/carta.recipe b/recipes/carta.recipe index 888a3df684..e2f9679091 100644 --- a/recipes/carta.recipe +++ b/recipes/carta.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/catavencii.recipe b/recipes/catavencii.recipe index 790c2a8c8c..c0722f9f62 100644 --- a/recipes/catavencii.recipe +++ b/recipes/catavencii.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/catavencu.recipe b/recipes/catavencu.recipe index 5053974eb3..fa5054091f 100644 --- a/recipes/catavencu.recipe +++ b/recipes/catavencu.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/champion.recipe b/recipes/champion.recipe index 6304fcd140..c59640a3ad 100644 --- a/recipes/champion.recipe +++ b/recipes/champion.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/chicago_breaking_news.recipe b/recipes/chicago_breaking_news.recipe index 455381978d..172e574671 100644 --- a/recipes/chicago_breaking_news.recipe +++ b/recipes/chicago_breaking_news.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/chipro.recipe b/recipes/chipro.recipe index f68dbb621e..799880e888 100644 --- a/recipes/chipro.recipe +++ b/recipes/chipro.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/cincinnati_enquirer.recipe b/recipes/cincinnati_enquirer.recipe index a97da8998f..9e59e6f645 100644 --- a/recipes/cincinnati_enquirer.recipe +++ b/recipes/cincinnati_enquirer.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009 Kovid Goyal ' diff --git a/recipes/cinebel_be.recipe b/recipes/cinebel_be.recipe index 56f8b4d8f0..cf5fca41dd 100644 --- a/recipes/cinebel_be.recipe +++ b/recipes/cinebel_be.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008-2011, Lionel Bergeret ' diff --git a/recipes/cio.recipe b/recipes/cio.recipe index ea5785676e..c310f1bae7 100644 --- a/recipes/cio.recipe +++ b/recipes/cio.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/cityavisen_dk.recipe b/recipes/cityavisen_dk.recipe index a85f7e0088..efb0f7159f 100644 --- a/recipes/cityavisen_dk.recipe +++ b/recipes/cityavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/clarin.recipe b/recipes/clarin.recipe index b7f20ecc3b..f712d0744c 100644 --- a/recipes/clarin.recipe +++ b/recipes/clarin.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- mode: python -*- # -*- coding: utf-8 -*- diff --git a/recipes/climate_progress.recipe b/recipes/climate_progress.recipe index 09e6beb20f..b66b2ea6a4 100644 --- a/recipes/climate_progress.recipe +++ b/recipes/climate_progress.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/common_dreams.recipe b/recipes/common_dreams.recipe index 2aa18b7e60..f212d72519 100644 --- a/recipes/common_dreams.recipe +++ b/recipes/common_dreams.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python ## # Title: Common Dreams ## diff --git a/recipes/computerworld_dk.recipe b/recipes/computerworld_dk.recipe index 959bc901e9..db22250a54 100644 --- a/recipes/computerworld_dk.recipe +++ b/recipes/computerworld_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/consortium_news.recipe b/recipes/consortium_news.recipe index 0b355fc632..c32090a1b2 100644 --- a/recipes/consortium_news.recipe +++ b/recipes/consortium_news.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python ## # Title: Consortium News ## diff --git a/recipes/corriere_della_sera_en.recipe b/recipes/corriere_della_sera_en.recipe index 7a34f6f579..d1cc5a06fe 100644 --- a/recipes/corriere_della_sera_en.recipe +++ b/recipes/corriere_della_sera_en.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini, based on Darko Miletic' __copyright__ = '2009, Darko Miletic , Lorenzo Vigentini ' diff --git a/recipes/corriere_della_sera_it.recipe b/recipes/corriere_della_sera_it.recipe index d88c07daba..2483bdaba6 100644 --- a/recipes/corriere_della_sera_it.recipe +++ b/recipes/corriere_della_sera_it.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/corriere_dello_sport.recipe b/recipes/corriere_dello_sport.recipe index 3d5b357c92..df743f4b00 100644 --- a/recipes/corriere_dello_sport.recipe +++ b/recipes/corriere_dello_sport.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'GabrieleMarini, based on Darko Miletic' __copyright__ = '2009, Darko Miletic , Gabriele Marini' diff --git a/recipes/cosmopolitan.recipe b/recipes/cosmopolitan.recipe index ab31ab88bb..23cd72b896 100644 --- a/recipes/cosmopolitan.recipe +++ b/recipes/cosmopolitan.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = '2010, Gustavo Azambuja ' diff --git a/recipes/cotidianul.recipe b/recipes/cotidianul.recipe index 1f1ec8191b..b300f02903 100644 --- a/recipes/cotidianul.recipe +++ b/recipes/cotidianul.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/courrierinternational.recipe b/recipes/courrierinternational.recipe index 2030f178d9..967489adc8 100644 --- a/recipes/courrierinternational.recipe +++ b/recipes/courrierinternational.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 __license__ = 'GPL v3' diff --git a/recipes/craigslist.recipe b/recipes/craigslist.recipe index e64a74c719..8630a0b8ad 100644 --- a/recipes/craigslist.recipe +++ b/recipes/craigslist.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/recipes/credit_slips.recipe b/recipes/credit_slips.recipe index e0302d1f44..be5b73b942 100644 --- a/recipes/credit_slips.recipe +++ b/recipes/credit_slips.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL 3' __copyright__ = 'zotzo' __docformat__ = 'restructuredtext en' diff --git a/recipes/csid.recipe b/recipes/csid.recipe index 815f079471..c5c477db7f 100644 --- a/recipes/csid.recipe +++ b/recipes/csid.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/curierulnational.recipe b/recipes/curierulnational.recipe index 2fc83a9d54..59c845866e 100644 --- a/recipes/curierulnational.recipe +++ b/recipes/curierulnational.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/dagensmedicin_dk.recipe b/recipes/dagensmedicin_dk.recipe index dbaae9885e..61dfedbf8d 100644 --- a/recipes/dagensmedicin_dk.recipe +++ b/recipes/dagensmedicin_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/dagenspharma_dk.recipe b/recipes/dagenspharma_dk.recipe index 57e1bbfb09..3b5dd23517 100644 --- a/recipes/dagenspharma_dk.recipe +++ b/recipes/dagenspharma_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/daily_mail.recipe b/recipes/daily_mail.recipe index 6021457fbc..551b2ff7fe 100644 --- a/recipes/daily_mail.recipe +++ b/recipes/daily_mail.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/recipes/daily_telegraph.recipe b/recipes/daily_telegraph.recipe index 9491b277ef..eb81bf93df 100644 --- a/recipes/daily_telegraph.recipe +++ b/recipes/daily_telegraph.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/recipes/dailyreckoning.recipe b/recipes/dailyreckoning.recipe index 4f8532d551..91b6bd0c90 100644 --- a/recipes/dailyreckoning.recipe +++ b/recipes/dailyreckoning.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/dark_reading.recipe b/recipes/dark_reading.recipe index ca82a23ecc..b7f78df530 100644 --- a/recipes/dark_reading.recipe +++ b/recipes/dark_reading.recipe @@ -1,4 +1,4 @@ -#! /usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2014, Brandon S Allbery ' diff --git a/recipes/data_news.recipe b/recipes/data_news.recipe index 39d34bdd32..f93d9ab1b3 100644 --- a/recipes/data_news.recipe +++ b/recipes/data_news.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/de_redactie_be.recipe b/recipes/de_redactie_be.recipe index 72655da349..31a0c5cb4c 100644 --- a/recipes/de_redactie_be.recipe +++ b/recipes/de_redactie_be.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/de_standaard.recipe b/recipes/de_standaard.recipe index f64254e1ab..e8881deec5 100644 --- a/recipes/de_standaard.recipe +++ b/recipes/de_standaard.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function import re diff --git a/recipes/degentenaar.recipe b/recipes/degentenaar.recipe index 1b64d86e45..75f7bde77e 100644 --- a/recipes/degentenaar.recipe +++ b/recipes/degentenaar.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/demorgen_be.recipe b/recipes/demorgen_be.recipe index 95100bcc68..828312d1ec 100644 --- a/recipes/demorgen_be.recipe +++ b/recipes/demorgen_be.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008, Darko Miletic ' diff --git a/recipes/denver_post.recipe b/recipes/denver_post.recipe index 1e8ccc5691..b303505219 100644 --- a/recipes/denver_post.recipe +++ b/recipes/denver_post.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/recipes/der_standard.recipe b/recipes/der_standard.recipe index 0663120b17..c9168c28c9 100644 --- a/recipes/der_standard.recipe +++ b/recipes/der_standard.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/descopera.recipe b/recipes/descopera.recipe index 5028d73587..3186b28ecb 100644 --- a/recipes/descopera.recipe +++ b/recipes/descopera.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/deutsche_welle_en.recipe b/recipes/deutsche_welle_en.recipe index d2a2a99186..3cde7e7418 100644 --- a/recipes/deutsche_welle_en.recipe +++ b/recipes/deutsche_welle_en.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/deutsche_welle_es.recipe b/recipes/deutsche_welle_es.recipe index fff148a565..1300fea96d 100644 --- a/recipes/deutsche_welle_es.recipe +++ b/recipes/deutsche_welle_es.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/dhnet_be.recipe b/recipes/dhnet_be.recipe index c0bd801e7e..dbf43963e9 100644 --- a/recipes/dhnet_be.recipe +++ b/recipes/dhnet_be.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008-2011, Lionel Bergeret ' diff --git a/recipes/di.recipe b/recipes/di.recipe index e602811b11..bbd8172cd8 100644 --- a/recipes/di.recipe +++ b/recipes/di.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8 __license__ = 'GPL v3' diff --git a/recipes/diagonal.recipe b/recipes/diagonal.recipe index 859f495ef7..4521b05a0f 100644 --- a/recipes/diagonal.recipe +++ b/recipes/diagonal.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' __copyright__ = 'Ruben Pollan ' diff --git a/recipes/diario_cordoba.recipe b/recipes/diario_cordoba.recipe index 6e4b06e114..20259d139d 100644 --- a/recipes/diario_cordoba.recipe +++ b/recipes/diario_cordoba.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/diario_el_pueblo.recipe b/recipes/diario_el_pueblo.recipe index 0437fc01df..3e0fdf2648 100644 --- a/recipes/diario_el_pueblo.recipe +++ b/recipes/diario_el_pueblo.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python ## # Title: Diario El Pueblo News and Sports Calibre Recipe # Contact: Carlos Alves - diff --git a/recipes/diepresse.recipe b/recipes/diepresse.recipe index 5465de6e4b..1bafa159c4 100644 --- a/recipes/diepresse.recipe +++ b/recipes/diepresse.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/digital_arts.recipe b/recipes/digital_arts.recipe index 5e7014da48..4e497f196f 100644 --- a/recipes/digital_arts.recipe +++ b/recipes/digital_arts.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/dilbert.recipe b/recipes/dilbert.recipe index 52774253c5..5878f7fd45 100644 --- a/recipes/dilbert.recipe +++ b/recipes/dilbert.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 import os diff --git a/recipes/dilemaveche.recipe b/recipes/dilemaveche.recipe index 400efaf2c9..137b11c235 100644 --- a/recipes/dilemaveche.recipe +++ b/recipes/dilemaveche.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function diff --git a/recipes/discover_magazine_monthly.recipe b/recipes/discover_magazine_monthly.recipe index da661471e4..8c1869ae42 100644 --- a/recipes/discover_magazine_monthly.recipe +++ b/recipes/discover_magazine_monthly.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import unicode_literals __license__ = 'GPL v3' __copyright__ = '2015 Michael Marotta ' diff --git a/recipes/divahair.recipe b/recipes/divahair.recipe index 993524d161..fc0249d506 100644 --- a/recipes/divahair.recipe +++ b/recipes/divahair.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/djurslandsposten_dk.recipe b/recipes/djurslandsposten_dk.recipe index a74d0a4ee7..2b7f58859f 100644 --- a/recipes/djurslandsposten_dk.recipe +++ b/recipes/djurslandsposten_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/dn_se.recipe b/recipes/dn_se.recipe index 138c64d27c..82dd6ee63f 100644 --- a/recipes/dn_se.recipe +++ b/recipes/dn_se.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/dnevnik_cro.recipe b/recipes/dnevnik_cro.recipe index b0a948dab5..6bb1a98159 100644 --- a/recipes/dnevnik_cro.recipe +++ b/recipes/dnevnik_cro.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/dnevnik_mk.recipe b/recipes/dnevnik_mk.recipe index 6d0aa1f949..6ff0d502ab 100644 --- a/recipes/dnevnik_mk.recipe +++ b/recipes/dnevnik_mk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import print_function __author__ = 'Darko Spasovski' diff --git a/recipes/dr_dk.recipe b/recipes/dr_dk.recipe index a017dff9dd..2ba55a2e36 100644 --- a/recipes/dr_dk.recipe +++ b/recipes/dr_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/dunyahalleri.recipe b/recipes/dunyahalleri.recipe index 2e8ffe1841..0f5e751d9b 100644 --- a/recipes/dunyahalleri.recipe +++ b/recipes/dunyahalleri.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- """www.dunyahalleri.com""" import locale diff --git a/recipes/dunyahalleri_haftaninozeti.recipe b/recipes/dunyahalleri_haftaninozeti.recipe index 6269e34924..92a8f2f145 100644 --- a/recipes/dunyahalleri_haftaninozeti.recipe +++ b/recipes/dunyahalleri_haftaninozeti.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- """www.dunyahalleri.com/haftanin-ozeti""" import locale diff --git a/recipes/dwutygodnik.recipe b/recipes/dwutygodnik.recipe index ce6ab2bab2..8c93f1e5d4 100644 --- a/recipes/dwutygodnik.recipe +++ b/recipes/dwutygodnik.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/ebeltoftlokalavisen_dk.recipe b/recipes/ebeltoftlokalavisen_dk.recipe index be8189a764..32cb29326d 100644 --- a/recipes/ebeltoftlokalavisen_dk.recipe +++ b/recipes/ebeltoftlokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/echo_online.recipe b/recipes/echo_online.recipe index b617899795..eff78f0977 100644 --- a/recipes/echo_online.recipe +++ b/recipes/echo_online.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 ## # 1st Version: 17. December 2011 diff --git a/recipes/ecogeek.recipe b/recipes/ecogeek.recipe index 64211ed483..3b453c3641 100644 --- a/recipes/ecogeek.recipe +++ b/recipes/ecogeek.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/economist.recipe b/recipes/economist.recipe index 22210700b8..8b68630738 100644 --- a/recipes/economist.recipe +++ b/recipes/economist.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # License: GPLv3 Copyright: 2008, Kovid Goyal try: diff --git a/recipes/economist_free.recipe b/recipes/economist_free.recipe index 22210700b8..fd06c51c44 100644 --- a/recipes/economist_free.recipe +++ b/recipes/economist_free.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # License: GPLv3 Copyright: 2008, Kovid Goyal try: diff --git a/recipes/ecuisine.recipe b/recipes/ecuisine.recipe index ec7ff91447..d1fa10029a 100644 --- a/recipes/ecuisine.recipe +++ b/recipes/ecuisine.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/edebiyat_haber.recipe b/recipes/edebiyat_haber.recipe index 9c7773252c..310c86f1f5 100644 --- a/recipes/edebiyat_haber.recipe +++ b/recipes/edebiyat_haber.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import AutomaticNewsRecipe diff --git a/recipes/editor_and_publisher.recipe b/recipes/editor_and_publisher.recipe index 57342cbc95..6ef3b18f22 100644 --- a/recipes/editor_and_publisher.recipe +++ b/recipes/editor_and_publisher.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010 elsuave' diff --git a/recipes/edmonton_journal.recipe b/recipes/edmonton_journal.recipe index 544041c50a..d7f9a037e6 100644 --- a/recipes/edmonton_journal.recipe +++ b/recipes/edmonton_journal.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function __license__ = 'GPL v3' diff --git a/recipes/egedallokalavisen_dk.recipe b/recipes/egedallokalavisen_dk.recipe index 2b2a3ba250..45a85f8ae2 100644 --- a/recipes/egedallokalavisen_dk.recipe +++ b/recipes/egedallokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/egirl.recipe b/recipes/egirl.recipe index 1229d4274f..3df53ff085 100644 --- a/recipes/egirl.recipe +++ b/recipes/egirl.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/el_correo.recipe b/recipes/el_correo.recipe index a4cea141a1..3854eb5074 100644 --- a/recipes/el_correo.recipe +++ b/recipes/el_correo.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '08 Januery 2011, desUBIKado' __author__ = 'desUBIKado' diff --git a/recipes/el_mercurio_chile.recipe b/recipes/el_mercurio_chile.recipe index 4db695e819..1748cdfd66 100644 --- a/recipes/el_mercurio_chile.recipe +++ b/recipes/el_mercurio_chile.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 mode: python -*- __license__ = 'GPL v3' diff --git a/recipes/el_observador.recipe b/recipes/el_observador.recipe index 8b27c48fd6..c75dc4722b 100644 --- a/recipes/el_observador.recipe +++ b/recipes/el_observador.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python ## # Last Edited: 2018-02-13 Carlos Alves ## diff --git a/recipes/el_pais.recipe b/recipes/el_pais.recipe index 849a931493..2494a86540 100644 --- a/recipes/el_pais.recipe +++ b/recipes/el_pais.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Jordi Balcells, based on an earlier version by Lorenzo Vigentini & Kovid Goyal' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' diff --git a/recipes/el_pais_uy.recipe b/recipes/el_pais_uy.recipe index 132a015f7b..04a5e6f11c 100644 --- a/recipes/el_pais_uy.recipe +++ b/recipes/el_pais_uy.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python ## # Last Edited: 2018-02-13 Carlos Alves ## diff --git a/recipes/el_periodico.recipe b/recipes/el_periodico.recipe index 53d5af0fe4..11be114a67 100644 --- a/recipes/el_periodico.recipe +++ b/recipes/el_periodico.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/el_publico.recipe b/recipes/el_publico.recipe index 53ca3476c5..971c47d343 100644 --- a/recipes/el_publico.recipe +++ b/recipes/el_publico.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Gerardo Diez' __copyright__ = 'Gerardo Diez' diff --git a/recipes/ele.recipe b/recipes/ele.recipe index be3f38ba55..3eb686f3a9 100644 --- a/recipes/ele.recipe +++ b/recipes/ele.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/elperiodico_spanish.recipe b/recipes/elperiodico_spanish.recipe index eb8f0fab6a..61bf06cf59 100644 --- a/recipes/elperiodico_spanish.recipe +++ b/recipes/elperiodico_spanish.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/eltiempo_hn.recipe b/recipes/eltiempo_hn.recipe index 8ca1264097..85f79c2169 100644 --- a/recipes/eltiempo_hn.recipe +++ b/recipes/eltiempo_hn.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/endgadget.recipe b/recipes/endgadget.recipe index 03a03a4522..da7d5c8beb 100644 --- a/recipes/endgadget.recipe +++ b/recipes/endgadget.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = 'Copyright 2011 Starson17' diff --git a/recipes/entrepeneur.recipe b/recipes/entrepeneur.recipe index 02a9721a3d..b6aa5d52a9 100644 --- a/recipes/entrepeneur.recipe +++ b/recipes/entrepeneur.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/recipes/eos_wetenschap.recipe b/recipes/eos_wetenschap.recipe index 0bdae56608..e32686ac9c 100644 --- a/recipes/eos_wetenschap.recipe +++ b/recipes/eos_wetenschap.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/epl_talk.recipe b/recipes/epl_talk.recipe index 36860d1ceb..f30796cfe1 100644 --- a/recipes/epl_talk.recipe +++ b/recipes/epl_talk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL 3' __copyright__ = 'zotzo' __docformat__ = 'restructuredtext en' diff --git a/recipes/epw.recipe b/recipes/epw.recipe index 1015f195d7..94dda7807a 100644 --- a/recipes/epw.recipe +++ b/recipes/epw.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal diff --git a/recipes/erhvervs_avisen_dk.recipe b/recipes/erhvervs_avisen_dk.recipe index 3d204e054b..4be331d530 100644 --- a/recipes/erhvervs_avisen_dk.recipe +++ b/recipes/erhvervs_avisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/esbjerglokalavisen_dk.recipe b/recipes/esbjerglokalavisen_dk.recipe index 76c0d87104..12b4cadb92 100644 --- a/recipes/esbjerglokalavisen_dk.recipe +++ b/recipes/esbjerglokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/esenja.recipe b/recipes/esenja.recipe index b81e9eca10..8d3a20bd14 100644 --- a/recipes/esenja.recipe +++ b/recipes/esenja.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, matek09, matek09@gmail.com' diff --git a/recipes/espn.recipe b/recipes/espn.recipe index a6081a30a1..b15d57b65e 100644 --- a/recipes/espn.recipe +++ b/recipes/espn.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/recipes/evz.ro.recipe b/recipes/evz.ro.recipe index 841dcb9cb5..195577b4a3 100644 --- a/recipes/evz.ro.recipe +++ b/recipes/evz.ro.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/expansion_spanish.recipe b/recipes/expansion_spanish.recipe index c64944a37d..74fec85199 100644 --- a/recipes/expansion_spanish.recipe +++ b/recipes/expansion_spanish.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '5, January 2011 Gerardo Diez & desUBIKado' __author__ = 'desUBIKado, based on an earlier version by Gerardo Diez' diff --git a/recipes/fan_graphs.recipe b/recipes/fan_graphs.recipe index 892f6699bf..5bf8f398d8 100644 --- a/recipes/fan_graphs.recipe +++ b/recipes/fan_graphs.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2011 zotzot' __docformat__ = 'PEP8' diff --git a/recipes/fastcompany.recipe b/recipes/fastcompany.recipe index e19510aff1..695b38a6c3 100644 --- a/recipes/fastcompany.recipe +++ b/recipes/fastcompany.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008-2009, Darko Miletic ' diff --git a/recipes/favrskovavisen_dk.recipe b/recipes/favrskovavisen_dk.recipe index 55ea741cc4..5188ba31a3 100644 --- a/recipes/favrskovavisen_dk.recipe +++ b/recipes/favrskovavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/favrskovlokalavisen_dk.recipe b/recipes/favrskovlokalavisen_dk.recipe index 0aee4b3061..af5c65fda9 100644 --- a/recipes/favrskovlokalavisen_dk.recipe +++ b/recipes/favrskovlokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/faznet.recipe b/recipes/faznet.recipe index 16b375ed94..558e35b1d6 100644 --- a/recipes/faznet.recipe +++ b/recipes/faznet.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/felicia.recipe b/recipes/felicia.recipe index 94aeb713b0..dc9cba5ebf 100644 --- a/recipes/felicia.recipe +++ b/recipes/felicia.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/fhmro.recipe b/recipes/fhmro.recipe index cfaae0ad21..d4cafe4a5a 100644 --- a/recipes/fhmro.recipe +++ b/recipes/fhmro.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/financiarul.recipe b/recipes/financiarul.recipe index decfece4e1..0f96e054b5 100644 --- a/recipes/financiarul.recipe +++ b/recipes/financiarul.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/first_things.recipe b/recipes/first_things.recipe index f3d8282339..cb125dcf8a 100644 --- a/recipes/first_things.recipe +++ b/recipes/first_things.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import unicode_literals __license__ = 'GPL v3' __copyright__ = '2017, John Hutson ' diff --git a/recipes/focus_de.recipe b/recipes/focus_de.recipe index e9ab7077d2..b969923727 100644 --- a/recipes/focus_de.recipe +++ b/recipes/focus_de.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/folhadesaopaulo.recipe b/recipes/folhadesaopaulo.recipe index 9541f3a181..68f9d32c54 100644 --- a/recipes/folhadesaopaulo.recipe +++ b/recipes/folhadesaopaulo.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/folhadesaopaulo_sub.recipe b/recipes/folhadesaopaulo_sub.recipe index c76f29c684..de7d6cc05c 100644 --- a/recipes/folhadesaopaulo_sub.recipe +++ b/recipes/folhadesaopaulo_sub.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/folkebladet_dk.recipe b/recipes/folkebladet_dk.recipe index 48d70aa036..012b915a45 100644 --- a/recipes/folkebladet_dk.recipe +++ b/recipes/folkebladet_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/folkebladetdjursland_dk.recipe b/recipes/folkebladetdjursland_dk.recipe index c6f2f945c9..370fbc7df3 100644 --- a/recipes/folkebladetdjursland_dk.recipe +++ b/recipes/folkebladetdjursland_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/folketidende_dk.recipe b/recipes/folketidende_dk.recipe index 4bcc121e6c..754d89ac56 100644 --- a/recipes/folketidende_dk.recipe +++ b/recipes/folketidende_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/forbes_pl.recipe b/recipes/forbes_pl.recipe index 226cfdb574..6d9a28f993 100644 --- a/recipes/forbes_pl.recipe +++ b/recipes/forbes_pl.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' diff --git a/recipes/foreign_policy.recipe b/recipes/foreign_policy.recipe index 6496d03572..bbb6878b9a 100644 --- a/recipes/foreign_policy.recipe +++ b/recipes/foreign_policy.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/recipes/foreignaffairs.recipe b/recipes/foreignaffairs.recipe index 7b56b736eb..30d6f042bb 100644 --- a/recipes/foreignaffairs.recipe +++ b/recipes/foreignaffairs.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python import json import re diff --git a/recipes/formulaas.recipe b/recipes/formulaas.recipe index bd170a21a6..802eefeab9 100644 --- a/recipes/formulaas.recipe +++ b/recipes/formulaas.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/foxnews.recipe b/recipes/foxnews.recipe index 5a1c96228a..8e50b25948 100644 --- a/recipes/foxnews.recipe +++ b/recipes/foxnews.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/fr_online.recipe b/recipes/fr_online.recipe index 292627d63c..85e415965e 100644 --- a/recipes/fr_online.recipe +++ b/recipes/fr_online.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Christian Schmitt' diff --git a/recipes/frankfurter_rundschau.recipe b/recipes/frankfurter_rundschau.recipe index e3b9f68200..1eb8c348f1 100644 --- a/recipes/frankfurter_rundschau.recipe +++ b/recipes/frankfurter_rundschau.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python ''' fr-online.de diff --git a/recipes/freakonomics.recipe b/recipes/freakonomics.recipe index ba4262515a..8b0ff9e840 100644 --- a/recipes/freakonomics.recipe +++ b/recipes/freakonomics.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2011, Starson17' __docformat__ = 'restructuredtext en' diff --git a/recipes/fredensborglokalavisen_dk.recipe b/recipes/fredensborglokalavisen_dk.recipe index 68d8cc07dc..0d2538f91e 100644 --- a/recipes/fredensborglokalavisen_dk.recipe +++ b/recipes/fredensborglokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/fredericialokalavisen_dk.recipe b/recipes/fredericialokalavisen_dk.recipe index 39180e2995..de4e3f1152 100644 --- a/recipes/fredericialokalavisen_dk.recipe +++ b/recipes/fredericialokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/frederiksbergbladet_dk.recipe b/recipes/frederiksbergbladet_dk.recipe index 4002ce0e59..6461981ce9 100644 --- a/recipes/frederiksbergbladet_dk.recipe +++ b/recipes/frederiksbergbladet_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/frederikssundlokalavisen_dk.recipe b/recipes/frederikssundlokalavisen_dk.recipe index 46d4d5ffe4..16afa23616 100644 --- a/recipes/frederikssundlokalavisen_dk.recipe +++ b/recipes/frederikssundlokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/freeway.recipe b/recipes/freeway.recipe index 9e91929371..76fc96a05c 100644 --- a/recipes/freeway.recipe +++ b/recipes/freeway.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = '2010, Gustavo Azambuja ' diff --git a/recipes/fudzilla.recipe b/recipes/fudzilla.recipe index 1676f61b13..f6d337a8ea 100644 --- a/recipes/fudzilla.recipe +++ b/recipes/fudzilla.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010 Starson17' diff --git a/recipes/furesoelokalavisen_dk.recipe b/recipes/furesoelokalavisen_dk.recipe index f9925717a4..e93871be20 100644 --- a/recipes/furesoelokalavisen_dk.recipe +++ b/recipes/furesoelokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/galaxys_edge.recipe b/recipes/galaxys_edge.recipe index 01ff26eea9..233277a29c 100644 --- a/recipes/galaxys_edge.recipe +++ b/recipes/galaxys_edge.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/recipes/gandul.recipe b/recipes/gandul.recipe index ec46a8b451..5a29c28c20 100644 --- a/recipes/gandul.recipe +++ b/recipes/gandul.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/gazeta-prawna-calibre-v1.recipe b/recipes/gazeta-prawna-calibre-v1.recipe index 9baea25c7a..ec5ba0495c 100644 --- a/recipes/gazeta-prawna-calibre-v1.recipe +++ b/recipes/gazeta-prawna-calibre-v1.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2020, Tomasz Jozwiak ' diff --git a/recipes/gazeta_pl_bydgoszcz.recipe b/recipes/gazeta_pl_bydgoszcz.recipe index bb45c907ae..db95c7c383 100644 --- a/recipes/gazeta_pl_bydgoszcz.recipe +++ b/recipes/gazeta_pl_bydgoszcz.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' diff --git a/recipes/gazeta_pl_krakow.recipe b/recipes/gazeta_pl_krakow.recipe index e8b59c673a..e03e410668 100644 --- a/recipes/gazeta_pl_krakow.recipe +++ b/recipes/gazeta_pl_krakow.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = 'teepel based on GW from fenuks' diff --git a/recipes/gazeta_pl_warszawa.recipe b/recipes/gazeta_pl_warszawa.recipe index c60e477ba2..f7c0e4483b 100644 --- a/recipes/gazeta_pl_warszawa.recipe +++ b/recipes/gazeta_pl_warszawa.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'teepel based on GW from fenuks' diff --git a/recipes/gentoftelokalavisen_dk.recipe b/recipes/gentoftelokalavisen_dk.recipe index 0ae2fbe62b..f3239d4f98 100644 --- a/recipes/gentoftelokalavisen_dk.recipe +++ b/recipes/gentoftelokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/globe_and_mail.recipe b/recipes/globe_and_mail.recipe index 58f4f3e384..a2661823af 100644 --- a/recipes/globe_and_mail.recipe +++ b/recipes/globe_and_mail.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2018, Kovid Goyal diff --git a/recipes/go4it.recipe b/recipes/go4it.recipe index 8fc752b75a..38bc9619c5 100644 --- a/recipes/go4it.recipe +++ b/recipes/go4it.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/gofin_pl.recipe b/recipes/gofin_pl.recipe index 0a0674c98f..a4361245c3 100644 --- a/recipes/gofin_pl.recipe +++ b/recipes/gofin_pl.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'teepel ' diff --git a/recipes/gosc_niedzielny.recipe b/recipes/gosc_niedzielny.recipe index be9d0fb9f9..5d19eab4e5 100644 --- a/recipes/gosc_niedzielny.recipe +++ b/recipes/gosc_niedzielny.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/granma.recipe b/recipes/granma.recipe index 157e04633e..f3b8e89dd0 100644 --- a/recipes/granma.recipe +++ b/recipes/granma.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008-2019, Darko Miletic ' diff --git a/recipes/granta.recipe b/recipes/granta.recipe index 0f3064d7b4..4de7ae11f9 100644 --- a/recipes/granta.recipe +++ b/recipes/granta.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2018, Gary Arnold garnold@garyarnold.com' __docformat__ = 'restructuredtext en' diff --git a/recipes/grenaalokalavisen_dk.recipe b/recipes/grenaalokalavisen_dk.recipe index 32973c3d66..427ab17278 100644 --- a/recipes/grenaalokalavisen_dk.recipe +++ b/recipes/grenaalokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/gribskovlokalavisen_dk.recipe b/recipes/gribskovlokalavisen_dk.recipe index 3e8eb7d69f..81d663799a 100644 --- a/recipes/gribskovlokalavisen_dk.recipe +++ b/recipes/gribskovlokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/gsp.recipe b/recipes/gsp.recipe index 708c3e1faa..6a2e611ab4 100644 --- a/recipes/gsp.recipe +++ b/recipes/gsp.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/guardian.recipe b/recipes/guardian.recipe index 972be4be1d..ab6a1382e7 100644 --- a/recipes/guardian.recipe +++ b/recipes/guardian.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/recipes/gva_be.recipe b/recipes/gva_be.recipe index fb6110c314..554b61d1d5 100644 --- a/recipes/gva_be.recipe +++ b/recipes/gva_be.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/h3.recipe b/recipes/h3.recipe index ec2c889662..022dc7d12a 100644 --- a/recipes/h3.recipe +++ b/recipes/h3.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/recipes/hackernews.recipe b/recipes/hackernews.recipe index 36c8dcd287..6f44fe8961 100644 --- a/recipes/hackernews.recipe +++ b/recipes/hackernews.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' ''' diff --git a/recipes/haderslevlokalavisen_dk.recipe b/recipes/haderslevlokalavisen_dk.recipe index 2460e813a4..d5c9c0449e 100644 --- a/recipes/haderslevlokalavisen_dk.recipe +++ b/recipes/haderslevlokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/handelsblatt.recipe b/recipes/handelsblatt.recipe index 665a587053..842fb5798c 100644 --- a/recipes/handelsblatt.recipe +++ b/recipes/handelsblatt.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Aimylios diff --git a/recipes/hatalska.recipe b/recipes/hatalska.recipe index 0f88877320..8ec1f7b9fe 100644 --- a/recipes/hatalska.recipe +++ b/recipes/hatalska.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = 'teepel 2012' diff --git a/recipes/hbr.recipe b/recipes/hbr.recipe index 5d27597184..226b783639 100644 --- a/recipes/hbr.recipe +++ b/recipes/hbr.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/recipes/hindu_business_line.recipe b/recipes/hindu_business_line.recipe index c913d50703..5aa37699ea 100644 --- a/recipes/hindu_business_line.recipe +++ b/recipes/hindu_business_line.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/recipes/hln_be.recipe b/recipes/hln_be.recipe index 05bba2c525..42b3a06067 100644 --- a/recipes/hln_be.recipe +++ b/recipes/hln_be.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/hoersholmlokalavisen_dk.recipe b/recipes/hoersholmlokalavisen_dk.recipe index 94dfa01f45..27758d4935 100644 --- a/recipes/hoersholmlokalavisen_dk.recipe +++ b/recipes/hoersholmlokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/hola.recipe b/recipes/hola.recipe index 115eb9deb1..ad711674b6 100644 --- a/recipes/hola.recipe +++ b/recipes/hola.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8 __license__ = 'GPL v3' __copyright__ = '30 June 2012, desUBIKado' diff --git a/recipes/hornsherredavis_dk.recipe b/recipes/hornsherredavis_dk.recipe index 9759954cf3..e2845972f7 100644 --- a/recipes/hornsherredavis_dk.recipe +++ b/recipes/hornsherredavis_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/hornsherredlokalavisen_dk.recipe b/recipes/hornsherredlokalavisen_dk.recipe index 0a24551b1c..773887ce71 100644 --- a/recipes/hornsherredlokalavisen_dk.recipe +++ b/recipes/hornsherredlokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/hotcity.recipe b/recipes/hotcity.recipe index 7c6448567d..b0ed801420 100644 --- a/recipes/hotcity.recipe +++ b/recipes/hotcity.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/hotnews.recipe b/recipes/hotnews.recipe index 82c7fea518..0f61ef3032 100644 --- a/recipes/hotnews.recipe +++ b/recipes/hotnews.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/houston_chronicle.recipe b/recipes/houston_chronicle.recipe index 2d75395d0d..2fd6d66fdb 100644 --- a/recipes/houston_chronicle.recipe +++ b/recipes/houston_chronicle.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function __license__ = 'GPL v3' diff --git a/recipes/hoy.recipe b/recipes/hoy.recipe index 104e04ab7c..a02db1cec4 100644 --- a/recipes/hoy.recipe +++ b/recipes/hoy.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/hrt.recipe b/recipes/hrt.recipe index d2fcf3bcdc..40a4103591 100644 --- a/recipes/hrt.recipe +++ b/recipes/hrt.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/hvidovreavis_dk.recipe b/recipes/hvidovreavis_dk.recipe index a61004820f..8c77bf52fc 100644 --- a/recipes/hvidovreavis_dk.recipe +++ b/recipes/hvidovreavis_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/hvidovrelokalavisen_dk.recipe b/recipes/hvidovrelokalavisen_dk.recipe index f4da692e0a..61861cf7e3 100644 --- a/recipes/hvidovrelokalavisen_dk.recipe +++ b/recipes/hvidovrelokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/id_pixel.recipe b/recipes/id_pixel.recipe index c927c71b6c..f12da68f32 100644 --- a/recipes/id_pixel.recipe +++ b/recipes/id_pixel.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/iekspries.recipe b/recipes/iekspries.recipe index 9bd3b2dc58..760c7e77e2 100644 --- a/recipes/iekspries.recipe +++ b/recipes/iekspries.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/iktibas.recipe b/recipes/iktibas.recipe index 60e6e48a67..bfcedc3ceb 100644 --- a/recipes/iktibas.recipe +++ b/recipes/iktibas.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import AutomaticNewsRecipe diff --git a/recipes/il_giornale.recipe b/recipes/il_giornale.recipe index 70cc8bfe4e..bbbfbd7261 100644 --- a/recipes/il_giornale.recipe +++ b/recipes/il_giornale.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Gambarini, based on Darko Miletic' __copyright__ = '2009-2010, Darko Miletic ' diff --git a/recipes/il_messaggero.recipe b/recipes/il_messaggero.recipe index 1c49399682..c07112a9e1 100644 --- a/recipes/il_messaggero.recipe +++ b/recipes/il_messaggero.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Gabriele Marini, based on Darko Miletic' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/il_post.recipe b/recipes/il_post.recipe index 6c64b33ef5..c7b3c063e8 100644 --- a/recipes/il_post.recipe +++ b/recipes/il_post.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python ## # Title: Il Post recipe for calibre # Author: Marco Scirea, based on a recipe by frafra diff --git a/recipes/imperatortravel.recipe b/recipes/imperatortravel.recipe index 889e0374de..69e5957baf 100644 --- a/recipes/imperatortravel.recipe +++ b/recipes/imperatortravel.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/inc.recipe b/recipes/inc.recipe index 8a792b8b17..f1dfa19c2a 100644 --- a/recipes/inc.recipe +++ b/recipes/inc.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2014, Nikolas Mangold-Takao ' diff --git a/recipes/independent.recipe b/recipes/independent.recipe index a4569715fb..fc526ad60b 100644 --- a/recipes/independent.recipe +++ b/recipes/independent.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from calibre import random_user_agent from calibre.web.feeds.recipes import BasicNewsRecipe diff --git a/recipes/infomotori.recipe b/recipes/infomotori.recipe index 29497b6415..5de516a244 100644 --- a/recipes/infomotori.recipe +++ b/recipes/infomotori.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Gabriele Marini, based on Darko Miletic' __copyright__ = '2009-2010, Darko Miletic ' diff --git a/recipes/infoworld.recipe b/recipes/infoworld.recipe index 23d3cacf64..3873576490 100644 --- a/recipes/infoworld.recipe +++ b/recipes/infoworld.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Rick Kellogg' diff --git a/recipes/ing_dk.recipe b/recipes/ing_dk.recipe index 3b2ade2cd7..dc0c22dcac 100644 --- a/recipes/ing_dk.recipe +++ b/recipes/ing_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/inquirer_net.recipe b/recipes/inquirer_net.recipe index dc66373787..177a2d2fb3 100644 --- a/recipes/inquirer_net.recipe +++ b/recipes/inquirer_net.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/intelligencer.recipe b/recipes/intelligencer.recipe index 38248780bd..a2cf048220 100644 --- a/recipes/intelligencer.recipe +++ b/recipes/intelligencer.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/intrefete.recipe b/recipes/intrefete.recipe index 2f78552bd7..21be99a9b5 100644 --- a/recipes/intrefete.recipe +++ b/recipes/intrefete.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/iprofesional.recipe b/recipes/iprofesional.recipe index 4d2bca4313..27dad0a157 100644 --- a/recipes/iprofesional.recipe +++ b/recipes/iprofesional.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- mode: python -*- # -*- coding: utf-8 -*- diff --git a/recipes/ixbt.recipe b/recipes/ixbt.recipe index ce17a54b24..a889f67ebf 100644 --- a/recipes/ixbt.recipe +++ b/recipes/ixbt.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/jakarta_post.recipe b/recipes/jakarta_post.recipe index 5ff13fc806..d76abb172f 100644 --- a/recipes/jakarta_post.recipe +++ b/recipes/jakarta_post.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2011, Adrian Gunawan ' __author__ = 'Adrian Gunawan' diff --git a/recipes/javalobby.recipe b/recipes/javalobby.recipe index 02ca9614bf..dfd5396dd9 100644 --- a/recipes/javalobby.recipe +++ b/recipes/javalobby.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Rick Kellogg' diff --git a/recipes/jb_online.recipe b/recipes/jb_online.recipe index b78002acd1..efd6161e46 100644 --- a/recipes/jb_online.recipe +++ b/recipes/jb_online.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/joelonsoftware.recipe b/recipes/joelonsoftware.recipe index 30ba000e0c..18aafa2d93 100644 --- a/recipes/joelonsoftware.recipe +++ b/recipes/joelonsoftware.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008, Darko Miletic ' diff --git a/recipes/journalgazette.recipe b/recipes/journalgazette.recipe index 81fb6d1b9b..4c8c8ec2aa 100644 --- a/recipes/journalgazette.recipe +++ b/recipes/journalgazette.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'somedayson & TonytheBookworm, revised by Cynthia Clavey' __copyright__ = '2010, Cynthia Clavey cynvision@yahoo.com' diff --git a/recipes/jurnalulnational.recipe b/recipes/jurnalulnational.recipe index 5e3e57eb30..329ef77448 100644 --- a/recipes/jurnalulnational.recipe +++ b/recipes/jurnalulnational.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/jutarnji.recipe b/recipes/jutarnji.recipe index ddfb0e6592..4c939cfc26 100644 --- a/recipes/jutarnji.recipe +++ b/recipes/jutarnji.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008-2009, Darko Miletic ' diff --git a/recipes/jv_dk.recipe b/recipes/jv_dk.recipe index 81a369a09e..a01206e515 100644 --- a/recipes/jv_dk.recipe +++ b/recipes/jv_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/kaloeviglokalavisen_dk.recipe b/recipes/kaloeviglokalavisen_dk.recipe index 721d7ef3ad..366b15dbac 100644 --- a/recipes/kaloeviglokalavisen_dk.recipe +++ b/recipes/kaloeviglokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/kamikaze.recipe b/recipes/kamikaze.recipe index 4748a6a04c..8153c5ac96 100644 --- a/recipes/kamikaze.recipe +++ b/recipes/kamikaze.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/karsi_gazete.recipe b/recipes/karsi_gazete.recipe index 679d3cb91e..7d28484250 100644 --- a/recipes/karsi_gazete.recipe +++ b/recipes/karsi_gazete.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/kellog_insight.recipe b/recipes/kellog_insight.recipe index a536dbe512..955b530d8e 100644 --- a/recipes/kellog_insight.recipe +++ b/recipes/kellog_insight.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/recipes/kerrang.recipe b/recipes/kerrang.recipe index faebf35149..ca245dc95c 100644 --- a/recipes/kerrang.recipe +++ b/recipes/kerrang.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' diff --git a/recipes/kgsenghavebladet_dk.recipe b/recipes/kgsenghavebladet_dk.recipe index ae2b21aad5..f4f7328114 100644 --- a/recipes/kgsenghavebladet_dk.recipe +++ b/recipes/kgsenghavebladet_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/kitekinto.recipe b/recipes/kitekinto.recipe index 0d07cb1935..93323f7ec6 100644 --- a/recipes/kitekinto.recipe +++ b/recipes/kitekinto.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/recipes/kleinezeitung.recipe b/recipes/kleinezeitung.recipe index d8c2599923..b43e585327 100644 --- a/recipes/kleinezeitung.recipe +++ b/recipes/kleinezeitung.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/knack_be.recipe b/recipes/knack_be.recipe index ea95e9fec6..167d1ed75a 100644 --- a/recipes/knack_be.recipe +++ b/recipes/knack_be.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/koegelokalavisen_dk.recipe b/recipes/koegelokalavisen_dk.recipe index fb4d8532cb..62fe6d5081 100644 --- a/recipes/koegelokalavisen_dk.recipe +++ b/recipes/koegelokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/koldinglokalavisen_dk.recipe b/recipes/koldinglokalavisen_dk.recipe index ceaecdad3b..85d01a28b5 100644 --- a/recipes/koldinglokalavisen_dk.recipe +++ b/recipes/koldinglokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/kommunalsundhed_dk.recipe b/recipes/kommunalsundhed_dk.recipe index a4bb27b232..37deab145c 100644 --- a/recipes/kommunalsundhed_dk.recipe +++ b/recipes/kommunalsundhed_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/kompas.recipe b/recipes/kompas.recipe index 75ca568b68..657500209b 100644 --- a/recipes/kompas.recipe +++ b/recipes/kompas.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2011, Adrian Gunawan ' __author__ = 'Adrian Gunawan' diff --git a/recipes/kompiutierra.recipe b/recipes/kompiutierra.recipe index 9748464c01..7f4364108f 100644 --- a/recipes/kompiutierra.recipe +++ b/recipes/kompiutierra.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/kristeligt_dagblad_dk.recipe b/recipes/kristeligt_dagblad_dk.recipe index 899980924d..65b02b5f4e 100644 --- a/recipes/kristeligt_dagblad_dk.recipe +++ b/recipes/kristeligt_dagblad_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/krstarica_en.recipe b/recipes/krstarica_en.recipe index d971cd59db..6454c4790a 100644 --- a/recipes/krstarica_en.recipe +++ b/recipes/krstarica_en.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/kudika.recipe b/recipes/kudika.recipe index bab82e2372..c34d35f78d 100644 --- a/recipes/kudika.recipe +++ b/recipes/kudika.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/kukuburi.recipe b/recipes/kukuburi.recipe index 9c4a5094d4..046a8906e5 100644 --- a/recipes/kukuburi.recipe +++ b/recipes/kukuburi.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Mori' diff --git a/recipes/kurier.recipe b/recipes/kurier.recipe index 774c92b277..2a42efb938 100644 --- a/recipes/kurier.recipe +++ b/recipes/kurier.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/l_espresso.recipe b/recipes/l_espresso.recipe index cd003987bb..1888b9b963 100644 --- a/recipes/l_espresso.recipe +++ b/recipes/l_espresso.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini, Gabriele Marini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/la_cuarta.recipe b/recipes/la_cuarta.recipe index 81bb5a0863..63cb46583e 100644 --- a/recipes/la_cuarta.recipe +++ b/recipes/la_cuarta.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/la_gazetta_del_mezzogiorno.recipe b/recipes/la_gazetta_del_mezzogiorno.recipe index fd97ed6539..e559c58199 100644 --- a/recipes/la_gazetta_del_mezzogiorno.recipe +++ b/recipes/la_gazetta_del_mezzogiorno.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2012, faber1971' __version__ = 'v1.01' diff --git a/recipes/la_gazzeta_dello_sport.recipe b/recipes/la_gazzeta_dello_sport.recipe index 37831047bc..14807c922a 100644 --- a/recipes/la_gazzeta_dello_sport.recipe +++ b/recipes/la_gazzeta_dello_sport.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import print_function __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' diff --git a/recipes/la_stampa.recipe b/recipes/la_stampa.recipe index a608e8ebd5..69767fba37 100644 --- a/recipes/la_stampa.recipe +++ b/recipes/la_stampa.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Gabriele Marini, based on Darko Miletic' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/lalibre_be.recipe b/recipes/lalibre_be.recipe index f824556407..cef8318a0e 100644 --- a/recipes/lalibre_be.recipe +++ b/recipes/lalibre_be.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008-2011, Lionel Bergeret ' diff --git a/recipes/lameuse_be.recipe b/recipes/lameuse_be.recipe index 9869e93f15..08bb05f42c 100644 --- a/recipes/lameuse_be.recipe +++ b/recipes/lameuse_be.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008-2011, Lionel Bergeret ' diff --git a/recipes/lanacion_chile.recipe b/recipes/lanacion_chile.recipe index a158732e81..aa68660c41 100644 --- a/recipes/lanacion_chile.recipe +++ b/recipes/lanacion_chile.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/laprensa.recipe b/recipes/laprensa.recipe index 95197932d5..820edf8abe 100644 --- a/recipes/laprensa.recipe +++ b/recipes/laprensa.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- mode: python -*- # -*- coding: utf-8 -*- diff --git a/recipes/laprensa_hn.recipe b/recipes/laprensa_hn.recipe index 37e50e4b5a..7e2a471511 100644 --- a/recipes/laprensa_hn.recipe +++ b/recipes/laprensa_hn.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/laprensa_ni.recipe b/recipes/laprensa_ni.recipe index 6dc3c75c97..eb4150062c 100644 --- a/recipes/laprensa_ni.recipe +++ b/recipes/laprensa_ni.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/latimes.recipe b/recipes/latimes.recipe index 67bb754bf2..2aa71a8351 100644 --- a/recipes/latimes.recipe +++ b/recipes/latimes.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python import re from collections import defaultdict diff --git a/recipes/latribuna.recipe b/recipes/latribuna.recipe index 5176c4c4b1..992040bd58 100644 --- a/recipes/latribuna.recipe +++ b/recipes/latribuna.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/lavanguardia.recipe b/recipes/lavanguardia.recipe index 6165d1a648..6f97664706 100644 --- a/recipes/lavanguardia.recipe +++ b/recipes/lavanguardia.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/lavenir_be.recipe b/recipes/lavenir_be.recipe index de7e0afed8..8d541ef888 100644 --- a/recipes/lavenir_be.recipe +++ b/recipes/lavenir_be.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008-2011, Lionel Bergeret ' diff --git a/recipes/le_peuple_breton.recipe b/recipes/le_peuple_breton.recipe index 15d9fbfbb7..37a3c89cb6 100644 --- a/recipes/le_peuple_breton.recipe +++ b/recipes/le_peuple_breton.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/le_temps.recipe b/recipes/le_temps.recipe index 803cb58dbc..1bdd674a28 100644 --- a/recipes/le_temps.recipe +++ b/recipes/le_temps.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # License: GPLv3 Copyright: 2009, Kovid Goyal diff --git a/recipes/legeartis.recipe b/recipes/legeartis.recipe index a545bf1893..c9a211aeef 100644 --- a/recipes/legeartis.recipe +++ b/recipes/legeartis.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' ''' diff --git a/recipes/leggo_it.recipe b/recipes/leggo_it.recipe index 8c9052dc1d..0539b45f73 100644 --- a/recipes/leggo_it.recipe +++ b/recipes/leggo_it.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Gabriele Marini, based on Darko Miletic' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/legitymizm.recipe b/recipes/legitymizm.recipe index 46e0c860b9..fa7a341c0b 100644 --- a/recipes/legitymizm.recipe +++ b/recipes/legitymizm.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2010, Tomasz Dlugosz ' diff --git a/recipes/lenta_ru.recipe b/recipes/lenta_ru.recipe index efc3d2d444..8275c1a989 100644 --- a/recipes/lenta_ru.recipe +++ b/recipes/lenta_ru.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python ''' Lenta.ru diff --git a/recipes/lequipe.recipe b/recipes/lequipe.recipe index 5bb81f6455..619bf318bb 100644 --- a/recipes/lequipe.recipe +++ b/recipes/lequipe.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' diff --git a/recipes/lescienze.recipe b/recipes/lescienze.recipe index e8876e2b97..3b1ade36d2 100644 --- a/recipes/lescienze.recipe +++ b/recipes/lescienze.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Daniele Forsi' diff --git a/recipes/lesoir_be.recipe b/recipes/lesoir_be.recipe index fd6bcb1738..ca56f2d0d7 100644 --- a/recipes/lesoir_be.recipe +++ b/recipes/lesoir_be.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008-2011, Lionel Bergeret ' diff --git a/recipes/liberation.recipe b/recipes/liberation.recipe index 2eb0277220..1bf8c6d869 100644 --- a/recipes/liberation.recipe +++ b/recipes/liberation.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008, Darko Miletic ' diff --git a/recipes/libero.recipe b/recipes/libero.recipe index dbb75aff65..09713d894d 100644 --- a/recipes/libero.recipe +++ b/recipes/libero.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Gabriele Marini, based on Darko Miletic' __copyright__ = '2009-2010, Darko Miletic ' diff --git a/recipes/lifehacker.recipe b/recipes/lifehacker.recipe index 054325944a..ee35f729fa 100644 --- a/recipes/lifehacker.recipe +++ b/recipes/lifehacker.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/lifehacker_pl.recipe b/recipes/lifehacker_pl.recipe index 840bf9b075..c3fbdfb7c1 100644 --- a/recipes/lifehacker_pl.recipe +++ b/recipes/lifehacker_pl.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = 'MrStefan' diff --git a/recipes/limba_sarda.recipe b/recipes/limba_sarda.recipe index 8f70efbd59..1a75311c2d 100644 --- a/recipes/limba_sarda.recipe +++ b/recipes/limba_sarda.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import AutomaticNewsRecipe diff --git a/recipes/limes.recipe b/recipes/limes.recipe index a828cd0ce6..5936b8475a 100644 --- a/recipes/limes.recipe +++ b/recipes/limes.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2012, faber1971' __version__ = 'v1.00' diff --git a/recipes/linux_magazine.recipe b/recipes/linux_magazine.recipe index 774a9d5aef..0ba0f8acce 100644 --- a/recipes/linux_magazine.recipe +++ b/recipes/linux_magazine.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008-2015 , Darko Miletic ' diff --git a/recipes/lwn.recipe b/recipes/lwn.recipe index fbcfad80fb..44d8633430 100644 --- a/recipes/lwn.recipe +++ b/recipes/lwn.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' diff --git a/recipes/lwn_weekly.recipe b/recipes/lwn_weekly.recipe index e305cb0714..6e26770c33 100644 --- a/recipes/lwn_weekly.recipe +++ b/recipes/lwn_weekly.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import print_function __license__ = 'GPL v3' diff --git a/recipes/lyngby-taarbaeklokalavisen_dk.recipe b/recipes/lyngby-taarbaeklokalavisen_dk.recipe index 4fbe32ad80..fa550abafe 100644 --- a/recipes/lyngby-taarbaeklokalavisen_dk.recipe +++ b/recipes/lyngby-taarbaeklokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/mac_world.recipe b/recipes/mac_world.recipe index a2599dfb08..97e48f99e5 100644 --- a/recipes/mac_world.recipe +++ b/recipes/mac_world.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/mac_world_uk.recipe b/recipes/mac_world_uk.recipe index f6998e072e..6ac402ebda 100644 --- a/recipes/mac_world_uk.recipe +++ b/recipes/mac_world_uk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/macleans.recipe b/recipes/macleans.recipe index f699d6a9df..0b0873b86a 100644 --- a/recipes/macleans.recipe +++ b/recipes/macleans.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/macrobusiness.recipe b/recipes/macrobusiness.recipe index c848d7261d..35a6900410 100644 --- a/recipes/macrobusiness.recipe +++ b/recipes/macrobusiness.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/magyar_nemzet.recipe b/recipes/magyar_nemzet.recipe index 6ad29ad16b..eee19ac1ac 100644 --- a/recipes/magyar_nemzet.recipe +++ b/recipes/magyar_nemzet.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import AutomaticNewsRecipe diff --git a/recipes/malaysian_mirror.recipe b/recipes/malaysian_mirror.recipe index 7e16eb9ae6..cd2c0fe1c8 100644 --- a/recipes/malaysian_mirror.recipe +++ b/recipes/malaysian_mirror.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Tony Stegall' __copyright__ = '2010, Tony Stegall or Tonythebookworm on mobiread.com' diff --git a/recipes/mandidner.recipe b/recipes/mandidner.recipe index 43673f8eb7..4ed55933c9 100644 --- a/recipes/mandidner.recipe +++ b/recipes/mandidner.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import AutomaticNewsRecipe diff --git a/recipes/maskinbladet_dk.recipe b/recipes/maskinbladet_dk.recipe index 2e612d4ad0..18be84dcfa 100644 --- a/recipes/maskinbladet_dk.recipe +++ b/recipes/maskinbladet_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/mateusz_czytania.recipe b/recipes/mateusz_czytania.recipe index 68938b2c15..9717176efb 100644 --- a/recipes/mateusz_czytania.recipe +++ b/recipes/mateusz_czytania.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'teepel ' diff --git a/recipes/mayra.recipe b/recipes/mayra.recipe index 8cbe4f8207..bd83cd0149 100644 --- a/recipes/mayra.recipe +++ b/recipes/mayra.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/media2.recipe b/recipes/media2.recipe index f2d441a304..b889c77552 100644 --- a/recipes/media2.recipe +++ b/recipes/media2.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = 'teepel' diff --git a/recipes/media_zone.recipe b/recipes/media_zone.recipe index 21f7d82ac1..1204f8df90 100644 --- a/recipes/media_zone.recipe +++ b/recipes/media_zone.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/mediafax.recipe b/recipes/mediafax.recipe index 98340d348d..e450364f22 100644 --- a/recipes/mediafax.recipe +++ b/recipes/mediafax.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/mediaindonesia.recipe b/recipes/mediaindonesia.recipe index 45c020139f..e282ac450d 100644 --- a/recipes/mediaindonesia.recipe +++ b/recipes/mediaindonesia.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2011, bakthariq AT gmail.com' ''' diff --git a/recipes/mediapart.recipe b/recipes/mediapart.recipe index 113c0d00fe..305bfb3460 100644 --- a/recipes/mediapart.recipe +++ b/recipes/mediapart.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals diff --git a/recipes/mediterraneo.recipe b/recipes/mediterraneo.recipe index 493513d774..cc23b93dce 100644 --- a/recipes/mediterraneo.recipe +++ b/recipes/mediterraneo.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/medscape.recipe b/recipes/medscape.recipe index b7e8717ae9..098f7d54de 100644 --- a/recipes/medscape.recipe +++ b/recipes/medscape.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Tony Stegall' __copyright__ = '2010, Tony Stegall or Tonythebookworm on mobileread.com' diff --git a/recipes/melbourne_herald_sun.recipe b/recipes/melbourne_herald_sun.recipe index f2b63b3687..fcd16a21f0 100644 --- a/recipes/melbourne_herald_sun.recipe +++ b/recipes/melbourne_herald_sun.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Matthew Briggs' __docformat__ = 'restructuredtext en' diff --git a/recipes/michalkiewicz.recipe b/recipes/michalkiewicz.recipe index 795217f0a7..85861f5d0f 100644 --- a/recipes/michalkiewicz.recipe +++ b/recipes/michalkiewicz.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Tomasz Dlugosz ' diff --git a/recipes/mit_technology_review.recipe b/recipes/mit_technology_review.recipe index 1b39475588..e67bef1e0b 100644 --- a/recipes/mit_technology_review.recipe +++ b/recipes/mit_technology_review.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import unicode_literals __license__ = 'GPL v3' __copyright__ = '2015 Michael Marotta ' diff --git a/recipes/moldovaazi.recipe b/recipes/moldovaazi.recipe index 026354684c..5629de19ef 100644 --- a/recipes/moldovaazi.recipe +++ b/recipes/moldovaazi.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/mondedurable.recipe b/recipes/mondedurable.recipe index 4104a7e5fc..2e3c30bc2b 100644 --- a/recipes/mondedurable.recipe +++ b/recipes/mondedurable.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/monden.recipe b/recipes/monden.recipe index 3a5a0af8f5..b29c64c2b7 100644 --- a/recipes/monden.recipe +++ b/recipes/monden.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/moneyro.recipe b/recipes/moneyro.recipe index 2c9c097cc5..fe22bddcac 100644 --- a/recipes/moneyro.recipe +++ b/recipes/moneyro.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/montevideo_com.recipe b/recipes/montevideo_com.recipe index 3ec7a6a8ba..1caac94766 100644 --- a/recipes/montevideo_com.recipe +++ b/recipes/montevideo_com.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = '2010, Gustavo Azambuja ' diff --git a/recipes/montreal_gazette.recipe b/recipes/montreal_gazette.recipe index 6fa7f878e4..156ae3690d 100644 --- a/recipes/montreal_gazette.recipe +++ b/recipes/montreal_gazette.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function __license__ = 'GPL v3' diff --git a/recipes/motherjones.recipe b/recipes/motherjones.recipe index c066b2c724..9e026662a9 100644 --- a/recipes/motherjones.recipe +++ b/recipes/motherjones.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/msdnmag_en.recipe b/recipes/msdnmag_en.recipe index d3cbc69048..96673964de 100644 --- a/recipes/msdnmag_en.recipe +++ b/recipes/msdnmag_en.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/mult_kor.recipe b/recipes/mult_kor.recipe index ad52f7dce0..abc67c22bd 100644 --- a/recipes/mult_kor.recipe +++ b/recipes/mult_kor.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import AutomaticNewsRecipe diff --git a/recipes/mwjournal.recipe b/recipes/mwjournal.recipe index e5972afc8f..28d71dede9 100644 --- a/recipes/mwjournal.recipe +++ b/recipes/mwjournal.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python ## # Title: Microwave Journal # Contact: Kiavash (use Mobile Read) diff --git a/recipes/nacional_cro.recipe b/recipes/nacional_cro.recipe index e11c4028a4..fb088ee0e5 100644 --- a/recipes/nacional_cro.recipe +++ b/recipes/nacional_cro.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/najwyzszy_czas.recipe b/recipes/najwyzszy_czas.recipe index a660f1b765..53ca59f3ec 100644 --- a/recipes/najwyzszy_czas.recipe +++ b/recipes/najwyzszy_czas.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'teepel ' diff --git a/recipes/nakedcapitalism.recipe b/recipes/nakedcapitalism.recipe index 6da0b76038..443cd7e459 100644 --- a/recipes/nakedcapitalism.recipe +++ b/recipes/nakedcapitalism.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' ''' diff --git a/recipes/naszdziennik.recipe b/recipes/naszdziennik.recipe index b3427b94e1..1dc09bec30 100644 --- a/recipes/naszdziennik.recipe +++ b/recipes/naszdziennik.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' diff --git a/recipes/natgeo.recipe b/recipes/natgeo.recipe index 84061bc1e2..250ddaffda 100644 --- a/recipes/natgeo.recipe +++ b/recipes/natgeo.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/recipes/national_post.recipe b/recipes/national_post.recipe index 491d659b40..1c1a60dd73 100644 --- a/recipes/national_post.recipe +++ b/recipes/national_post.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/recipes/nationalgeoro.recipe b/recipes/nationalgeoro.recipe index b80ec7bdb2..f0d14312df 100644 --- a/recipes/nationalgeoro.recipe +++ b/recipes/nationalgeoro.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/nature.recipe b/recipes/nature.recipe index d21b8e092d..f8548ea880 100644 --- a/recipes/nature.recipe +++ b/recipes/nature.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from collections import defaultdict from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/navalny.recipe b/recipes/navalny.recipe index 217692b4b0..346fcfd15e 100644 --- a/recipes/navalny.recipe +++ b/recipes/navalny.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/new_york_review_of_books.recipe b/recipes/new_york_review_of_books.recipe index 3fbbf9796c..cfec2cadc5 100644 --- a/recipes/new_york_review_of_books.recipe +++ b/recipes/new_york_review_of_books.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/recipes/new_york_review_of_books_no_sub.recipe b/recipes/new_york_review_of_books_no_sub.recipe index 3c6a4ad5a6..8fd55f7b0a 100644 --- a/recipes/new_york_review_of_books_no_sub.recipe +++ b/recipes/new_york_review_of_books_no_sub.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/recipes/new_yorker.recipe b/recipes/new_yorker.recipe index b4312e4949..37d6f008c6 100644 --- a/recipes/new_yorker.recipe +++ b/recipes/new_yorker.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/recipes/newsmoldova.recipe b/recipes/newsmoldova.recipe index b06b6c44b4..de293ad2d7 100644 --- a/recipes/newsmoldova.recipe +++ b/recipes/newsmoldova.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/newsweek_polska.recipe b/recipes/newsweek_polska.recipe index 6834efe97b..5da8678792 100644 --- a/recipes/newsweek_polska.recipe +++ b/recipes/newsweek_polska.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function diff --git a/recipes/newz_dk.recipe b/recipes/newz_dk.recipe index b2540243c4..f83c0af12a 100644 --- a/recipes/newz_dk.recipe +++ b/recipes/newz_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/nieuws_be.recipe b/recipes/nieuws_be.recipe index 8de3049d9c..4571883cfe 100644 --- a/recipes/nieuws_be.recipe +++ b/recipes/nieuws_be.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/nikkei_news.recipe b/recipes/nikkei_news.recipe index 854792f035..b2788aecc9 100644 --- a/recipes/nikkei_news.recipe +++ b/recipes/nikkei_news.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import print_function from calibre.web.feeds.recipes import BasicNewsRecipe diff --git a/recipes/njp.recipe b/recipes/njp.recipe index 671bfcb5d9..c2a21d4a11 100644 --- a/recipes/njp.recipe +++ b/recipes/njp.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- ## diff --git a/recipes/noaa.recipe b/recipes/noaa.recipe index c156d215eb..335711cc99 100644 --- a/recipes/noaa.recipe +++ b/recipes/noaa.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/noerrebronordvestbladet_dk.recipe b/recipes/noerrebronordvestbladet_dk.recipe index 3acadd0147..dd6040ce33 100644 --- a/recipes/noerrebronordvestbladet_dk.recipe +++ b/recipes/noerrebronordvestbladet_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/norddjurslokalavisen_dk.recipe b/recipes/norddjurslokalavisen_dk.recipe index e566982015..b6d0d36d23 100644 --- a/recipes/norddjurslokalavisen_dk.recipe +++ b/recipes/norddjurslokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/nordjyske_dk.recipe b/recipes/nordjyske_dk.recipe index 16b204a896..72f86932e8 100644 --- a/recipes/nordjyske_dk.recipe +++ b/recipes/nordjyske_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/nortecastilla.recipe b/recipes/nortecastilla.recipe index 2f72be2d35..0845d54486 100644 --- a/recipes/nortecastilla.recipe +++ b/recipes/nortecastilla.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/nos_nl.recipe b/recipes/nos_nl.recipe index 92ca7c0616..584777c39e 100644 --- a/recipes/nos_nl.recipe +++ b/recipes/nos_nl.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/now_toronto.recipe b/recipes/now_toronto.recipe index 20bfe03dd7..69139a843d 100644 --- a/recipes/now_toronto.recipe +++ b/recipes/now_toronto.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- # Based on Lars Jacob's Taz Digiabo recipe diff --git a/recipes/nowiny_rybnik.recipe b/recipes/nowiny_rybnik.recipe index 74ca946d69..fc42214e12 100644 --- a/recipes/nowiny_rybnik.recipe +++ b/recipes/nowiny_rybnik.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' diff --git a/recipes/nowy_obywatel.recipe b/recipes/nowy_obywatel.recipe index b42f482ff1..1a7bdf4836 100644 --- a/recipes/nowy_obywatel.recipe +++ b/recipes/nowy_obywatel.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/noz.recipe b/recipes/noz.recipe index 2253e7b6df..4b02039dc6 100644 --- a/recipes/noz.recipe +++ b/recipes/noz.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/nrc-nl-epub.recipe b/recipes/nrc-nl-epub.recipe index e872487d7a..1b1df7dc5f 100644 --- a/recipes/nrc-nl-epub.recipe +++ b/recipes/nrc-nl-epub.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- # Based on veezh's original recipe and Kovid Goyal's New York Times recipe diff --git a/recipes/nrc_next.recipe b/recipes/nrc_next.recipe index 1e432625c6..c8df70e3e2 100644 --- a/recipes/nrc_next.recipe +++ b/recipes/nrc_next.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- # Based on veezh's original recipe, Kovid Goyal's New York Times # recipe and Snaabs nrc Handelsblad recipe diff --git a/recipes/nymag.recipe b/recipes/nymag.recipe index 84a11a2b0a..b26e660d5f 100644 --- a/recipes/nymag.recipe +++ b/recipes/nymag.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' diff --git a/recipes/nypost.recipe b/recipes/nypost.recipe index 555656426c..2a6faaaf59 100644 --- a/recipes/nypost.recipe +++ b/recipes/nypost.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/nytimes.recipe b/recipes/nytimes.recipe index d2526678ce..d19af184b1 100644 --- a/recipes/nytimes.recipe +++ b/recipes/nytimes.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2018, Kovid Goyal diff --git a/recipes/nytimes_sports.recipe b/recipes/nytimes_sports.recipe index 934de80a5c..9bdca6511a 100644 --- a/recipes/nytimes_sports.recipe +++ b/recipes/nytimes_sports.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # encoding: utf-8 from __future__ import with_statement diff --git a/recipes/nytimes_sub.recipe b/recipes/nytimes_sub.recipe index c4647a5b69..8dd1bd1f9e 100644 --- a/recipes/nytimes_sub.recipe +++ b/recipes/nytimes_sub.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2018, Kovid Goyal diff --git a/recipes/nytimes_tech.recipe b/recipes/nytimes_tech.recipe index 0701c50977..d31e6f346f 100644 --- a/recipes/nytimes_tech.recipe +++ b/recipes/nytimes_tech.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # encoding: utf-8 from __future__ import with_statement diff --git a/recipes/o_globo.recipe b/recipes/o_globo.recipe index 997dc73c8b..b4cc9e948b 100644 --- a/recipes/o_globo.recipe +++ b/recipes/o_globo.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/oba.recipe b/recipes/oba.recipe index 024e17bb47..476ea690e9 100644 --- a/recipes/oba.recipe +++ b/recipes/oba.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/observa_digital.recipe b/recipes/observa_digital.recipe index 1779faf922..5b603bfbe8 100644 --- a/recipes/observa_digital.recipe +++ b/recipes/observa_digital.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import print_function __license__ = 'GPL v3' diff --git a/recipes/observer_gb.recipe b/recipes/observer_gb.recipe index e9f29ee13f..dc49dc2d23 100644 --- a/recipes/observer_gb.recipe +++ b/recipes/observer_gb.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/recipes/oc_register.recipe b/recipes/oc_register.recipe index 6ce5412818..96faf0f15d 100644 --- a/recipes/oc_register.recipe +++ b/recipes/oc_register.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function import time diff --git a/recipes/odenselokalavisen_dk.recipe b/recipes/odenselokalavisen_dk.recipe index 7733a6499e..77579d6bbf 100644 --- a/recipes/odenselokalavisen_dk.recipe +++ b/recipes/odenselokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/oesterbroavis_dk.recipe b/recipes/oesterbroavis_dk.recipe index f3d35fe332..a598d43bce 100644 --- a/recipes/oesterbroavis_dk.recipe +++ b/recipes/oesterbroavis_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/onemagazine.recipe b/recipes/onemagazine.recipe index 0dbce03e8f..a5a4d7b610 100644 --- a/recipes/onemagazine.recipe +++ b/recipes/onemagazine.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/onionavclub.recipe b/recipes/onionavclub.recipe index 2fe3a5d503..0dfceabbd7 100644 --- a/recipes/onionavclub.recipe +++ b/recipes/onionavclub.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' diff --git a/recipes/optyczne_pl.recipe b/recipes/optyczne_pl.recipe index c1c690e703..c0648ffc13 100644 --- a/recipes/optyczne_pl.recipe +++ b/recipes/optyczne_pl.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/osel_cz.recipe b/recipes/osel_cz.recipe index 7bb00a7ad5..7f055b602b 100644 --- a/recipes/osel_cz.recipe +++ b/recipes/osel_cz.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/osw.recipe b/recipes/osw.recipe index 9e98da4aef..b214000069 100644 --- a/recipes/osw.recipe +++ b/recipes/osw.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'teepel ' diff --git a/recipes/ottawa_citizen.recipe b/recipes/ottawa_citizen.recipe index a157fdb181..2e76ca3627 100644 --- a/recipes/ottawa_citizen.recipe +++ b/recipes/ottawa_citizen.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function __license__ = 'GPL v3' diff --git a/recipes/outlook_india.recipe b/recipes/outlook_india.recipe index 2a98db7da7..c4f1858002 100644 --- a/recipes/outlook_india.recipe +++ b/recipes/outlook_india.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Kovid Goyal ' diff --git a/recipes/padreydecano.recipe b/recipes/padreydecano.recipe index 8bd45db312..4e8bf2f809 100644 --- a/recipes/padreydecano.recipe +++ b/recipes/padreydecano.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python ## # Title: Padreydecano.com News, Sports, and Blog # Contact: Carlos Alves - diff --git a/recipes/pagina_12_print_ed.recipe b/recipes/pagina_12_print_ed.recipe index d7be2f8194..4cb6eed6c1 100644 --- a/recipes/pagina_12_print_ed.recipe +++ b/recipes/pagina_12_print_ed.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import print_function __license__ = 'GPL v3' diff --git a/recipes/panorama.recipe b/recipes/panorama.recipe index b1de63ea96..3125a3c865 100644 --- a/recipes/panorama.recipe +++ b/recipes/panorama.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/pc_advisor.recipe b/recipes/pc_advisor.recipe index 295a4d2ce2..e165607646 100644 --- a/recipes/pc_advisor.recipe +++ b/recipes/pc_advisor.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/pc_lab.recipe b/recipes/pc_lab.recipe index 0f289e085f..1f5973366a 100644 --- a/recipes/pc_lab.recipe +++ b/recipes/pc_lab.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python import re from calibre.web.feeds.recipes import BasicNewsRecipe from calibre.ebooks.BeautifulSoup import Comment diff --git a/recipes/pc_world.recipe b/recipes/pc_world.recipe index 2dff64519f..3ede833131 100644 --- a/recipes/pc_world.recipe +++ b/recipes/pc_world.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/pcworld_hu.recipe b/recipes/pcworld_hu.recipe index 1f3e3c19df..7b675c2538 100644 --- a/recipes/pcworld_hu.recipe +++ b/recipes/pcworld_hu.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/recipes/pcworldro.recipe b/recipes/pcworldro.recipe index 177b1a4c9e..42b7d85f1c 100644 --- a/recipes/pcworldro.recipe +++ b/recipes/pcworldro.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/people_us_mashup.recipe b/recipes/people_us_mashup.recipe index 74a2fb77a1..9284b26d0a 100644 --- a/recipes/people_us_mashup.recipe +++ b/recipes/people_us_mashup.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' ''' ''' diff --git a/recipes/phd_comics.recipe b/recipes/phd_comics.recipe index e18ca8ff78..435125e77d 100644 --- a/recipes/phd_comics.recipe +++ b/recipes/phd_comics.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/recipes/plus_info.recipe b/recipes/plus_info.recipe index 8079ad037c..0a3b10744b 100644 --- a/recipes/plus_info.recipe +++ b/recipes/plus_info.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __author__ = 'Darko Spasovski' diff --git a/recipes/pobjeda.recipe b/recipes/pobjeda.recipe index 1bb4c1813e..f6bec0eca5 100644 --- a/recipes/pobjeda.recipe +++ b/recipes/pobjeda.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/politico.recipe b/recipes/politico.recipe index 440cf80f34..9af588d2f2 100644 --- a/recipes/politico.recipe +++ b/recipes/politico.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/politiko_dk.recipe b/recipes/politiko_dk.recipe index 819a2d5e75..816be563eb 100644 --- a/recipes/politiko_dk.recipe +++ b/recipes/politiko_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/polityka.recipe b/recipes/polityka.recipe index 8deb4f98f5..a73077b1da 100644 --- a/recipes/polityka.recipe +++ b/recipes/polityka.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, matek09, matek09@gmail.com' diff --git a/recipes/portfolio.recipe b/recipes/portfolio.recipe index bc64d568fd..cbb18b6128 100644 --- a/recipes/portfolio.recipe +++ b/recipes/portfolio.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' diff --git a/recipes/ppe_pl.recipe b/recipes/ppe_pl.recipe index 3c97b5e1af..354b5eec5d 100644 --- a/recipes/ppe_pl.recipe +++ b/recipes/ppe_pl.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/presse_portal.recipe b/recipes/presse_portal.recipe index 5ec7c57943..72ba830db7 100644 --- a/recipes/presse_portal.recipe +++ b/recipes/presse_portal.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/pressonline.recipe b/recipes/pressonline.recipe index 98f9c84147..c2fbb1ac02 100644 --- a/recipes/pressonline.recipe +++ b/recipes/pressonline.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/private_eye.recipe b/recipes/private_eye.recipe index 02e816acb8..e16981ac2b 100644 --- a/recipes/private_eye.recipe +++ b/recipes/private_eye.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal ''' diff --git a/recipes/promotor.recipe b/recipes/promotor.recipe index 69d63ba04a..2a6f9217e6 100644 --- a/recipes/promotor.recipe +++ b/recipes/promotor.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/prospectmaguk.recipe b/recipes/prospectmaguk.recipe index cd2fa62162..550b034b35 100644 --- a/recipes/prospectmaguk.recipe +++ b/recipes/prospectmaguk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __copyright__ = '2008, Kovid Goyal ' __license__ = 'GPL v3' diff --git a/recipes/prosport.recipe b/recipes/prosport.recipe index 66eddd6e7c..385a8cd0bb 100644 --- a/recipes/prosport.recipe +++ b/recipes/prosport.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/prostamerika.recipe b/recipes/prostamerika.recipe index d43d8766f4..44f417ea67 100644 --- a/recipes/prostamerika.recipe +++ b/recipes/prostamerika.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # encoding: utf-8 __license__ = 'GPL 3' diff --git a/recipes/protvmagazin.recipe b/recipes/protvmagazin.recipe index 80e2b989b3..9aa2c5932f 100644 --- a/recipes/protvmagazin.recipe +++ b/recipes/protvmagazin.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/psych.recipe b/recipes/psych.recipe index a7a6a23894..f5f00ec0d2 100644 --- a/recipes/psych.recipe +++ b/recipes/psych.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from calibre.web.feeds.recipes import BasicNewsRecipe diff --git a/recipes/psychologies.recipe b/recipes/psychologies.recipe index 2a0e148968..412d8680c3 100644 --- a/recipes/psychologies.recipe +++ b/recipes/psychologies.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/pubblico_giornale.recipe b/recipes/pubblico_giornale.recipe index 590bef807e..5717a14c46 100644 --- a/recipes/pubblico_giornale.recipe +++ b/recipes/pubblico_giornale.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = 'iusvar' __description__ = 'Pubblico giornale' diff --git a/recipes/publico.recipe b/recipes/publico.recipe index 0361dbbad8..7f72e93180 100644 --- a/recipes/publico.recipe +++ b/recipes/publico.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __author__ = u'Jordi Balcells' __license__ = 'GPL v3' description = u'Jornal portugu\xeas - v1.03 (16 June 2010)' diff --git a/recipes/publika.recipe b/recipes/publika.recipe index 4235ca8250..09aaceb111 100644 --- a/recipes/publika.recipe +++ b/recipes/publika.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/punto_informatico.recipe b/recipes/punto_informatico.recipe index 1f6479c739..c3f4d68bca 100644 --- a/recipes/punto_informatico.recipe +++ b/recipes/punto_informatico.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Gabriele Marini' __copyright__ = 'Gabriele Marini' diff --git a/recipes/quanta_magazine.recipe b/recipes/quanta_magazine.recipe index a7405e3c30..976cdc5870 100644 --- a/recipes/quanta_magazine.recipe +++ b/recipes/quanta_magazine.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/queueacmorg.recipe b/recipes/queueacmorg.recipe index e326b2500e..1dcc974353 100644 --- a/recipes/queueacmorg.recipe +++ b/recipes/queueacmorg.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/quotidiano.recipe b/recipes/quotidiano.recipe index c43f3f3e80..1a7d90308c 100644 --- a/recipes/quotidiano.recipe +++ b/recipes/quotidiano.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/randerslokalavisen_dk.recipe b/recipes/randerslokalavisen_dk.recipe index 2c4b3b0fde..bc69ed00f0 100644 --- a/recipes/randerslokalavisen_dk.recipe +++ b/recipes/randerslokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/readers_digest.recipe b/recipes/readers_digest.recipe index 760432af7c..0b9a45dd11 100644 --- a/recipes/readers_digest.recipe +++ b/recipes/readers_digest.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' ''' ''' diff --git a/recipes/realitatea.recipe b/recipes/realitatea.recipe index ecf68dc165..7272dde488 100644 --- a/recipes/realitatea.recipe +++ b/recipes/realitatea.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/red_aragon.recipe b/recipes/red_aragon.recipe index e745893acf..70f82a9f88 100644 --- a/recipes/red_aragon.recipe +++ b/recipes/red_aragon.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '11 December 2010, desUBIKado' __author__ = 'desUBIKado' diff --git a/recipes/regina_leader_post.recipe b/recipes/regina_leader_post.recipe index b226697fc2..088c5d20f7 100644 --- a/recipes/regina_leader_post.recipe +++ b/recipes/regina_leader_post.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/replicavedetelor.recipe b/recipes/replicavedetelor.recipe index 460d72ea73..20e8c80220 100644 --- a/recipes/replicavedetelor.recipe +++ b/recipes/replicavedetelor.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/republika.recipe b/recipes/republika.recipe index 02daafbe71..98ff77195b 100644 --- a/recipes/republika.recipe +++ b/recipes/republika.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/revista_bla.recipe b/recipes/revista_bla.recipe index 104f4dc1c8..e03b47d88e 100644 --- a/recipes/revista_bla.recipe +++ b/recipes/revista_bla.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = '2010, Gustavo Azambuja ' diff --git a/recipes/rga.recipe b/recipes/rga.recipe index 7e5f3a5e1f..1d968edd7b 100644 --- a/recipes/rga.recipe +++ b/recipes/rga.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, W. Gerard ' diff --git a/recipes/rmf24_ESKN.recipe b/recipes/rmf24_ESKN.recipe index 281f3a4c65..c43a216e2d 100644 --- a/recipes/rmf24_ESKN.recipe +++ b/recipes/rmf24_ESKN.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2010, Tomasz Dlugosz ' diff --git a/recipes/rmf24_fakty.recipe b/recipes/rmf24_fakty.recipe index c6a4aacae6..d7809314e5 100644 --- a/recipes/rmf24_fakty.recipe +++ b/recipes/rmf24_fakty.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2010, Tomasz Dlugosz ' diff --git a/recipes/rmf24_opinie.recipe b/recipes/rmf24_opinie.recipe index d55fe60045..eb5391a746 100644 --- a/recipes/rmf24_opinie.recipe +++ b/recipes/rmf24_opinie.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2010, Tomasz Dlugosz ' diff --git a/recipes/romanialibera.recipe b/recipes/romanialibera.recipe index f77749af9f..667013bf6f 100644 --- a/recipes/romanialibera.recipe +++ b/recipes/romanialibera.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/roskildelokalavisen_dk.recipe b/recipes/roskildelokalavisen_dk.recipe index fe06f9704e..9aa6ad7dd0 100644 --- a/recipes/roskildelokalavisen_dk.recipe +++ b/recipes/roskildelokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/rts.recipe b/recipes/rts.recipe index 2d42bea682..09293b8653 100644 --- a/recipes/rts.recipe +++ b/recipes/rts.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/rudersdallokalavisen_dk.recipe b/recipes/rudersdallokalavisen_dk.recipe index 3761652c1e..9f1949a71e 100644 --- a/recipes/rudersdallokalavisen_dk.recipe +++ b/recipes/rudersdallokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/rushisaband.recipe b/recipes/rushisaband.recipe index 15ec3bcfb6..1df8174a8b 100644 --- a/recipes/rushisaband.recipe +++ b/recipes/rushisaband.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'MrStefan ' diff --git a/recipes/rynek_infrastruktury.recipe b/recipes/rynek_infrastruktury.recipe index d020d4d407..6c981640b6 100644 --- a/recipes/rynek_infrastruktury.recipe +++ b/recipes/rynek_infrastruktury.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'teepel ' diff --git a/recipes/sa_gazeta.recipe b/recipes/sa_gazeta.recipe index 3e97fb6429..bd067c980d 100644 --- a/recipes/sa_gazeta.recipe +++ b/recipes/sa_gazeta.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import AutomaticNewsRecipe diff --git a/recipes/salon.recipe b/recipes/salon.recipe index 915119dc09..9a47299b91 100644 --- a/recipes/salon.recipe +++ b/recipes/salon.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/san_fran_chronicle.recipe b/recipes/san_fran_chronicle.recipe index a4fc0f8849..20d9d21af6 100644 --- a/recipes/san_fran_chronicle.recipe +++ b/recipes/san_fran_chronicle.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008, Darko Miletic ' diff --git a/recipes/sanjosemercurynews.recipe b/recipes/sanjosemercurynews.recipe index 006c3e81e2..ddb96cb9e8 100644 --- a/recipes/sanjosemercurynews.recipe +++ b/recipes/sanjosemercurynews.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/saskatoon_star_phoenix.recipe b/recipes/saskatoon_star_phoenix.recipe index f69e358e01..27961f1259 100644 --- a/recipes/saskatoon_star_phoenix.recipe +++ b/recipes/saskatoon_star_phoenix.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/satkurier.recipe b/recipes/satkurier.recipe index d67844c8cd..4f9cce30c6 100644 --- a/recipes/satkurier.recipe +++ b/recipes/satkurier.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' diff --git a/recipes/satmagazine.recipe b/recipes/satmagazine.recipe index 1c134dda09..71b6b14c3a 100644 --- a/recipes/satmagazine.recipe +++ b/recipes/satmagazine.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python ## # Title: SatMagazine ## diff --git a/recipes/sb_nation.recipe b/recipes/sb_nation.recipe index 672ffa9585..00b33ecefa 100644 --- a/recipes/sb_nation.recipe +++ b/recipes/sb_nation.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = 'Zotzo' diff --git a/recipes/science_advances.recipe b/recipes/science_advances.recipe index 9fc4065374..9bece8b125 100644 --- a/recipes/science_advances.recipe +++ b/recipes/science_advances.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/science_based_medicine.recipe b/recipes/science_based_medicine.recipe index 18e2015d9e..2e187a1765 100644 --- a/recipes/science_based_medicine.recipe +++ b/recipes/science_based_medicine.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/science_news.recipe b/recipes/science_news.recipe index e39bc95ff1..dd594d8c4a 100644 --- a/recipes/science_news.recipe +++ b/recipes/science_news.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' ''' diff --git a/recipes/science_news_recent_issues.recipe b/recipes/science_news_recent_issues.recipe index 8f8328f6f3..ad9ca94dfd 100644 --- a/recipes/science_news_recent_issues.recipe +++ b/recipes/science_news_recent_issues.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' ''' diff --git a/recipes/sciencedaily.recipe b/recipes/sciencedaily.recipe index 74de16a3ac..ee2dae291e 100644 --- a/recipes/sciencedaily.recipe +++ b/recipes/sciencedaily.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008-2017, Darko Miletic ' ''' diff --git a/recipes/scientific_american.recipe b/recipes/scientific_american.recipe index 9e5ec483da..1acad5a74e 100644 --- a/recipes/scientific_american.recipe +++ b/recipes/scientific_american.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/scott_hanselman.recipe b/recipes/scott_hanselman.recipe index f5acc50401..711258ddac 100644 --- a/recipes/scott_hanselman.recipe +++ b/recipes/scott_hanselman.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/seanhannity.recipe b/recipes/seanhannity.recipe index 641767e63c..01a5f45dcb 100644 --- a/recipes/seanhannity.recipe +++ b/recipes/seanhannity.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from calibre.web.feeds.recipes import BasicNewsRecipe diff --git a/recipes/seattle_times.recipe b/recipes/seattle_times.recipe index 8a5f8e8bb5..fdd9b24022 100644 --- a/recipes/seattle_times.recipe +++ b/recipes/seattle_times.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/serverside.recipe b/recipes/serverside.recipe index cd24653131..1caa05e33d 100644 --- a/recipes/serverside.recipe +++ b/recipes/serverside.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Rick Kellogg' diff --git a/recipes/sfin.recipe b/recipes/sfin.recipe index a4187a6408..8411bb37b8 100644 --- a/recipes/sfin.recipe +++ b/recipes/sfin.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/skanderborglokalavisen_dk.recipe b/recipes/skanderborglokalavisen_dk.recipe index 0829d2f8fa..81b35732f4 100644 --- a/recipes/skanderborglokalavisen_dk.recipe +++ b/recipes/skanderborglokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/slashdot.recipe b/recipes/slashdot.recipe index 81754329f4..4956e5af5e 100644 --- a/recipes/slashdot.recipe +++ b/recipes/slashdot.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/recipes/slate.recipe b/recipes/slate.recipe index 741630fddd..7c525520ff 100644 --- a/recipes/slate.recipe +++ b/recipes/slate.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __copyright__ = '2008, Kovid Goyal ' __license__ = 'GPL v3' diff --git a/recipes/slate_star_codex.recipe b/recipes/slate_star_codex.recipe index 1647422031..ac484a2266 100644 --- a/recipes/slate_star_codex.recipe +++ b/recipes/slate_star_codex.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from calibre.web.feeds.news import BasicNewsRecipe import re diff --git a/recipes/sn_dk.recipe b/recipes/sn_dk.recipe index 440a7402ab..21ff28c994 100644 --- a/recipes/sn_dk.recipe +++ b/recipes/sn_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/socialdiva.recipe b/recipes/socialdiva.recipe index 1443a49115..9ad6997361 100644 --- a/recipes/socialdiva.recipe +++ b/recipes/socialdiva.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/soenderborglokalavisen_dk.recipe b/recipes/soenderborglokalavisen_dk.recipe index fe5e0e5de2..bb6b287b2d 100644 --- a/recipes/soenderborglokalavisen_dk.recipe +++ b/recipes/soenderborglokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/sondagsavisen_dk.recipe b/recipes/sondagsavisen_dk.recipe index f219055e36..fa78dc1adf 100644 --- a/recipes/sondagsavisen_dk.recipe +++ b/recipes/sondagsavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/southernstar.recipe b/recipes/southernstar.recipe index bab9e7caad..ae9ffe9f05 100644 --- a/recipes/southernstar.recipe +++ b/recipes/southernstar.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2012, watou' diff --git a/recipes/spektrum.recipe b/recipes/spektrum.recipe index 977bb29e8b..44abddd3e5 100644 --- a/recipes/spektrum.recipe +++ b/recipes/spektrum.recipe @@ -1,4 +1,4 @@ -##!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 ## # Written: October 2012 (new coding) diff --git a/recipes/spiegelde.recipe b/recipes/spiegelde.recipe index 7e7ee6c167..259566d061 100644 --- a/recipes/spiegelde.recipe +++ b/recipes/spiegelde.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # License: 'CC-BY-4.0' # Copyright: '2019, vohe Based on the recipe by Darko Miletic ' from datetime import datetime diff --git a/recipes/sportowefakty.recipe b/recipes/sportowefakty.recipe index 898fc1a110..1fa447dad1 100644 --- a/recipes/sportowefakty.recipe +++ b/recipes/sportowefakty.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' diff --git a/recipes/sports_illustrated.recipe b/recipes/sports_illustrated.recipe index 05e059b769..88adc2f25d 100644 --- a/recipes/sports_illustrated.recipe +++ b/recipes/sports_illustrated.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2018, Kovid Goyal diff --git a/recipes/sporza_be.recipe b/recipes/sporza_be.recipe index 3b9d2eb6c5..ae01107aba 100644 --- a/recipes/sporza_be.recipe +++ b/recipes/sporza_be.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/stackoverflow.recipe b/recipes/stackoverflow.recipe index 285e141b42..c3eb1dcc68 100644 --- a/recipes/stackoverflow.recipe +++ b/recipes/stackoverflow.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/standardmoney.recipe b/recipes/standardmoney.recipe index 1f1f1cbe11..f28ee28ca8 100644 --- a/recipes/standardmoney.recipe +++ b/recipes/standardmoney.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/stiintasitehnica.recipe b/recipes/stiintasitehnica.recipe index 315241be01..56cbae20ed 100644 --- a/recipes/stiintasitehnica.recipe +++ b/recipes/stiintasitehnica.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/strange_horizons.recipe b/recipes/strange_horizons.recipe index 2c295a821b..200b2e61d3 100644 --- a/recipes/strange_horizons.recipe +++ b/recipes/strange_horizons.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from collections import OrderedDict diff --git a/recipes/superbebe.recipe b/recipes/superbebe.recipe index 80575499f8..491cad033a 100644 --- a/recipes/superbebe.recipe +++ b/recipes/superbebe.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/swiatkindle.recipe b/recipes/swiatkindle.recipe index ae2c4615ce..e51c47d12e 100644 --- a/recipes/swiatkindle.recipe +++ b/recipes/swiatkindle.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Tomasz Dlugosz ' diff --git a/recipes/syddjurslokalavisen_dk.recipe b/recipes/syddjurslokalavisen_dk.recipe index 021d33a0ee..0a11637b0d 100644 --- a/recipes/syddjurslokalavisen_dk.recipe +++ b/recipes/syddjurslokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/tabu.recipe b/recipes/tabu.recipe index 4258b71ea7..41e71c24ae 100644 --- a/recipes/tabu.recipe +++ b/recipes/tabu.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/tagesspiegel.recipe b/recipes/tagesspiegel.recipe index f57639db1a..004799f8d7 100644 --- a/recipes/tagesspiegel.recipe +++ b/recipes/tagesspiegel.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/recipes/taz.recipe b/recipes/taz.recipe index a4d97b067c..74a57af9cd 100644 --- a/recipes/taz.recipe +++ b/recipes/taz.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/tech_world.recipe b/recipes/tech_world.recipe index c6af3ffe02..2be557ab8e 100644 --- a/recipes/tech_world.recipe +++ b/recipes/tech_world.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/technology_review_de.recipe b/recipes/technology_review_de.recipe index 42ab995070..bae4015046 100644 --- a/recipes/technology_review_de.recipe +++ b/recipes/technology_review_de.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/telam.recipe b/recipes/telam.recipe index 7be32dee23..4fa81b0032 100644 --- a/recipes/telam.recipe +++ b/recipes/telam.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- mode: python -*- # -*- coding: utf-8 -*- diff --git a/recipes/telepolis.recipe b/recipes/telepolis.recipe index e521c1f9f0..2ce25c4d6c 100644 --- a/recipes/telepolis.recipe +++ b/recipes/telepolis.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/teleread.recipe b/recipes/teleread.recipe index fb7c35e86c..37580b3297 100644 --- a/recipes/teleread.recipe +++ b/recipes/teleread.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/recipes/the_age.recipe b/recipes/the_age.recipe index c987274892..539f50cfc2 100644 --- a/recipes/the_age.recipe +++ b/recipes/the_age.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Matthew Briggs ' __docformat__ = 'restructuredtext en' diff --git a/recipes/the_budget_fashionista.recipe b/recipes/the_budget_fashionista.recipe index 40c32c8f26..23001a77bd 100644 --- a/recipes/the_budget_fashionista.recipe +++ b/recipes/the_budget_fashionista.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/the_escapist.recipe b/recipes/the_escapist.recipe index 1c8d10b978..fdf7a62e49 100644 --- a/recipes/the_escapist.recipe +++ b/recipes/the_escapist.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini and Tom Surace' __copyright__ = '2009, Lorenzo Vigentini , 2013 Tom Surace ' diff --git a/recipes/the_federalist.recipe b/recipes/the_federalist.recipe index 4334f3a065..89f8cc4317 100644 --- a/recipes/the_federalist.recipe +++ b/recipes/the_federalist.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/recipes/the_insider.recipe b/recipes/the_insider.recipe index 0140711155..f2063cd29e 100644 --- a/recipes/the_insider.recipe +++ b/recipes/the_insider.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/the_oz.recipe b/recipes/the_oz.recipe index 59cc9e3cb5..9b85e1bca8 100644 --- a/recipes/the_oz.recipe +++ b/recipes/the_oz.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Matthew Briggs' __docformat__ = 'restructuredtext en' diff --git a/recipes/thecodelesscode.recipe b/recipes/thecodelesscode.recipe index 261189bda3..38586af523 100644 --- a/recipes/thecodelesscode.recipe +++ b/recipes/thecodelesscode.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from datetime import date from lxml import etree diff --git a/recipes/thedgesingapore.recipe b/recipes/thedgesingapore.recipe index 9277cc297a..be20a26ba6 100644 --- a/recipes/thedgesingapore.recipe +++ b/recipes/thedgesingapore.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/themarketticker.recipe b/recipes/themarketticker.recipe index cf6806c62b..4a5fd1196e 100644 --- a/recipes/themarketticker.recipe +++ b/recipes/themarketticker.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008, Darko Miletic ' diff --git a/recipes/themorningpaper.recipe b/recipes/themorningpaper.recipe index f3e4341b2c..0cf4263873 100644 --- a/recipes/themorningpaper.recipe +++ b/recipes/themorningpaper.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- mode: python -*- # -*- coding: utf-8 -*- diff --git a/recipes/theoldfoodie.recipe b/recipes/theoldfoodie.recipe index e53c6b146b..744ab4d1d3 100644 --- a/recipes/theoldfoodie.recipe +++ b/recipes/theoldfoodie.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/tijd.recipe b/recipes/tijd.recipe index 86eff286c4..20fb4ee23f 100644 --- a/recipes/tijd.recipe +++ b/recipes/tijd.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/time_magazine.recipe b/recipes/time_magazine.recipe index ac8dfcf2d4..32d70ffc98 100644 --- a/recipes/time_magazine.recipe +++ b/recipes/time_magazine.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/recipes/timesnewroman.recipe b/recipes/timesnewroman.recipe index 96be80df9e..8ce8a56f6f 100644 --- a/recipes/timesnewroman.recipe +++ b/recipes/timesnewroman.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/tnxm.recipe b/recipes/tnxm.recipe index c15d845f40..f2b84ca7a0 100644 --- a/recipes/tnxm.recipe +++ b/recipes/tnxm.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Wasabi ' diff --git a/recipes/todays_zaman.recipe b/recipes/todays_zaman.recipe index 87b36762b0..e4149284cc 100644 --- a/recipes/todays_zaman.recipe +++ b/recipes/todays_zaman.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function __license__ = 'GPL v3' diff --git a/recipes/toronto_sun.recipe b/recipes/toronto_sun.recipe index f753858978..7ecacd1f24 100644 --- a/recipes/toronto_sun.recipe +++ b/recipes/toronto_sun.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/trombon.recipe b/recipes/trombon.recipe index 2e56afe7fa..bad8de80ca 100644 --- a/recipes/trombon.recipe +++ b/recipes/trombon.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/trystero.recipe b/recipes/trystero.recipe index 56e3171bd5..bb1f3af19a 100644 --- a/recipes/trystero.recipe +++ b/recipes/trystero.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2013, Tomasz Dlugosz ' diff --git a/recipes/tuttosport.recipe b/recipes/tuttosport.recipe index bb52febc42..805f3355b8 100644 --- a/recipes/tuttosport.recipe +++ b/recipes/tuttosport.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/tv2lorry_dk.recipe b/recipes/tv2lorry_dk.recipe index 9bf25a674d..0ab613cbe1 100644 --- a/recipes/tv2lorry_dk.recipe +++ b/recipes/tv2lorry_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/tv2nord_dk.recipe b/recipes/tv2nord_dk.recipe index 2af9e4b35a..2f5393e8b2 100644 --- a/recipes/tv2nord_dk.recipe +++ b/recipes/tv2nord_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/tv2oj_dk.recipe b/recipes/tv2oj_dk.recipe index fdc871fc26..79832d4f9a 100644 --- a/recipes/tv2oj_dk.recipe +++ b/recipes/tv2oj_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/tveast_dk.recipe b/recipes/tveast_dk.recipe index ecb1a3b567..c63ddae843 100644 --- a/recipes/tveast_dk.recipe +++ b/recipes/tveast_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/tvmania.recipe b/recipes/tvmania.recipe index 65aba81f1c..622ac6cf95 100644 --- a/recipes/tvmania.recipe +++ b/recipes/tvmania.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/tvmidtvest_dk.recipe b/recipes/tvmidtvest_dk.recipe index b4a48b95e9..31a8ebbbb1 100644 --- a/recipes/tvmidtvest_dk.recipe +++ b/recipes/tvmidtvest_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/tvsyd_dk.recipe b/recipes/tvsyd_dk.recipe index 5c94cd922d..f62dc38f6f 100644 --- a/recipes/tvsyd_dk.recipe +++ b/recipes/tvsyd_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/tweakers.recipe b/recipes/tweakers.recipe index 1659430ea1..179e370019 100644 --- a/recipes/tweakers.recipe +++ b/recipes/tweakers.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/recipes/tweakers_net.recipe b/recipes/tweakers_net.recipe index 1c647092c7..2fa3e41280 100644 --- a/recipes/tweakers_net.recipe +++ b/recipes/tweakers_net.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/recipes/tyzden.recipe b/recipes/tyzden.recipe index ca4369b08c..838ddf6965 100644 --- a/recipes/tyzden.recipe +++ b/recipes/tyzden.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # # Copyright 2014 - 2017 Martin Račák diff --git a/recipes/uncrate.recipe b/recipes/uncrate.recipe index cb174b8892..111a8e4084 100644 --- a/recipes/uncrate.recipe +++ b/recipes/uncrate.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/unica.recipe b/recipes/unica.recipe index dbb8dddfd4..9f1a117ae5 100644 --- a/recipes/unica.recipe +++ b/recipes/unica.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/upi.recipe b/recipes/upi.recipe index b9e7749d7e..cf376a79e3 100644 --- a/recipes/upi.recipe +++ b/recipes/upi.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/recipes/usatoday.recipe b/recipes/usatoday.recipe index 3e628ee6a5..a3ca70d14c 100644 --- a/recipes/usatoday.recipe +++ b/recipes/usatoday.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' diff --git a/recipes/usnews.recipe b/recipes/usnews.recipe index a1943a955f..52055d80fb 100644 --- a/recipes/usnews.recipe +++ b/recipes/usnews.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/utrinski.recipe b/recipes/utrinski.recipe index 3c0c351979..571d8aad17 100644 --- a/recipes/utrinski.recipe +++ b/recipes/utrinski.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __author__ = 'Darko Spasovski' __license__ = 'GPL v3' diff --git a/recipes/valbybladet_dk.recipe b/recipes/valbybladet_dk.recipe index d65b441344..bfda08d0bc 100644 --- a/recipes/valbybladet_dk.recipe +++ b/recipes/valbybladet_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/vancouver_province.recipe b/recipes/vancouver_province.recipe index 78082c1046..8d3f0b635b 100644 --- a/recipes/vancouver_province.recipe +++ b/recipes/vancouver_province.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function __license__ = 'GPL v3' diff --git a/recipes/vancouver_sun.recipe b/recipes/vancouver_sun.recipe index cd1c4a0e48..1e665f66e0 100644 --- a/recipes/vancouver_sun.recipe +++ b/recipes/vancouver_sun.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function __license__ = 'GPL v3' diff --git a/recipes/vanloesebladet_dk.recipe b/recipes/vanloesebladet_dk.recipe index 5f738895f7..99e049a0c9 100644 --- a/recipes/vanloesebladet_dk.recipe +++ b/recipes/vanloesebladet_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/vardelokalavisen_dk.recipe b/recipes/vardelokalavisen_dk.recipe index cd2c374d93..ae7ab93ff3 100644 --- a/recipes/vardelokalavisen_dk.recipe +++ b/recipes/vardelokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/vecernji_list.recipe b/recipes/vecernji_list.recipe index 95a7a0cc70..4f3ea718d9 100644 --- a/recipes/vecernji_list.recipe +++ b/recipes/vecernji_list.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/veintitres.recipe b/recipes/veintitres.recipe index a3f3618954..622e52f530 100644 --- a/recipes/veintitres.recipe +++ b/recipes/veintitres.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/vejlelokalavisen_dk.recipe b/recipes/vejlelokalavisen_dk.recipe index 50d8523d18..9484c31705 100644 --- a/recipes/vejlelokalavisen_dk.recipe +++ b/recipes/vejlelokalavisen_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/vesterbrobladet_dk.recipe b/recipes/vesterbrobladet_dk.recipe index 404ddf3996..765b7a907f 100644 --- a/recipes/vesterbrobladet_dk.recipe +++ b/recipes/vesterbrobladet_dk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # https://manual.calibre-ebook.com/news_recipe.html from __future__ import unicode_literals, division, absolute_import, print_function diff --git a/recipes/vic_times.recipe b/recipes/vic_times.recipe index 7e25596c0a..53284bffe6 100644 --- a/recipes/vic_times.recipe +++ b/recipes/vic_times.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function __license__ = 'GPL v3' diff --git a/recipes/villagevoice.recipe b/recipes/villagevoice.recipe index dd41b1375d..36841a1ee1 100644 --- a/recipes/villagevoice.recipe +++ b/recipes/villagevoice.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python import re from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/viva.recipe b/recipes/viva.recipe index e7807b2bf8..8a7261e8e7 100644 --- a/recipes/viva.recipe +++ b/recipes/viva.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/vnexpress.recipe b/recipes/vnexpress.recipe index b709f451ba..9137ba2650 100644 --- a/recipes/vnexpress.recipe +++ b/recipes/vnexpress.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Huan Komrade T ' diff --git a/recipes/voetbal_belgie.recipe b/recipes/voetbal_belgie.recipe index befeb8de54..fae051a038 100644 --- a/recipes/voetbal_belgie.recipe +++ b/recipes/voetbal_belgie.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/wallstreetro.recipe b/recipes/wallstreetro.recipe index 0e09dcd311..b6142e6370 100644 --- a/recipes/wallstreetro.recipe +++ b/recipes/wallstreetro.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/wash_times.recipe b/recipes/wash_times.recipe index 61ccdc9f9d..602338fc9c 100644 --- a/recipes/wash_times.recipe +++ b/recipes/wash_times.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/recipes/welt_der_physik.recipe b/recipes/welt_der_physik.recipe index 610a836b5c..db97fdaf76 100644 --- a/recipes/welt_der_physik.recipe +++ b/recipes/welt_der_physik.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' diff --git a/recipes/wenxuecity-znjy.recipe b/recipes/wenxuecity-znjy.recipe index 031175812e..b76aa8ac2c 100644 --- a/recipes/wenxuecity-znjy.recipe +++ b/recipes/wenxuecity-znjy.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, Derek Liang ' diff --git a/recipes/wikinews_en.recipe b/recipes/wikinews_en.recipe index b62ac2d165..7c8fc06900 100644 --- a/recipes/wikinews_en.recipe +++ b/recipes/wikinews_en.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/windows_star.recipe b/recipes/windows_star.recipe index fd17918911..e5853e71a3 100644 --- a/recipes/windows_star.recipe +++ b/recipes/windows_star.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' diff --git a/recipes/windsor_star.recipe b/recipes/windsor_star.recipe index acd3068a74..833663af4a 100644 --- a/recipes/windsor_star.recipe +++ b/recipes/windsor_star.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/wolne_media.recipe b/recipes/wolne_media.recipe index 79cb1f9f7a..c59cb08184 100644 --- a/recipes/wolne_media.recipe +++ b/recipes/wolne_media.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __author__ = 'teepel ' diff --git a/recipes/wsj.recipe b/recipes/wsj.recipe index 55820d1286..ed7b28738f 100644 --- a/recipes/wsj.recipe +++ b/recipes/wsj.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/recipes/wsj_free.recipe b/recipes/wsj_free.recipe index bb66d760ec..a415dcf225 100644 --- a/recipes/wsj_free.recipe +++ b/recipes/wsj_free.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/recipes/wvhooligan.recipe b/recipes/wvhooligan.recipe index 9b1e1f989b..96a2c48e9c 100644 --- a/recipes/wvhooligan.recipe +++ b/recipes/wvhooligan.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL 3' __copyright__ = 'zotzo' __docformat__ = 'restructuredtext en' diff --git a/recipes/yalansavar.recipe b/recipes/yalansavar.recipe index 67468deff6..24decee3ee 100644 --- a/recipes/yalansavar.recipe +++ b/recipes/yalansavar.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import AutomaticNewsRecipe diff --git a/recipes/zadolba_li.recipe b/recipes/zadolba_li.recipe index 372fd3bc41..aec4864e4d 100644 --- a/recipes/zadolba_li.recipe +++ b/recipes/zadolba_li.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/zaobao.recipe b/recipes/zaobao.recipe index 8ab6acbe4d..40a00bd8d0 100644 --- a/recipes/zaobao.recipe +++ b/recipes/zaobao.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Pu Bo ' diff --git a/recipes/zaxid_net.recipe b/recipes/zaxid_net.recipe index cbc489dac7..b52db53632 100644 --- a/recipes/zaxid_net.recipe +++ b/recipes/zaxid_net.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/zeitde_sub.recipe b/recipes/zeitde_sub.recipe index 80419f2086..3563d9f092 100644 --- a/recipes/zeitde_sub.recipe +++ b/recipes/zeitde_sub.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 mode: python -*- from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/recipes/ziarulfinanciar.recipe b/recipes/ziarulfinanciar.recipe index 047457aed2..ab978649dd 100644 --- a/recipes/ziarulfinanciar.recipe +++ b/recipes/ziarulfinanciar.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/zita_be.recipe b/recipes/zita_be.recipe index 40477f28ea..9967f08acd 100644 --- a/recipes/zita_be.recipe +++ b/recipes/zita_be.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/ziuaveche.recipe b/recipes/ziuaveche.recipe index e1266d80e8..65b3a965de 100644 --- a/recipes/ziuaveche.recipe +++ b/recipes/ziuaveche.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/zycie_warszawy.recipe b/recipes/zycie_warszawy.recipe index e9cf3d2438..a983eea9b6 100644 --- a/recipes/zycie_warszawy.recipe +++ b/recipes/zycie_warszawy.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/resources/default_tweaks.py b/resources/default_tweaks.py index d07a09297a..d3232c4b31 100644 --- a/resources/default_tweaks.py +++ b/resources/default_tweaks.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # License: GPLv3 Copyright: 2010, Kovid Goyal from __future__ import unicode_literals diff --git a/session.vim b/session.vim index 72524681e5..34062ff947 100644 --- a/session.vim +++ b/session.vim @@ -3,7 +3,6 @@ let g:project_tags_dirs = ['src/calibre'] " Include directories for C++ modules let g:syntastic_cpp_include_dirs = [ - \'/usr/include/python2.7', \'/usr/include/podofo', \'/usr/include/qt/QtCore', \'/usr/include/qt/QtGui', diff --git a/setup.py b/setup.py index ba9a734596..64f52484ba 100755 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import print_function diff --git a/setup/__init__.py b/setup/__init__.py index f312ffb048..d1c1a0c854 100644 --- a/setup/__init__.py +++ b/setup/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement, print_function diff --git a/setup/browser_data.py b/setup/browser_data.py index 5ced6033cf..b8ea77b941 100644 --- a/setup/browser_data.py +++ b/setup/browser_data.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/setup/build.py b/setup/build.py index 8daa96b3fa..adf173bb53 100644 --- a/setup/build.py +++ b/setup/build.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement from __future__ import print_function diff --git a/setup/build_environment.py b/setup/build_environment.py index fce7ff40bb..b4dacb013f 100644 --- a/setup/build_environment.py +++ b/setup/build_environment.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement, print_function diff --git a/setup/check.py b/setup/check.py index fa99c33c76..b6635a3403 100644 --- a/setup/check.py +++ b/setup/check.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement @@ -74,10 +74,8 @@ class Check(Command): def file_has_errors(self, f): ext = os.path.splitext(f)[1] if ext in {'.py', '.recipe'}: - p1 = subprocess.Popen(['flake8-python2', '--filename', '*.py,*.recipe', f]) p2 = subprocess.Popen(['flake8', '--filename', '*.py,*.recipe', f]) - codes = p1.wait(), p2.wait() - return codes != (0, 0) + return p2.wait() != 0 if ext == '.pyj': p = subprocess.Popen(['rapydscript', 'lint', f]) return p.wait() != 0 diff --git a/setup/commands.py b/setup/commands.py index 402e1f394e..a95c6403e6 100644 --- a/setup/commands.py +++ b/setup/commands.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/setup/file-hosting-bw.py b/setup/file-hosting-bw.py index cfe4eccf03..75238b246b 100644 --- a/setup/file-hosting-bw.py +++ b/setup/file-hosting-bw.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/setup/git_version.py b/setup/git_version.py index 5b8911f1d9..c8f1ead1c3 100755 --- a/setup/git_version.py +++ b/setup/git_version.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2019, Eli Schwartz diff --git a/setup/gui.py b/setup/gui.py index ac08e3c0fc..2a0c1ecf24 100644 --- a/setup/gui.py +++ b/setup/gui.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/setup/install.py b/setup/install.py index dc89c9fc3f..852bbdc385 100644 --- a/setup/install.py +++ b/setup/install.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # License: GPLv3 Copyright: 2009, Kovid Goyal diff --git a/setup/installers.py b/setup/installers.py index 00f7bfc24a..65d6ad8ab7 100644 --- a/setup/installers.py +++ b/setup/installers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/setup/linux-installer.py b/setup/linux-installer.py index f0c529edc3..03d573cef6 100644 --- a/setup/linux-installer.py +++ b/setup/linux-installer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2009, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/setup/linux-installer.sh b/setup/linux-installer.sh index e0ffffaed8..065c593991 100644 --- a/setup/linux-installer.sh +++ b/setup/linux-installer.sh @@ -47,7 +47,7 @@ echo Using python executable: $PYTHON $PYTHON -c "import sys; script_launch=lambda:sys.exit('Download of installer failed!'); exec(sys.stdin.read()); script_launch()" "$@" <<'CALIBRE_LINUX_INSTALLER_HEREDOC' # {{{ # HEREDOC_START -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2009, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/setup/mathjax.py b/setup/mathjax.py index e910de5630..3b02ba5df3 100644 --- a/setup/mathjax.py +++ b/setup/mathjax.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/setup/parallel_build.py b/setup/parallel_build.py index 9af563dbf5..d6bd5c63a2 100644 --- a/setup/parallel_build.py +++ b/setup/parallel_build.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/setup/plugins_mirror.py b/setup/plugins_mirror.py index 877a4c7a56..fea2f84007 100644 --- a/setup/plugins_mirror.py +++ b/setup/plugins_mirror.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2013, Kovid Goyal # Imports {{{ diff --git a/setup/publish.py b/setup/publish.py index a12dcb9f0f..50e593722b 100644 --- a/setup/publish.py +++ b/setup/publish.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement from __future__ import print_function diff --git a/setup/resources.py b/setup/resources.py index a68fac5b99..053b8a00e2 100644 --- a/setup/resources.py +++ b/setup/resources.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement, print_function diff --git a/setup/run-calibre-worker.py b/setup/run-calibre-worker.py index 751717bae8..92bbef855f 100644 --- a/setup/run-calibre-worker.py +++ b/setup/run-calibre-worker.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/setup/test.py b/setup/test.py index 1fc075250f..10f28f7001 100644 --- a/setup/test.py +++ b/setup/test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/setup/translations.py b/setup/translations.py index 8ffbeea684..52c1ad3df3 100644 --- a/setup/translations.py +++ b/setup/translations.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement, print_function diff --git a/setup/upload.py b/setup/upload.py index f0d04bedea..7e4f022d6f 100644 --- a/setup/upload.py +++ b/setup/upload.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import print_function diff --git a/setup/vcvars.py b/setup/vcvars.py index 429dbb552e..7fa3b0fb50 100644 --- a/setup/vcvars.py +++ b/setup/vcvars.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/setup/win-ci.py b/setup/win-ci.py index eb351f70dc..62a2ca34c4 100644 --- a/setup/win-ci.py +++ b/setup/win-ci.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/src/backports/functools_lru_cache.py b/src/backports/functools_lru_cache.py index dc9ccb3866..cf53cd4110 100644 --- a/src/backports/functools_lru_cache.py +++ b/src/backports/functools_lru_cache.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Kovid Goyal diff --git a/src/calibre/constants.py b/src/calibre/constants.py index f4292c7e9e..0d1944ff96 100644 --- a/src/calibre/constants.py +++ b/src/calibre/constants.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal from __future__ import print_function, unicode_literals diff --git a/src/calibre/customize/zipplugin.py b/src/calibre/customize/zipplugin.py index 1ed5020c92..8f73d1d9ad 100644 --- a/src/calibre/customize/zipplugin.py +++ b/src/calibre/customize/zipplugin.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/__init__.py b/src/calibre/db/__init__.py index a35861523c..daef9300aa 100644 --- a/src/calibre/db/__init__.py +++ b/src/calibre/db/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/adding.py b/src/calibre/db/adding.py index eea53810e1..73da7b52ec 100644 --- a/src/calibre/db/adding.py +++ b/src/calibre/db/adding.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/backend.py b/src/calibre/db/backend.py index 3d727033b4..999e26a921 100644 --- a/src/calibre/db/backend.py +++ b/src/calibre/db/backend.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/backup.py b/src/calibre/db/backup.py index 53b730cbe9..4acf367089 100644 --- a/src/calibre/db/backup.py +++ b/src/calibre/db/backup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/cache.py b/src/calibre/db/cache.py index a26a198b75..b7d1b15675 100644 --- a/src/calibre/db/cache.py +++ b/src/calibre/db/cache.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/categories.py b/src/calibre/db/categories.py index 47804e56b7..c3c682e92b 100644 --- a/src/calibre/db/categories.py +++ b/src/calibre/db/categories.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/cli/__init__.py b/src/calibre/db/cli/__init__.py index f74cad64d9..0df30da4ca 100644 --- a/src/calibre/db/cli/__init__.py +++ b/src/calibre/db/cli/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/db/cli/cmd_add.py b/src/calibre/db/cli/cmd_add.py index b962b1ebc6..dcb5bfb93c 100644 --- a/src/calibre/db/cli/cmd_add.py +++ b/src/calibre/db/cli/cmd_add.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/db/cli/cmd_add_custom_column.py b/src/calibre/db/cli/cmd_add_custom_column.py index 3cad3997a1..46514d0c27 100644 --- a/src/calibre/db/cli/cmd_add_custom_column.py +++ b/src/calibre/db/cli/cmd_add_custom_column.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/db/cli/cmd_add_format.py b/src/calibre/db/cli/cmd_add_format.py index 5107c6fcbf..b47e37e0af 100644 --- a/src/calibre/db/cli/cmd_add_format.py +++ b/src/calibre/db/cli/cmd_add_format.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/db/cli/cmd_backup_metadata.py b/src/calibre/db/cli/cmd_backup_metadata.py index be7673237f..3660e89cbd 100644 --- a/src/calibre/db/cli/cmd_backup_metadata.py +++ b/src/calibre/db/cli/cmd_backup_metadata.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/db/cli/cmd_catalog.py b/src/calibre/db/cli/cmd_catalog.py index 27cfa5984c..5325707b79 100644 --- a/src/calibre/db/cli/cmd_catalog.py +++ b/src/calibre/db/cli/cmd_catalog.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/db/cli/cmd_check_library.py b/src/calibre/db/cli/cmd_check_library.py index 270db5e4e4..216bb7bfe1 100644 --- a/src/calibre/db/cli/cmd_check_library.py +++ b/src/calibre/db/cli/cmd_check_library.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/db/cli/cmd_clone.py b/src/calibre/db/cli/cmd_clone.py index a481afd499..70f821ca55 100644 --- a/src/calibre/db/cli/cmd_clone.py +++ b/src/calibre/db/cli/cmd_clone.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/db/cli/cmd_custom_columns.py b/src/calibre/db/cli/cmd_custom_columns.py index b8c54bad2c..ae2e209c5e 100644 --- a/src/calibre/db/cli/cmd_custom_columns.py +++ b/src/calibre/db/cli/cmd_custom_columns.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/db/cli/cmd_embed_metadata.py b/src/calibre/db/cli/cmd_embed_metadata.py index 0be1bc81b9..2de056f0d9 100644 --- a/src/calibre/db/cli/cmd_embed_metadata.py +++ b/src/calibre/db/cli/cmd_embed_metadata.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/db/cli/cmd_export.py b/src/calibre/db/cli/cmd_export.py index e32295f2a4..ff72595d4b 100644 --- a/src/calibre/db/cli/cmd_export.py +++ b/src/calibre/db/cli/cmd_export.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/db/cli/cmd_list.py b/src/calibre/db/cli/cmd_list.py index edd5712555..4e66333c2d 100644 --- a/src/calibre/db/cli/cmd_list.py +++ b/src/calibre/db/cli/cmd_list.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/db/cli/cmd_list_categories.py b/src/calibre/db/cli/cmd_list_categories.py index a17f3f9ef2..a858c61588 100644 --- a/src/calibre/db/cli/cmd_list_categories.py +++ b/src/calibre/db/cli/cmd_list_categories.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/db/cli/cmd_remove.py b/src/calibre/db/cli/cmd_remove.py index 8f16b48401..0477b4ce4b 100644 --- a/src/calibre/db/cli/cmd_remove.py +++ b/src/calibre/db/cli/cmd_remove.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/db/cli/cmd_remove_custom_column.py b/src/calibre/db/cli/cmd_remove_custom_column.py index e2d37c7437..451caa57a8 100644 --- a/src/calibre/db/cli/cmd_remove_custom_column.py +++ b/src/calibre/db/cli/cmd_remove_custom_column.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/db/cli/cmd_remove_format.py b/src/calibre/db/cli/cmd_remove_format.py index 57d6bd70b1..0661519169 100644 --- a/src/calibre/db/cli/cmd_remove_format.py +++ b/src/calibre/db/cli/cmd_remove_format.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/db/cli/cmd_restore_database.py b/src/calibre/db/cli/cmd_restore_database.py index 18eb117127..91bb9827e0 100644 --- a/src/calibre/db/cli/cmd_restore_database.py +++ b/src/calibre/db/cli/cmd_restore_database.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/db/cli/cmd_saved_searches.py b/src/calibre/db/cli/cmd_saved_searches.py index b06585d48e..d87d3516d7 100644 --- a/src/calibre/db/cli/cmd_saved_searches.py +++ b/src/calibre/db/cli/cmd_saved_searches.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/db/cli/cmd_search.py b/src/calibre/db/cli/cmd_search.py index f07087352e..685689cb68 100644 --- a/src/calibre/db/cli/cmd_search.py +++ b/src/calibre/db/cli/cmd_search.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/db/cli/cmd_set_custom.py b/src/calibre/db/cli/cmd_set_custom.py index 819e8d5534..7e7841a0d5 100644 --- a/src/calibre/db/cli/cmd_set_custom.py +++ b/src/calibre/db/cli/cmd_set_custom.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/db/cli/cmd_set_metadata.py b/src/calibre/db/cli/cmd_set_metadata.py index fb3b190806..708ffd9bca 100644 --- a/src/calibre/db/cli/cmd_set_metadata.py +++ b/src/calibre/db/cli/cmd_set_metadata.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/db/cli/cmd_show_metadata.py b/src/calibre/db/cli/cmd_show_metadata.py index 08239cd9b8..7cb2cc4153 100644 --- a/src/calibre/db/cli/cmd_show_metadata.py +++ b/src/calibre/db/cli/cmd_show_metadata.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/db/cli/main.py b/src/calibre/db/cli/main.py index e82aed6845..312b303f7d 100644 --- a/src/calibre/db/cli/main.py +++ b/src/calibre/db/cli/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/db/cli/tests.py b/src/calibre/db/cli/tests.py index a49d69bcfc..98b8775ed3 100644 --- a/src/calibre/db/cli/tests.py +++ b/src/calibre/db/cli/tests.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/cli/utils.py b/src/calibre/db/cli/utils.py index 56eb5f15ea..ec64af4349 100644 --- a/src/calibre/db/cli/utils.py +++ b/src/calibre/db/cli/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/db/copy_to_library.py b/src/calibre/db/copy_to_library.py index 0a5b18f453..6896f93c15 100644 --- a/src/calibre/db/copy_to_library.py +++ b/src/calibre/db/copy_to_library.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Kovid Goyal diff --git a/src/calibre/db/delete_service.py b/src/calibre/db/delete_service.py index 4a10e8ca59..8b984f41c4 100644 --- a/src/calibre/db/delete_service.py +++ b/src/calibre/db/delete_service.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/errors.py b/src/calibre/db/errors.py index c535826d2e..616f86f0e7 100644 --- a/src/calibre/db/errors.py +++ b/src/calibre/db/errors.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/fields.py b/src/calibre/db/fields.py index ec82a90b7b..94bf61dbd7 100644 --- a/src/calibre/db/fields.py +++ b/src/calibre/db/fields.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/lazy.py b/src/calibre/db/lazy.py index 5c405e01a4..dbc6584174 100644 --- a/src/calibre/db/lazy.py +++ b/src/calibre/db/lazy.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/legacy.py b/src/calibre/db/legacy.py index fa1f96d77e..7a420e0295 100644 --- a/src/calibre/db/legacy.py +++ b/src/calibre/db/legacy.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/locking.py b/src/calibre/db/locking.py index 2978fd9e7b..52e9c954a6 100644 --- a/src/calibre/db/locking.py +++ b/src/calibre/db/locking.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/restore.py b/src/calibre/db/restore.py index 83e1b42887..c3d7003807 100644 --- a/src/calibre/db/restore.py +++ b/src/calibre/db/restore.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import unicode_literals diff --git a/src/calibre/db/schema_upgrades.py b/src/calibre/db/schema_upgrades.py index f4ff8523c4..ab849ca189 100644 --- a/src/calibre/db/schema_upgrades.py +++ b/src/calibre/db/schema_upgrades.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/search.py b/src/calibre/db/search.py index 7243f33771..e73633baeb 100644 --- a/src/calibre/db/search.py +++ b/src/calibre/db/search.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/tables.py b/src/calibre/db/tables.py index fe996d0652..d203a423b9 100644 --- a/src/calibre/db/tables.py +++ b/src/calibre/db/tables.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/tests/__init__.py b/src/calibre/db/tests/__init__.py index 1b26a78776..ec9ca8ff95 100644 --- a/src/calibre/db/tests/__init__.py +++ b/src/calibre/db/tests/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/tests/add_remove.py b/src/calibre/db/tests/add_remove.py index a985d722d3..803fc5edc0 100644 --- a/src/calibre/db/tests/add_remove.py +++ b/src/calibre/db/tests/add_remove.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/tests/base.py b/src/calibre/db/tests/base.py index a6fc11ae25..388b9df244 100644 --- a/src/calibre/db/tests/base.py +++ b/src/calibre/db/tests/base.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/tests/filesystem.py b/src/calibre/db/tests/filesystem.py index 2525572565..7df945fc11 100644 --- a/src/calibre/db/tests/filesystem.py +++ b/src/calibre/db/tests/filesystem.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/tests/legacy.py b/src/calibre/db/tests/legacy.py index eac7c87194..5f5af062e5 100644 --- a/src/calibre/db/tests/legacy.py +++ b/src/calibre/db/tests/legacy.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/tests/locking.py b/src/calibre/db/tests/locking.py index ea216f3c61..b0ba047153 100644 --- a/src/calibre/db/tests/locking.py +++ b/src/calibre/db/tests/locking.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/tests/main.py b/src/calibre/db/tests/main.py index 6e57b52c92..d8bee0ec7e 100644 --- a/src/calibre/db/tests/main.py +++ b/src/calibre/db/tests/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/tests/profiling.py b/src/calibre/db/tests/profiling.py index a78f6abe63..a75bd19d40 100644 --- a/src/calibre/db/tests/profiling.py +++ b/src/calibre/db/tests/profiling.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/tests/reading.py b/src/calibre/db/tests/reading.py index 9b5106e679..665767723c 100644 --- a/src/calibre/db/tests/reading.py +++ b/src/calibre/db/tests/reading.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/tests/utils.py b/src/calibre/db/tests/utils.py index b911cf7e73..1b28319440 100644 --- a/src/calibre/db/tests/utils.py +++ b/src/calibre/db/tests/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/tests/writing.py b/src/calibre/db/tests/writing.py index b03e001ba8..e1416b1eb8 100644 --- a/src/calibre/db/tests/writing.py +++ b/src/calibre/db/tests/writing.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/utils.py b/src/calibre/db/utils.py index b7a2b852f0..3c0127f647 100644 --- a/src/calibre/db/utils.py +++ b/src/calibre/db/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/view.py b/src/calibre/db/view.py index e074b68164..7d750abece 100644 --- a/src/calibre/db/view.py +++ b/src/calibre/db/view.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/db/write.py b/src/calibre/db/write.py index 48081e9c5d..e08da0416f 100644 --- a/src/calibre/db/write.py +++ b/src/calibre/db/write.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/debug.py b/src/calibre/debug.py index f097403c24..c792f422eb 100644 --- a/src/calibre/debug.py +++ b/src/calibre/debug.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import print_function, unicode_literals __license__ = 'GPL v3' diff --git a/src/calibre/devices/android/__init__.py b/src/calibre/devices/android/__init__.py index 720ff711e6..a9b056d940 100644 --- a/src/calibre/devices/android/__init__.py +++ b/src/calibre/devices/android/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/cli.py b/src/calibre/devices/cli.py index dd2dbee0a2..ea4afdf7c1 100755 --- a/src/calibre/devices/cli.py +++ b/src/calibre/devices/cli.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/eslick/__init__.py b/src/calibre/devices/eslick/__init__.py index 720ff711e6..a9b056d940 100644 --- a/src/calibre/devices/eslick/__init__.py +++ b/src/calibre/devices/eslick/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/eslick/driver.py b/src/calibre/devices/eslick/driver.py index 9f9da4b7ed..fc1ec0d393 100644 --- a/src/calibre/devices/eslick/driver.py +++ b/src/calibre/devices/eslick/driver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/folder_device/__init__.py b/src/calibre/devices/folder_device/__init__.py index 720ff711e6..a9b056d940 100644 --- a/src/calibre/devices/folder_device/__init__.py +++ b/src/calibre/devices/folder_device/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/iriver/__init__.py b/src/calibre/devices/iriver/__init__.py index 720ff711e6..a9b056d940 100644 --- a/src/calibre/devices/iriver/__init__.py +++ b/src/calibre/devices/iriver/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/iriver/driver.py b/src/calibre/devices/iriver/driver.py index 4fed558890..36834464e7 100644 --- a/src/calibre/devices/iriver/driver.py +++ b/src/calibre/devices/iriver/driver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/kobo/__init__.py b/src/calibre/devices/kobo/__init__.py index 807de729ec..078ddb1bf4 100644 --- a/src/calibre/devices/kobo/__init__.py +++ b/src/calibre/devices/kobo/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/kobo/driver.py b/src/calibre/devices/kobo/driver.py index 3aa657b8c7..0a3bee19ba 100644 --- a/src/calibre/devices/kobo/driver.py +++ b/src/calibre/devices/kobo/driver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/kobo/kobotouch_config.py b/src/calibre/devices/kobo/kobotouch_config.py index 7377646d77..c8a6623b76 100644 --- a/src/calibre/devices/kobo/kobotouch_config.py +++ b/src/calibre/devices/kobo/kobotouch_config.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/misc.py b/src/calibre/devices/misc.py index fb772959cb..7ee7fb15df 100644 --- a/src/calibre/devices/misc.py +++ b/src/calibre/devices/misc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/mtp/__init__.py b/src/calibre/devices/mtp/__init__.py index 357137fa39..5f6c324bfc 100644 --- a/src/calibre/devices/mtp/__init__.py +++ b/src/calibre/devices/mtp/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/mtp/base.py b/src/calibre/devices/mtp/base.py index cfe9a7c103..79d342c86f 100644 --- a/src/calibre/devices/mtp/base.py +++ b/src/calibre/devices/mtp/base.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/mtp/books.py b/src/calibre/devices/mtp/books.py index c9b9998d68..3f65d80d1d 100644 --- a/src/calibre/devices/mtp/books.py +++ b/src/calibre/devices/mtp/books.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/mtp/defaults.py b/src/calibre/devices/mtp/defaults.py index ba6d3b9d59..9c1d66c461 100644 --- a/src/calibre/devices/mtp/defaults.py +++ b/src/calibre/devices/mtp/defaults.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/mtp/driver.py b/src/calibre/devices/mtp/driver.py index 5ef073e487..0a13169373 100644 --- a/src/calibre/devices/mtp/driver.py +++ b/src/calibre/devices/mtp/driver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/mtp/filesystem_cache.py b/src/calibre/devices/mtp/filesystem_cache.py index 03f89e1713..1789e3b399 100644 --- a/src/calibre/devices/mtp/filesystem_cache.py +++ b/src/calibre/devices/mtp/filesystem_cache.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/mtp/test.py b/src/calibre/devices/mtp/test.py index b76631dcbf..f36ffeacec 100644 --- a/src/calibre/devices/mtp/test.py +++ b/src/calibre/devices/mtp/test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/mtp/unix/__init__.py b/src/calibre/devices/mtp/unix/__init__.py index bfcd4fe518..4fc65986b7 100644 --- a/src/calibre/devices/mtp/unix/__init__.py +++ b/src/calibre/devices/mtp/unix/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/mtp/unix/driver.py b/src/calibre/devices/mtp/unix/driver.py index a733feef7c..47e1d5c392 100644 --- a/src/calibre/devices/mtp/unix/driver.py +++ b/src/calibre/devices/mtp/unix/driver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/mtp/unix/sysfs.py b/src/calibre/devices/mtp/unix/sysfs.py index cc756abea3..5ec178f9fa 100644 --- a/src/calibre/devices/mtp/unix/sysfs.py +++ b/src/calibre/devices/mtp/unix/sysfs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/mtp/windows/__init__.py b/src/calibre/devices/mtp/windows/__init__.py index d7ade49452..2b86b54dc3 100644 --- a/src/calibre/devices/mtp/windows/__init__.py +++ b/src/calibre/devices/mtp/windows/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/mtp/windows/driver.py b/src/calibre/devices/mtp/windows/driver.py index 9921945f75..cc2d4ce238 100644 --- a/src/calibre/devices/mtp/windows/driver.py +++ b/src/calibre/devices/mtp/windows/driver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/mtp/windows/remote.py b/src/calibre/devices/mtp/windows/remote.py index 04a7547b72..80b892302c 100644 --- a/src/calibre/devices/mtp/windows/remote.py +++ b/src/calibre/devices/mtp/windows/remote.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/paladin/driver.py b/src/calibre/devices/paladin/driver.py index f805c77540..4cfc6b3616 100644 --- a/src/calibre/devices/paladin/driver.py +++ b/src/calibre/devices/paladin/driver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/src/calibre/devices/prs505/sony_cache.py b/src/calibre/devices/prs505/sony_cache.py index 85a0002165..1ce4a3fe58 100644 --- a/src/calibre/devices/prs505/sony_cache.py +++ b/src/calibre/devices/prs505/sony_cache.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/prst1/__init__.py b/src/calibre/devices/prst1/__init__.py index 0f9dc4e7f8..c63cb57432 100644 --- a/src/calibre/devices/prst1/__init__.py +++ b/src/calibre/devices/prst1/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/prst1/driver.py b/src/calibre/devices/prst1/driver.py index eece9275ab..399186eb9e 100644 --- a/src/calibre/devices/prst1/driver.py +++ b/src/calibre/devices/prst1/driver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/smart_device_app/__init__.py b/src/calibre/devices/smart_device_app/__init__.py index 807de729ec..078ddb1bf4 100644 --- a/src/calibre/devices/smart_device_app/__init__.py +++ b/src/calibre/devices/smart_device_app/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/smart_device_app/driver.py b/src/calibre/devices/smart_device_app/driver.py index 4e762c9dce..0266d551d1 100644 --- a/src/calibre/devices/smart_device_app/driver.py +++ b/src/calibre/devices/smart_device_app/driver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals ''' diff --git a/src/calibre/devices/teclast/__init__.py b/src/calibre/devices/teclast/__init__.py index 4ddf412436..3e2240e94d 100644 --- a/src/calibre/devices/teclast/__init__.py +++ b/src/calibre/devices/teclast/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/udisks.py b/src/calibre/devices/udisks.py index 36729b871d..13711b60eb 100644 --- a/src/calibre/devices/udisks.py +++ b/src/calibre/devices/udisks.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/utils.py b/src/calibre/devices/utils.py index 1284b84223..401fc860e7 100644 --- a/src/calibre/devices/utils.py +++ b/src/calibre/devices/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/devices/winusb.py b/src/calibre/devices/winusb.py index 9ecfa32d20..f3256c7a68 100644 --- a/src/calibre/devices/winusb.py +++ b/src/calibre/devices/winusb.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/src/calibre/ebooks/BeautifulSoup.py b/src/calibre/ebooks/BeautifulSoup.py index 76d868379c..038e98620b 100644 --- a/src/calibre/ebooks/BeautifulSoup.py +++ b/src/calibre/ebooks/BeautifulSoup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2019, Kovid Goyal diff --git a/src/calibre/ebooks/chardet.py b/src/calibre/ebooks/chardet.py index 8abe1ffb24..b6104a26b2 100644 --- a/src/calibre/ebooks/chardet.py +++ b/src/calibre/ebooks/chardet.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/chm/__init__.py b/src/calibre/ebooks/chm/__init__.py index 3a23b123d8..9c0d7f81fe 100644 --- a/src/calibre/ebooks/chm/__init__.py +++ b/src/calibre/ebooks/chm/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __license__ = 'GPL v3' diff --git a/src/calibre/ebooks/chm/metadata.py b/src/calibre/ebooks/chm/metadata.py index 0a1ad627b3..fb134088ee 100644 --- a/src/calibre/ebooks/chm/metadata.py +++ b/src/calibre/ebooks/chm/metadata.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/comic/__init__.py b/src/calibre/ebooks/comic/__init__.py index 9a7f3dadda..4307a071a3 100644 --- a/src/calibre/ebooks/comic/__init__.py +++ b/src/calibre/ebooks/comic/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __license__ = 'GPL v3' diff --git a/src/calibre/ebooks/compression/palmdoc.py b/src/calibre/ebooks/compression/palmdoc.py index 6ce6ac58b5..8d2a19783c 100644 --- a/src/calibre/ebooks/compression/palmdoc.py +++ b/src/calibre/ebooks/compression/palmdoc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/constants.py b/src/calibre/ebooks/constants.py index 39fd5d5d6a..02d27f6a9f 100644 --- a/src/calibre/ebooks/constants.py +++ b/src/calibre/ebooks/constants.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/conversion/config.py b/src/calibre/ebooks/conversion/config.py index 530dc04177..ee1dc6e708 100644 --- a/src/calibre/ebooks/conversion/config.py +++ b/src/calibre/ebooks/conversion/config.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/conversion/plugins/__init__.py b/src/calibre/ebooks/conversion/plugins/__init__.py index 357137fa39..5f6c324bfc 100644 --- a/src/calibre/ebooks/conversion/plugins/__init__.py +++ b/src/calibre/ebooks/conversion/plugins/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/conversion/plugins/docx_input.py b/src/calibre/ebooks/conversion/plugins/docx_input.py index 2ba157e3f9..bb08884eb8 100644 --- a/src/calibre/ebooks/conversion/plugins/docx_input.py +++ b/src/calibre/ebooks/conversion/plugins/docx_input.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/conversion/plugins/docx_output.py b/src/calibre/ebooks/conversion/plugins/docx_output.py index ab65e87b6f..e5fd2f42ac 100644 --- a/src/calibre/ebooks/conversion/plugins/docx_output.py +++ b/src/calibre/ebooks/conversion/plugins/docx_output.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/conversion/plugins/epub_output.py b/src/calibre/ebooks/conversion/plugins/epub_output.py index 2265508c6e..9b0efce177 100644 --- a/src/calibre/ebooks/conversion/plugins/epub_output.py +++ b/src/calibre/ebooks/conversion/plugins/epub_output.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/conversion/plugins/html_input.py b/src/calibre/ebooks/conversion/plugins/html_input.py index b74cfba882..7474ab7906 100644 --- a/src/calibre/ebooks/conversion/plugins/html_input.py +++ b/src/calibre/ebooks/conversion/plugins/html_input.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/conversion/plugins/lit_input.py b/src/calibre/ebooks/conversion/plugins/lit_input.py index 96f1867faf..65b94d0119 100644 --- a/src/calibre/ebooks/conversion/plugins/lit_input.py +++ b/src/calibre/ebooks/conversion/plugins/lit_input.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/conversion/plugins/lit_output.py b/src/calibre/ebooks/conversion/plugins/lit_output.py index a0d9a7f1a9..9c266ffc70 100644 --- a/src/calibre/ebooks/conversion/plugins/lit_output.py +++ b/src/calibre/ebooks/conversion/plugins/lit_output.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/conversion/plugins/lrf_input.py b/src/calibre/ebooks/conversion/plugins/lrf_input.py index d40def2f1c..8052e32c76 100644 --- a/src/calibre/ebooks/conversion/plugins/lrf_input.py +++ b/src/calibre/ebooks/conversion/plugins/lrf_input.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/conversion/plugins/lrf_output.py b/src/calibre/ebooks/conversion/plugins/lrf_output.py index 947d30cdc6..2797347cf1 100644 --- a/src/calibre/ebooks/conversion/plugins/lrf_output.py +++ b/src/calibre/ebooks/conversion/plugins/lrf_output.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/conversion/plugins/mobi_output.py b/src/calibre/ebooks/conversion/plugins/mobi_output.py index 28cff521bc..0ff7a8cd9a 100644 --- a/src/calibre/ebooks/conversion/plugins/mobi_output.py +++ b/src/calibre/ebooks/conversion/plugins/mobi_output.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/conversion/plugins/recipe_input.py b/src/calibre/ebooks/conversion/plugins/recipe_input.py index f616a72f70..fb55c01e9d 100644 --- a/src/calibre/ebooks/conversion/plugins/recipe_input.py +++ b/src/calibre/ebooks/conversion/plugins/recipe_input.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/conversion/preprocess.py b/src/calibre/ebooks/conversion/preprocess.py index c597e0021d..4f2a8ce52e 100644 --- a/src/calibre/ebooks/conversion/preprocess.py +++ b/src/calibre/ebooks/conversion/preprocess.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/conversion/search_replace.py b/src/calibre/ebooks/conversion/search_replace.py index c75cfa7b91..27fd2c395f 100644 --- a/src/calibre/ebooks/conversion/search_replace.py +++ b/src/calibre/ebooks/conversion/search_replace.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/ebooks/conversion/utils.py b/src/calibre/ebooks/conversion/utils.py index 991c560d23..4d23933a98 100644 --- a/src/calibre/ebooks/conversion/utils.py +++ b/src/calibre/ebooks/conversion/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/covers.py b/src/calibre/ebooks/covers.py index 62ccad0603..7d3c428e4a 100644 --- a/src/calibre/ebooks/covers.py +++ b/src/calibre/ebooks/covers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/css_transform_rules.py b/src/calibre/ebooks/css_transform_rules.py index 2f3e10e8ed..9d2cd2ec84 100644 --- a/src/calibre/ebooks/css_transform_rules.py +++ b/src/calibre/ebooks/css_transform_rules.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/djvu/__init__.py b/src/calibre/ebooks/djvu/__init__.py index 2cf7feaaff..5d3a0cd140 100644 --- a/src/calibre/ebooks/djvu/__init__.py +++ b/src/calibre/ebooks/djvu/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __license__ = 'GPL v3' diff --git a/src/calibre/ebooks/djvu/djvu.py b/src/calibre/ebooks/djvu/djvu.py index 95381c982e..fa58f8fc49 100644 --- a/src/calibre/ebooks/djvu/djvu.py +++ b/src/calibre/ebooks/djvu/djvu.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # coding: utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/djvu/djvubzzdec.py b/src/calibre/ebooks/djvu/djvubzzdec.py index 262409d565..a4ac518976 100644 --- a/src/calibre/ebooks/djvu/djvubzzdec.py +++ b/src/calibre/ebooks/djvu/djvubzzdec.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # coding: utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/__init__.py b/src/calibre/ebooks/docx/__init__.py index 038376aff3..57bfd7d760 100644 --- a/src/calibre/ebooks/docx/__init__.py +++ b/src/calibre/ebooks/docx/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/block_styles.py b/src/calibre/ebooks/docx/block_styles.py index 77c73508a0..96ae080c05 100644 --- a/src/calibre/ebooks/docx/block_styles.py +++ b/src/calibre/ebooks/docx/block_styles.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/char_styles.py b/src/calibre/ebooks/docx/char_styles.py index c443dada50..61d13c7809 100644 --- a/src/calibre/ebooks/docx/char_styles.py +++ b/src/calibre/ebooks/docx/char_styles.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/cleanup.py b/src/calibre/ebooks/docx/cleanup.py index 8f79458f4c..c68feb4736 100644 --- a/src/calibre/ebooks/docx/cleanup.py +++ b/src/calibre/ebooks/docx/cleanup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/container.py b/src/calibre/ebooks/docx/container.py index 7bd6768a8f..9411e20780 100644 --- a/src/calibre/ebooks/docx/container.py +++ b/src/calibre/ebooks/docx/container.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/dump.py b/src/calibre/ebooks/docx/dump.py index 5852482876..726c29feef 100644 --- a/src/calibre/ebooks/docx/dump.py +++ b/src/calibre/ebooks/docx/dump.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/fields.py b/src/calibre/ebooks/docx/fields.py index 7400bcde51..8ff5d28859 100644 --- a/src/calibre/ebooks/docx/fields.py +++ b/src/calibre/ebooks/docx/fields.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/fonts.py b/src/calibre/ebooks/docx/fonts.py index ad5c7b7018..bd0ad51bc0 100644 --- a/src/calibre/ebooks/docx/fonts.py +++ b/src/calibre/ebooks/docx/fonts.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/footnotes.py b/src/calibre/ebooks/docx/footnotes.py index a97d2a73e5..22f8ed82d4 100644 --- a/src/calibre/ebooks/docx/footnotes.py +++ b/src/calibre/ebooks/docx/footnotes.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/images.py b/src/calibre/ebooks/docx/images.py index 764aa17ee9..b82cf6fa9c 100644 --- a/src/calibre/ebooks/docx/images.py +++ b/src/calibre/ebooks/docx/images.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/index.py b/src/calibre/ebooks/docx/index.py index 974d25d9a1..38b8431dc0 100644 --- a/src/calibre/ebooks/docx/index.py +++ b/src/calibre/ebooks/docx/index.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/lcid.py b/src/calibre/ebooks/docx/lcid.py index 9674ac4cfc..f9de87eb84 100644 --- a/src/calibre/ebooks/docx/lcid.py +++ b/src/calibre/ebooks/docx/lcid.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/names.py b/src/calibre/ebooks/docx/names.py index dac2d0e65b..039bc5b80e 100644 --- a/src/calibre/ebooks/docx/names.py +++ b/src/calibre/ebooks/docx/names.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/numbering.py b/src/calibre/ebooks/docx/numbering.py index da33d6a584..294c627935 100644 --- a/src/calibre/ebooks/docx/numbering.py +++ b/src/calibre/ebooks/docx/numbering.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/settings.py b/src/calibre/ebooks/docx/settings.py index e30fb5429d..6271692433 100644 --- a/src/calibre/ebooks/docx/settings.py +++ b/src/calibre/ebooks/docx/settings.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/styles.py b/src/calibre/ebooks/docx/styles.py index 46059b3941..d3f0f8db5f 100644 --- a/src/calibre/ebooks/docx/styles.py +++ b/src/calibre/ebooks/docx/styles.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/tables.py b/src/calibre/ebooks/docx/tables.py index 6f537e6daf..01f5995975 100644 --- a/src/calibre/ebooks/docx/tables.py +++ b/src/calibre/ebooks/docx/tables.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/theme.py b/src/calibre/ebooks/docx/theme.py index c6f84b8aa6..3f0fc5db1f 100644 --- a/src/calibre/ebooks/docx/theme.py +++ b/src/calibre/ebooks/docx/theme.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/to_html.py b/src/calibre/ebooks/docx/to_html.py index 081095f2ad..eb9c9087f0 100644 --- a/src/calibre/ebooks/docx/to_html.py +++ b/src/calibre/ebooks/docx/to_html.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/toc.py b/src/calibre/ebooks/docx/toc.py index 3c607012b1..0bec436eda 100644 --- a/src/calibre/ebooks/docx/toc.py +++ b/src/calibre/ebooks/docx/toc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/writer/__init__.py b/src/calibre/ebooks/docx/writer/__init__.py index d9dc36506c..69376f9ebd 100644 --- a/src/calibre/ebooks/docx/writer/__init__.py +++ b/src/calibre/ebooks/docx/writer/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/writer/container.py b/src/calibre/ebooks/docx/writer/container.py index 1c0d25afa0..08262a4fe7 100644 --- a/src/calibre/ebooks/docx/writer/container.py +++ b/src/calibre/ebooks/docx/writer/container.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/writer/fonts.py b/src/calibre/ebooks/docx/writer/fonts.py index 4432ea930b..559613c38d 100644 --- a/src/calibre/ebooks/docx/writer/fonts.py +++ b/src/calibre/ebooks/docx/writer/fonts.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/writer/from_html.py b/src/calibre/ebooks/docx/writer/from_html.py index 5ed0467c8d..8a3dfb84c6 100644 --- a/src/calibre/ebooks/docx/writer/from_html.py +++ b/src/calibre/ebooks/docx/writer/from_html.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/writer/images.py b/src/calibre/ebooks/docx/writer/images.py index 54b62d611f..d0066022da 100644 --- a/src/calibre/ebooks/docx/writer/images.py +++ b/src/calibre/ebooks/docx/writer/images.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/writer/links.py b/src/calibre/ebooks/docx/writer/links.py index 95c53d7c55..640f0d44cb 100644 --- a/src/calibre/ebooks/docx/writer/links.py +++ b/src/calibre/ebooks/docx/writer/links.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/writer/lists.py b/src/calibre/ebooks/docx/writer/lists.py index 259cfb3539..c7649480cc 100644 --- a/src/calibre/ebooks/docx/writer/lists.py +++ b/src/calibre/ebooks/docx/writer/lists.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/writer/styles.py b/src/calibre/ebooks/docx/writer/styles.py index d05451f96c..dfd6939a1c 100644 --- a/src/calibre/ebooks/docx/writer/styles.py +++ b/src/calibre/ebooks/docx/writer/styles.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/writer/tables.py b/src/calibre/ebooks/docx/writer/tables.py index 209d420ee8..12cb981064 100644 --- a/src/calibre/ebooks/docx/writer/tables.py +++ b/src/calibre/ebooks/docx/writer/tables.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/docx/writer/utils.py b/src/calibre/ebooks/docx/writer/utils.py index 30cabd49e9..b8a18cf78f 100644 --- a/src/calibre/ebooks/docx/writer/utils.py +++ b/src/calibre/ebooks/docx/writer/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/epub/cfi/parse.py b/src/calibre/ebooks/epub/cfi/parse.py index d55f8b891c..f9e5fc89fd 100644 --- a/src/calibre/ebooks/epub/cfi/parse.py +++ b/src/calibre/ebooks/epub/cfi/parse.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/epub/cfi/tests.py b/src/calibre/ebooks/epub/cfi/tests.py index c878cbac9e..40e8ec62c1 100644 --- a/src/calibre/ebooks/epub/cfi/tests.py +++ b/src/calibre/ebooks/epub/cfi/tests.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/epub/periodical.py b/src/calibre/ebooks/epub/periodical.py index e2c5760303..b5acc4a03e 100644 --- a/src/calibre/ebooks/epub/periodical.py +++ b/src/calibre/ebooks/epub/periodical.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/fb2/__init__.py b/src/calibre/ebooks/fb2/__init__.py index e42aba245c..7f70b39cff 100644 --- a/src/calibre/ebooks/fb2/__init__.py +++ b/src/calibre/ebooks/fb2/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/html/__init__.py b/src/calibre/ebooks/html/__init__.py index 720ff711e6..a9b056d940 100644 --- a/src/calibre/ebooks/html/__init__.py +++ b/src/calibre/ebooks/html/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/html/input.py b/src/calibre/ebooks/html/input.py index e37fd3b928..80ad1f84ab 100644 --- a/src/calibre/ebooks/html/input.py +++ b/src/calibre/ebooks/html/input.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/html/to_zip.py b/src/calibre/ebooks/html/to_zip.py index 4ac28c3a0f..4a0173f947 100644 --- a/src/calibre/ebooks/html/to_zip.py +++ b/src/calibre/ebooks/html/to_zip.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/html_entities.py b/src/calibre/ebooks/html_entities.py index cc86a21625..18ff8ad7e6 100644 --- a/src/calibre/ebooks/html_entities.py +++ b/src/calibre/ebooks/html_entities.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/iterator/__init__.py b/src/calibre/ebooks/iterator/__init__.py index 4ddf412436..3e2240e94d 100644 --- a/src/calibre/ebooks/iterator/__init__.py +++ b/src/calibre/ebooks/iterator/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/lrf/input.py b/src/calibre/ebooks/lrf/input.py index f678fcbe32..108f2dfc05 100644 --- a/src/calibre/ebooks/lrf/input.py +++ b/src/calibre/ebooks/lrf/input.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/lrf/pylrs/pylrf.py b/src/calibre/ebooks/lrf/pylrs/pylrf.py index bca86f29b3..16aa0d730b 100644 --- a/src/calibre/ebooks/lrf/pylrs/pylrf.py +++ b/src/calibre/ebooks/lrf/pylrs/pylrf.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals """ diff --git a/src/calibre/ebooks/metadata/__init__.py b/src/calibre/ebooks/metadata/__init__.py index a5dca7dac9..f51eb17725 100644 --- a/src/calibre/ebooks/metadata/__init__.py +++ b/src/calibre/ebooks/metadata/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/archive.py b/src/calibre/ebooks/metadata/archive.py index 23be91decc..2b5e52916e 100644 --- a/src/calibre/ebooks/metadata/archive.py +++ b/src/calibre/ebooks/metadata/archive.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/author_mapper.py b/src/calibre/ebooks/metadata/author_mapper.py index 30cbf1df46..faeb3b2728 100644 --- a/src/calibre/ebooks/metadata/author_mapper.py +++ b/src/calibre/ebooks/metadata/author_mapper.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/book/__init__.py b/src/calibre/ebooks/metadata/book/__init__.py index 84e8039ab5..59aedfd267 100644 --- a/src/calibre/ebooks/metadata/book/__init__.py +++ b/src/calibre/ebooks/metadata/book/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/book/base.py b/src/calibre/ebooks/metadata/book/base.py index ecf924ac9b..f6534ad564 100644 --- a/src/calibre/ebooks/metadata/book/base.py +++ b/src/calibre/ebooks/metadata/book/base.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/book/formatter.py b/src/calibre/ebooks/metadata/book/formatter.py index 6d504124ed..17fe32ddc0 100644 --- a/src/calibre/ebooks/metadata/book/formatter.py +++ b/src/calibre/ebooks/metadata/book/formatter.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/book/render.py b/src/calibre/ebooks/metadata/book/render.py index c796bbb4a4..3dd6d72ce3 100644 --- a/src/calibre/ebooks/metadata/book/render.py +++ b/src/calibre/ebooks/metadata/book/render.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/book/serialize.py b/src/calibre/ebooks/metadata/book/serialize.py index f5dbfe257c..41f4caf7bf 100644 --- a/src/calibre/ebooks/metadata/book/serialize.py +++ b/src/calibre/ebooks/metadata/book/serialize.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/ebooks/metadata/docx.py b/src/calibre/ebooks/metadata/docx.py index 7abd0ce9ad..054f774d48 100644 --- a/src/calibre/ebooks/metadata/docx.py +++ b/src/calibre/ebooks/metadata/docx.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/epub.py b/src/calibre/ebooks/metadata/epub.py index b554db6bf7..c23ee7e028 100644 --- a/src/calibre/ebooks/metadata/epub.py +++ b/src/calibre/ebooks/metadata/epub.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __license__ = 'GPL v3' diff --git a/src/calibre/ebooks/metadata/fb2.py b/src/calibre/ebooks/metadata/fb2.py index 229c0b0e92..4473c87e96 100644 --- a/src/calibre/ebooks/metadata/fb2.py +++ b/src/calibre/ebooks/metadata/fb2.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/html.py b/src/calibre/ebooks/metadata/html.py index 48408bc3a8..1ebcf76d32 100644 --- a/src/calibre/ebooks/metadata/html.py +++ b/src/calibre/ebooks/metadata/html.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/kdl.py b/src/calibre/ebooks/metadata/kdl.py index 8d023f1326..33362a9c68 100644 --- a/src/calibre/ebooks/metadata/kdl.py +++ b/src/calibre/ebooks/metadata/kdl.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/kfx.py b/src/calibre/ebooks/metadata/kfx.py index d927a9469d..46472d6f54 100644 --- a/src/calibre/ebooks/metadata/kfx.py +++ b/src/calibre/ebooks/metadata/kfx.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal , John Howell ' diff --git a/src/calibre/ebooks/metadata/lrx.py b/src/calibre/ebooks/metadata/lrx.py index 5dc4b742d7..0e0f900507 100644 --- a/src/calibre/ebooks/metadata/lrx.py +++ b/src/calibre/ebooks/metadata/lrx.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __license__ = 'GPL v3' diff --git a/src/calibre/ebooks/metadata/mobi.py b/src/calibre/ebooks/metadata/mobi.py index c419695520..407aadf33f 100644 --- a/src/calibre/ebooks/metadata/mobi.py +++ b/src/calibre/ebooks/metadata/mobi.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2009, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/odt.py b/src/calibre/ebooks/metadata/odt.py index 71258d6858..a9adb766b0 100644 --- a/src/calibre/ebooks/metadata/odt.py +++ b/src/calibre/ebooks/metadata/odt.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai # # Copyright (C) 2006 Søren Roug, European Environment Agency diff --git a/src/calibre/ebooks/metadata/opf.py b/src/calibre/ebooks/metadata/opf.py index 53fec9359f..0cd6c68b13 100644 --- a/src/calibre/ebooks/metadata/opf.py +++ b/src/calibre/ebooks/metadata/opf.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/src/calibre/ebooks/metadata/opf2.py b/src/calibre/ebooks/metadata/opf2.py index aaa4734851..8d2f8a3012 100644 --- a/src/calibre/ebooks/metadata/opf2.py +++ b/src/calibre/ebooks/metadata/opf2.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import print_function, unicode_literals, absolute_import, division __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' diff --git a/src/calibre/ebooks/metadata/opf3.py b/src/calibre/ebooks/metadata/opf3.py index e181d2fdfd..9885b8ab12 100644 --- a/src/calibre/ebooks/metadata/opf3.py +++ b/src/calibre/ebooks/metadata/opf3.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/src/calibre/ebooks/metadata/opf3_test.py b/src/calibre/ebooks/metadata/opf3_test.py index 8b98c1235e..de5c509904 100644 --- a/src/calibre/ebooks/metadata/opf3_test.py +++ b/src/calibre/ebooks/metadata/opf3_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/src/calibre/ebooks/metadata/opf_2_to_3.py b/src/calibre/ebooks/metadata/opf_2_to_3.py index 42207989c1..26c4002404 100644 --- a/src/calibre/ebooks/metadata/opf_2_to_3.py +++ b/src/calibre/ebooks/metadata/opf_2_to_3.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2018, Kovid Goyal diff --git a/src/calibre/ebooks/metadata/rar.py b/src/calibre/ebooks/metadata/rar.py index e21a1cf7fe..b770f0d423 100644 --- a/src/calibre/ebooks/metadata/rar.py +++ b/src/calibre/ebooks/metadata/rar.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __license__ = 'GPL v3' diff --git a/src/calibre/ebooks/metadata/rtf.py b/src/calibre/ebooks/metadata/rtf.py index d208436256..e62fc293e2 100644 --- a/src/calibre/ebooks/metadata/rtf.py +++ b/src/calibre/ebooks/metadata/rtf.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2008, Kovid Goyal diff --git a/src/calibre/ebooks/metadata/search_internet.py b/src/calibre/ebooks/metadata/search_internet.py index bb962e83eb..48dcbe908c 100644 --- a/src/calibre/ebooks/metadata/search_internet.py +++ b/src/calibre/ebooks/metadata/search_internet.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/ebooks/metadata/sources/__init__.py b/src/calibre/ebooks/metadata/sources/__init__.py index 0f9dc4e7f8..c63cb57432 100644 --- a/src/calibre/ebooks/metadata/sources/__init__.py +++ b/src/calibre/ebooks/metadata/sources/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/sources/amazon.py b/src/calibre/ebooks/metadata/sources/amazon.py index a26a07d0a2..71b18ae5ae 100644 --- a/src/calibre/ebooks/metadata/sources/amazon.py +++ b/src/calibre/ebooks/metadata/sources/amazon.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # License: GPLv3 Copyright: 2011, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/sources/base.py b/src/calibre/ebooks/metadata/sources/base.py index 1078fc1499..4037f7f2fd 100644 --- a/src/calibre/ebooks/metadata/sources/base.py +++ b/src/calibre/ebooks/metadata/sources/base.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/sources/big_book_search.py b/src/calibre/ebooks/metadata/sources/big_book_search.py index 2c0b4d2eb9..0f629a6428 100644 --- a/src/calibre/ebooks/metadata/sources/big_book_search.py +++ b/src/calibre/ebooks/metadata/sources/big_book_search.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/sources/cli.py b/src/calibre/ebooks/metadata/sources/cli.py index 57fc7375d5..207cd273cc 100644 --- a/src/calibre/ebooks/metadata/sources/cli.py +++ b/src/calibre/ebooks/metadata/sources/cli.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/sources/covers.py b/src/calibre/ebooks/metadata/sources/covers.py index 64708cb0ba..c4336a6228 100644 --- a/src/calibre/ebooks/metadata/sources/covers.py +++ b/src/calibre/ebooks/metadata/sources/covers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/sources/douban.py b/src/calibre/ebooks/metadata/sources/douban.py index c77bdb8dc7..82d06e12dd 100644 --- a/src/calibre/ebooks/metadata/sources/douban.py +++ b/src/calibre/ebooks/metadata/sources/douban.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/sources/edelweiss.py b/src/calibre/ebooks/metadata/sources/edelweiss.py index 8909491132..0d0501daf4 100644 --- a/src/calibre/ebooks/metadata/sources/edelweiss.py +++ b/src/calibre/ebooks/metadata/sources/edelweiss.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/sources/google.py b/src/calibre/ebooks/metadata/sources/google.py index 7e19add00f..fda532e1cd 100644 --- a/src/calibre/ebooks/metadata/sources/google.py +++ b/src/calibre/ebooks/metadata/sources/google.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # License: GPLv3 Copyright: 2011, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/sources/google_images.py b/src/calibre/ebooks/metadata/sources/google_images.py index 2e1c2b8593..66e661a353 100644 --- a/src/calibre/ebooks/metadata/sources/google_images.py +++ b/src/calibre/ebooks/metadata/sources/google_images.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/sources/identify.py b/src/calibre/ebooks/metadata/sources/identify.py index 6d5e835d2a..06b7e0bb7f 100644 --- a/src/calibre/ebooks/metadata/sources/identify.py +++ b/src/calibre/ebooks/metadata/sources/identify.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/sources/openlibrary.py b/src/calibre/ebooks/metadata/sources/openlibrary.py index 52a9d68d6d..2990cc58f9 100644 --- a/src/calibre/ebooks/metadata/sources/openlibrary.py +++ b/src/calibre/ebooks/metadata/sources/openlibrary.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/sources/overdrive.py b/src/calibre/ebooks/metadata/sources/overdrive.py index 18aa6b03bd..5a02738dd6 100644 --- a/src/calibre/ebooks/metadata/sources/overdrive.py +++ b/src/calibre/ebooks/metadata/sources/overdrive.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __license__ = 'GPL v3' diff --git a/src/calibre/ebooks/metadata/sources/ozon.py b/src/calibre/ebooks/metadata/sources/ozon.py index 206e48ed69..9513a9af10 100644 --- a/src/calibre/ebooks/metadata/sources/ozon.py +++ b/src/calibre/ebooks/metadata/sources/ozon.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/sources/prefs.py b/src/calibre/ebooks/metadata/sources/prefs.py index 6f5557f637..5725a87d8c 100644 --- a/src/calibre/ebooks/metadata/sources/prefs.py +++ b/src/calibre/ebooks/metadata/sources/prefs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/sources/search_engines.py b/src/calibre/ebooks/metadata/sources/search_engines.py index be700cc2d8..aa8dadada2 100644 --- a/src/calibre/ebooks/metadata/sources/search_engines.py +++ b/src/calibre/ebooks/metadata/sources/search_engines.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/ebooks/metadata/sources/test.py b/src/calibre/ebooks/metadata/sources/test.py index f2fd1fc376..695a446730 100644 --- a/src/calibre/ebooks/metadata/sources/test.py +++ b/src/calibre/ebooks/metadata/sources/test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/sources/update.py b/src/calibre/ebooks/metadata/sources/update.py index 5088588647..0f13c9add2 100644 --- a/src/calibre/ebooks/metadata/sources/update.py +++ b/src/calibre/ebooks/metadata/sources/update.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/ebooks/metadata/sources/worker.py b/src/calibre/ebooks/metadata/sources/worker.py index cbfad164e0..f587812254 100644 --- a/src/calibre/ebooks/metadata/sources/worker.py +++ b/src/calibre/ebooks/metadata/sources/worker.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # License: GPLv3 Copyright: 2012, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/tag_mapper.py b/src/calibre/ebooks/metadata/tag_mapper.py index b1a03b0a41..808289efae 100644 --- a/src/calibre/ebooks/metadata/tag_mapper.py +++ b/src/calibre/ebooks/metadata/tag_mapper.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/toc.py b/src/calibre/ebooks/metadata/toc.py index 3803120e4e..b04368a1d9 100644 --- a/src/calibre/ebooks/metadata/toc.py +++ b/src/calibre/ebooks/metadata/toc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __license__ = 'GPL v3' diff --git a/src/calibre/ebooks/metadata/utils.py b/src/calibre/ebooks/metadata/utils.py index ceee75dd70..4f7e89d363 100644 --- a/src/calibre/ebooks/metadata/utils.py +++ b/src/calibre/ebooks/metadata/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/src/calibre/ebooks/metadata/worker.py b/src/calibre/ebooks/metadata/worker.py index 37b2d8e807..8b58325cbf 100644 --- a/src/calibre/ebooks/metadata/worker.py +++ b/src/calibre/ebooks/metadata/worker.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/xisbn.py b/src/calibre/ebooks/metadata/xisbn.py index 0e0c72a59a..2e2095a6fc 100644 --- a/src/calibre/ebooks/metadata/xisbn.py +++ b/src/calibre/ebooks/metadata/xisbn.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/metadata/xmp.py b/src/calibre/ebooks/metadata/xmp.py index 2cc1a5d271..72c5b9a7d6 100644 --- a/src/calibre/ebooks/metadata/xmp.py +++ b/src/calibre/ebooks/metadata/xmp.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/__init__.py b/src/calibre/ebooks/mobi/__init__.py index bea6a1736c..429c2be583 100644 --- a/src/calibre/ebooks/mobi/__init__.py +++ b/src/calibre/ebooks/mobi/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/debug/__init__.py b/src/calibre/ebooks/mobi/debug/__init__.py index 1cfaf508b2..5643be08b8 100644 --- a/src/calibre/ebooks/mobi/debug/__init__.py +++ b/src/calibre/ebooks/mobi/debug/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/debug/containers.py b/src/calibre/ebooks/mobi/debug/containers.py index bfd3d2cc42..f1e01cd4e0 100644 --- a/src/calibre/ebooks/mobi/debug/containers.py +++ b/src/calibre/ebooks/mobi/debug/containers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/debug/headers.py b/src/calibre/ebooks/mobi/debug/headers.py index ef4fe8f6eb..7cc39aa943 100644 --- a/src/calibre/ebooks/mobi/debug/headers.py +++ b/src/calibre/ebooks/mobi/debug/headers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/debug/index.py b/src/calibre/ebooks/mobi/debug/index.py index 56fc2eb22b..c9c320de46 100644 --- a/src/calibre/ebooks/mobi/debug/index.py +++ b/src/calibre/ebooks/mobi/debug/index.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/debug/main.py b/src/calibre/ebooks/mobi/debug/main.py index 187e550871..d82240d104 100644 --- a/src/calibre/ebooks/mobi/debug/main.py +++ b/src/calibre/ebooks/mobi/debug/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/debug/mobi6.py b/src/calibre/ebooks/mobi/debug/mobi6.py index e70459c356..c8958f4ebd 100644 --- a/src/calibre/ebooks/mobi/debug/mobi6.py +++ b/src/calibre/ebooks/mobi/debug/mobi6.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/debug/mobi8.py b/src/calibre/ebooks/mobi/debug/mobi8.py index 9cdf388819..0cccbc3552 100644 --- a/src/calibre/ebooks/mobi/debug/mobi8.py +++ b/src/calibre/ebooks/mobi/debug/mobi8.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/huffcdic.py b/src/calibre/ebooks/mobi/huffcdic.py index 3424eb5426..b69e4ec1cf 100644 --- a/src/calibre/ebooks/mobi/huffcdic.py +++ b/src/calibre/ebooks/mobi/huffcdic.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/langcodes.py b/src/calibre/ebooks/mobi/langcodes.py index be34fc1384..5505504a9f 100644 --- a/src/calibre/ebooks/mobi/langcodes.py +++ b/src/calibre/ebooks/mobi/langcodes.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __license__ = 'GPL v3' diff --git a/src/calibre/ebooks/mobi/reader/__init__.py b/src/calibre/ebooks/mobi/reader/__init__.py index 357137fa39..5f6c324bfc 100644 --- a/src/calibre/ebooks/mobi/reader/__init__.py +++ b/src/calibre/ebooks/mobi/reader/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/reader/containers.py b/src/calibre/ebooks/mobi/reader/containers.py index 336ca5fe4e..614553ba8c 100644 --- a/src/calibre/ebooks/mobi/reader/containers.py +++ b/src/calibre/ebooks/mobi/reader/containers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/reader/headers.py b/src/calibre/ebooks/mobi/reader/headers.py index 63a3231750..dcd2f384a1 100644 --- a/src/calibre/ebooks/mobi/reader/headers.py +++ b/src/calibre/ebooks/mobi/reader/headers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/reader/index.py b/src/calibre/ebooks/mobi/reader/index.py index 78c5c9acfc..4623958667 100644 --- a/src/calibre/ebooks/mobi/reader/index.py +++ b/src/calibre/ebooks/mobi/reader/index.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/reader/markup.py b/src/calibre/ebooks/mobi/reader/markup.py index 097d66fa9e..099027fe61 100644 --- a/src/calibre/ebooks/mobi/reader/markup.py +++ b/src/calibre/ebooks/mobi/reader/markup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/reader/mobi6.py b/src/calibre/ebooks/mobi/reader/mobi6.py index ebd54e326e..add06c7fb4 100644 --- a/src/calibre/ebooks/mobi/reader/mobi6.py +++ b/src/calibre/ebooks/mobi/reader/mobi6.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/reader/mobi8.py b/src/calibre/ebooks/mobi/reader/mobi8.py index 0d037200bf..8d3dfbbbfa 100644 --- a/src/calibre/ebooks/mobi/reader/mobi8.py +++ b/src/calibre/ebooks/mobi/reader/mobi8.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/reader/ncx.py b/src/calibre/ebooks/mobi/reader/ncx.py index 6f49e1c651..132d7eadd7 100644 --- a/src/calibre/ebooks/mobi/reader/ncx.py +++ b/src/calibre/ebooks/mobi/reader/ncx.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/tweak.py b/src/calibre/ebooks/mobi/tweak.py index 82ee5f5d2e..6c213cfd5c 100644 --- a/src/calibre/ebooks/mobi/tweak.py +++ b/src/calibre/ebooks/mobi/tweak.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/utils.py b/src/calibre/ebooks/mobi/utils.py index 0121777702..b64b16ded0 100644 --- a/src/calibre/ebooks/mobi/utils.py +++ b/src/calibre/ebooks/mobi/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/writer2/__init__.py b/src/calibre/ebooks/mobi/writer2/__init__.py index 3a2b08b832..cdbcb90597 100644 --- a/src/calibre/ebooks/mobi/writer2/__init__.py +++ b/src/calibre/ebooks/mobi/writer2/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/writer2/indexer.py b/src/calibre/ebooks/mobi/writer2/indexer.py index c5c9d81d3e..d8135a7041 100644 --- a/src/calibre/ebooks/mobi/writer2/indexer.py +++ b/src/calibre/ebooks/mobi/writer2/indexer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/writer2/main.py b/src/calibre/ebooks/mobi/writer2/main.py index 884628d349..9b90db03f6 100644 --- a/src/calibre/ebooks/mobi/writer2/main.py +++ b/src/calibre/ebooks/mobi/writer2/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/writer2/resources.py b/src/calibre/ebooks/mobi/writer2/resources.py index 7db0fe342b..fc34e4efd8 100644 --- a/src/calibre/ebooks/mobi/writer2/resources.py +++ b/src/calibre/ebooks/mobi/writer2/resources.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/writer2/serializer.py b/src/calibre/ebooks/mobi/writer2/serializer.py index 756d2d7c6e..0ba8d1ca5c 100644 --- a/src/calibre/ebooks/mobi/writer2/serializer.py +++ b/src/calibre/ebooks/mobi/writer2/serializer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/writer8/__init__.py b/src/calibre/ebooks/mobi/writer8/__init__.py index 357137fa39..5f6c324bfc 100644 --- a/src/calibre/ebooks/mobi/writer8/__init__.py +++ b/src/calibre/ebooks/mobi/writer8/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/writer8/cleanup.py b/src/calibre/ebooks/mobi/writer8/cleanup.py index 9483eea58d..3a4c63bb5a 100644 --- a/src/calibre/ebooks/mobi/writer8/cleanup.py +++ b/src/calibre/ebooks/mobi/writer8/cleanup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/writer8/exth.py b/src/calibre/ebooks/mobi/writer8/exth.py index d997b3ae29..337f0d02d2 100644 --- a/src/calibre/ebooks/mobi/writer8/exth.py +++ b/src/calibre/ebooks/mobi/writer8/exth.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/writer8/header.py b/src/calibre/ebooks/mobi/writer8/header.py index adee78f662..53c26cf3f3 100644 --- a/src/calibre/ebooks/mobi/writer8/header.py +++ b/src/calibre/ebooks/mobi/writer8/header.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/writer8/index.py b/src/calibre/ebooks/mobi/writer8/index.py index 2b390a2593..26d999eb49 100644 --- a/src/calibre/ebooks/mobi/writer8/index.py +++ b/src/calibre/ebooks/mobi/writer8/index.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals from polyglot.builtins import map diff --git a/src/calibre/ebooks/mobi/writer8/main.py b/src/calibre/ebooks/mobi/writer8/main.py index 4253c060f8..827c57c52d 100644 --- a/src/calibre/ebooks/mobi/writer8/main.py +++ b/src/calibre/ebooks/mobi/writer8/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/writer8/mobi.py b/src/calibre/ebooks/mobi/writer8/mobi.py index da589456af..1ebbe4fedc 100644 --- a/src/calibre/ebooks/mobi/writer8/mobi.py +++ b/src/calibre/ebooks/mobi/writer8/mobi.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/writer8/skeleton.py b/src/calibre/ebooks/mobi/writer8/skeleton.py index 286083331c..cb5610a3c9 100644 --- a/src/calibre/ebooks/mobi/writer8/skeleton.py +++ b/src/calibre/ebooks/mobi/writer8/skeleton.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/writer8/tbs.py b/src/calibre/ebooks/mobi/writer8/tbs.py index c368252aa9..c618d43c67 100644 --- a/src/calibre/ebooks/mobi/writer8/tbs.py +++ b/src/calibre/ebooks/mobi/writer8/tbs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/mobi/writer8/toc.py b/src/calibre/ebooks/mobi/writer8/toc.py index 81246cf586..50218fdbaf 100644 --- a/src/calibre/ebooks/mobi/writer8/toc.py +++ b/src/calibre/ebooks/mobi/writer8/toc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/odt/__init__.py b/src/calibre/ebooks/odt/__init__.py index 8a2513c8cc..08118467a1 100644 --- a/src/calibre/ebooks/odt/__init__.py +++ b/src/calibre/ebooks/odt/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __license__ = 'GPL v3' diff --git a/src/calibre/ebooks/oeb/display/__init__.py b/src/calibre/ebooks/oeb/display/__init__.py index 357137fa39..5f6c324bfc 100644 --- a/src/calibre/ebooks/oeb/display/__init__.py +++ b/src/calibre/ebooks/oeb/display/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/display/webview.py b/src/calibre/ebooks/oeb/display/webview.py index 8b105303ec..6255d82459 100644 --- a/src/calibre/ebooks/oeb/display/webview.py +++ b/src/calibre/ebooks/oeb/display/webview.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/iterator/__init__.py b/src/calibre/ebooks/oeb/iterator/__init__.py index e752f48fc2..a7aaee54d8 100644 --- a/src/calibre/ebooks/oeb/iterator/__init__.py +++ b/src/calibre/ebooks/oeb/iterator/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/iterator/book.py b/src/calibre/ebooks/oeb/iterator/book.py index 96d724ceef..a3bd54c67d 100644 --- a/src/calibre/ebooks/oeb/iterator/book.py +++ b/src/calibre/ebooks/oeb/iterator/book.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/iterator/bookmarks.py b/src/calibre/ebooks/oeb/iterator/bookmarks.py index 12a9e26e2f..7e69497012 100644 --- a/src/calibre/ebooks/oeb/iterator/bookmarks.py +++ b/src/calibre/ebooks/oeb/iterator/bookmarks.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/iterator/spine.py b/src/calibre/ebooks/oeb/iterator/spine.py index b701cc95b4..fb1e0c096b 100644 --- a/src/calibre/ebooks/oeb/iterator/spine.py +++ b/src/calibre/ebooks/oeb/iterator/spine.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals from polyglot.builtins import map, unicode_type diff --git a/src/calibre/ebooks/oeb/normalize_css.py b/src/calibre/ebooks/oeb/normalize_css.py index c550bd42e9..cdbae020f3 100644 --- a/src/calibre/ebooks/oeb/normalize_css.py +++ b/src/calibre/ebooks/oeb/normalize_css.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/parse_utils.py b/src/calibre/ebooks/oeb/parse_utils.py index 0db0bc7b20..4a9726d5dd 100644 --- a/src/calibre/ebooks/oeb/parse_utils.py +++ b/src/calibre/ebooks/oeb/parse_utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/__init__.py b/src/calibre/ebooks/oeb/polish/__init__.py index 64be92cd03..d26359eab9 100644 --- a/src/calibre/ebooks/oeb/polish/__init__.py +++ b/src/calibre/ebooks/oeb/polish/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/cascade.py b/src/calibre/ebooks/oeb/polish/cascade.py index ebc1a60bf4..d40fd07430 100644 --- a/src/calibre/ebooks/oeb/polish/cascade.py +++ b/src/calibre/ebooks/oeb/polish/cascade.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/src/calibre/ebooks/oeb/polish/check/__init__.py b/src/calibre/ebooks/oeb/polish/check/__init__.py index d9dc36506c..69376f9ebd 100644 --- a/src/calibre/ebooks/oeb/polish/check/__init__.py +++ b/src/calibre/ebooks/oeb/polish/check/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/check/base.py b/src/calibre/ebooks/oeb/polish/check/base.py index 4410aeaa7a..db34c95a57 100644 --- a/src/calibre/ebooks/oeb/polish/check/base.py +++ b/src/calibre/ebooks/oeb/polish/check/base.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/check/fonts.py b/src/calibre/ebooks/oeb/polish/check/fonts.py index 1be1b0f3a7..7fd393183a 100644 --- a/src/calibre/ebooks/oeb/polish/check/fonts.py +++ b/src/calibre/ebooks/oeb/polish/check/fonts.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/check/images.py b/src/calibre/ebooks/oeb/polish/check/images.py index eafede376a..4923a23f0e 100644 --- a/src/calibre/ebooks/oeb/polish/check/images.py +++ b/src/calibre/ebooks/oeb/polish/check/images.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/check/links.py b/src/calibre/ebooks/oeb/polish/check/links.py index 451574a51e..7627432a78 100644 --- a/src/calibre/ebooks/oeb/polish/check/links.py +++ b/src/calibre/ebooks/oeb/polish/check/links.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/check/main.py b/src/calibre/ebooks/oeb/polish/check/main.py index f4715f50dc..241bdfc246 100644 --- a/src/calibre/ebooks/oeb/polish/check/main.py +++ b/src/calibre/ebooks/oeb/polish/check/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/check/opf.py b/src/calibre/ebooks/oeb/polish/check/opf.py index d57320c3fd..bb2d00cf96 100644 --- a/src/calibre/ebooks/oeb/polish/check/opf.py +++ b/src/calibre/ebooks/oeb/polish/check/opf.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/check/parsing.py b/src/calibre/ebooks/oeb/polish/check/parsing.py index 61d82b4b59..f2df70ce3e 100644 --- a/src/calibre/ebooks/oeb/polish/check/parsing.py +++ b/src/calibre/ebooks/oeb/polish/check/parsing.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/container.py b/src/calibre/ebooks/oeb/polish/container.py index ef0f7a0474..4472324973 100644 --- a/src/calibre/ebooks/oeb/polish/container.py +++ b/src/calibre/ebooks/oeb/polish/container.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai # License: GPLv3 Copyright: 2013, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/create.py b/src/calibre/ebooks/oeb/polish/create.py index 1028818a56..e10dd2490d 100644 --- a/src/calibre/ebooks/oeb/polish/create.py +++ b/src/calibre/ebooks/oeb/polish/create.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/css.py b/src/calibre/ebooks/oeb/polish/css.py index 7c96380c8b..6fb376e97c 100644 --- a/src/calibre/ebooks/oeb/polish/css.py +++ b/src/calibre/ebooks/oeb/polish/css.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/download.py b/src/calibre/ebooks/oeb/polish/download.py index b8cf0fc902..794eacbf19 100644 --- a/src/calibre/ebooks/oeb/polish/download.py +++ b/src/calibre/ebooks/oeb/polish/download.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/src/calibre/ebooks/oeb/polish/embed.py b/src/calibre/ebooks/oeb/polish/embed.py index 9948c6dfea..f24c89155e 100644 --- a/src/calibre/ebooks/oeb/polish/embed.py +++ b/src/calibre/ebooks/oeb/polish/embed.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/errors.py b/src/calibre/ebooks/oeb/polish/errors.py index d3946270aa..52eb164de0 100644 --- a/src/calibre/ebooks/oeb/polish/errors.py +++ b/src/calibre/ebooks/oeb/polish/errors.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/fonts.py b/src/calibre/ebooks/oeb/polish/fonts.py index 4a5a2e4d69..be381be9fd 100644 --- a/src/calibre/ebooks/oeb/polish/fonts.py +++ b/src/calibre/ebooks/oeb/polish/fonts.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/images.py b/src/calibre/ebooks/oeb/polish/images.py index 56cee5b8d3..958c9c4976 100644 --- a/src/calibre/ebooks/oeb/polish/images.py +++ b/src/calibre/ebooks/oeb/polish/images.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal diff --git a/src/calibre/ebooks/oeb/polish/import_book.py b/src/calibre/ebooks/oeb/polish/import_book.py index df9e196678..6699a91650 100644 --- a/src/calibre/ebooks/oeb/polish/import_book.py +++ b/src/calibre/ebooks/oeb/polish/import_book.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/jacket.py b/src/calibre/ebooks/oeb/polish/jacket.py index 9df5669a3d..a43f5dc82c 100644 --- a/src/calibre/ebooks/oeb/polish/jacket.py +++ b/src/calibre/ebooks/oeb/polish/jacket.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/main.py b/src/calibre/ebooks/oeb/polish/main.py index 815b114456..452244404d 100644 --- a/src/calibre/ebooks/oeb/polish/main.py +++ b/src/calibre/ebooks/oeb/polish/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/opf.py b/src/calibre/ebooks/oeb/polish/opf.py index b5aa6df079..12eba587fc 100644 --- a/src/calibre/ebooks/oeb/polish/opf.py +++ b/src/calibre/ebooks/oeb/polish/opf.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/parsing.py b/src/calibre/ebooks/oeb/polish/parsing.py index 2d0ee7dde3..66500357c0 100644 --- a/src/calibre/ebooks/oeb/polish/parsing.py +++ b/src/calibre/ebooks/oeb/polish/parsing.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/pretty.py b/src/calibre/ebooks/oeb/polish/pretty.py index e2e55ddc05..b6a195924a 100644 --- a/src/calibre/ebooks/oeb/polish/pretty.py +++ b/src/calibre/ebooks/oeb/polish/pretty.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/replace.py b/src/calibre/ebooks/oeb/polish/replace.py index 08fdbaaf0c..86ab5ae2be 100644 --- a/src/calibre/ebooks/oeb/polish/replace.py +++ b/src/calibre/ebooks/oeb/polish/replace.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/report.py b/src/calibre/ebooks/oeb/polish/report.py index 8dab7464af..cec2ffb217 100644 --- a/src/calibre/ebooks/oeb/polish/report.py +++ b/src/calibre/ebooks/oeb/polish/report.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/spell.py b/src/calibre/ebooks/oeb/polish/spell.py index 8ffe264bcb..ad97ccc7c5 100644 --- a/src/calibre/ebooks/oeb/polish/spell.py +++ b/src/calibre/ebooks/oeb/polish/spell.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/split.py b/src/calibre/ebooks/oeb/polish/split.py index e24440a370..4e3cfd8a0c 100644 --- a/src/calibre/ebooks/oeb/polish/split.py +++ b/src/calibre/ebooks/oeb/polish/split.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/stats.py b/src/calibre/ebooks/oeb/polish/stats.py index eb5aac053e..5a0aa55f8d 100644 --- a/src/calibre/ebooks/oeb/polish/stats.py +++ b/src/calibre/ebooks/oeb/polish/stats.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/subset.py b/src/calibre/ebooks/oeb/polish/subset.py index 9c79180891..18cbefc8c5 100644 --- a/src/calibre/ebooks/oeb/polish/subset.py +++ b/src/calibre/ebooks/oeb/polish/subset.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/tests/__init__.py b/src/calibre/ebooks/oeb/polish/tests/__init__.py index d9dc36506c..69376f9ebd 100644 --- a/src/calibre/ebooks/oeb/polish/tests/__init__.py +++ b/src/calibre/ebooks/oeb/polish/tests/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/tests/base.py b/src/calibre/ebooks/oeb/polish/tests/base.py index eb0e974f30..7801600698 100644 --- a/src/calibre/ebooks/oeb/polish/tests/base.py +++ b/src/calibre/ebooks/oeb/polish/tests/base.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/tests/cascade.py b/src/calibre/ebooks/oeb/polish/tests/cascade.py index 78ea976e2d..f1368bbbc5 100644 --- a/src/calibre/ebooks/oeb/polish/tests/cascade.py +++ b/src/calibre/ebooks/oeb/polish/tests/cascade.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/tests/container.py b/src/calibre/ebooks/oeb/polish/tests/container.py index 93fd9ab188..5335711ce3 100644 --- a/src/calibre/ebooks/oeb/polish/tests/container.py +++ b/src/calibre/ebooks/oeb/polish/tests/container.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/tests/main.py b/src/calibre/ebooks/oeb/polish/tests/main.py index b822b56078..81b084b6c1 100644 --- a/src/calibre/ebooks/oeb/polish/tests/main.py +++ b/src/calibre/ebooks/oeb/polish/tests/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/tests/parsing.py b/src/calibre/ebooks/oeb/polish/tests/parsing.py index 0884102ef0..73eca065ab 100644 --- a/src/calibre/ebooks/oeb/polish/tests/parsing.py +++ b/src/calibre/ebooks/oeb/polish/tests/parsing.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/tests/structure.py b/src/calibre/ebooks/oeb/polish/tests/structure.py index a2a04bae7d..94e34b1638 100644 --- a/src/calibre/ebooks/oeb/polish/tests/structure.py +++ b/src/calibre/ebooks/oeb/polish/tests/structure.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/src/calibre/ebooks/oeb/polish/toc.py b/src/calibre/ebooks/oeb/polish/toc.py index 6af462d5d2..cd314db547 100644 --- a/src/calibre/ebooks/oeb/polish/toc.py +++ b/src/calibre/ebooks/oeb/polish/toc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/polish/upgrade.py b/src/calibre/ebooks/oeb/polish/upgrade.py index be8d1ab444..602be884e4 100644 --- a/src/calibre/ebooks/oeb/polish/upgrade.py +++ b/src/calibre/ebooks/oeb/polish/upgrade.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2018, Kovid Goyal diff --git a/src/calibre/ebooks/oeb/polish/utils.py b/src/calibre/ebooks/oeb/polish/utils.py index b502578b64..a1cdfa35ed 100644 --- a/src/calibre/ebooks/oeb/polish/utils.py +++ b/src/calibre/ebooks/oeb/polish/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/transforms/__init__.py b/src/calibre/ebooks/oeb/transforms/__init__.py index 720ff711e6..a9b056d940 100644 --- a/src/calibre/ebooks/oeb/transforms/__init__.py +++ b/src/calibre/ebooks/oeb/transforms/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/transforms/cover.py b/src/calibre/ebooks/oeb/transforms/cover.py index 4409f0cf83..3f948195a1 100644 --- a/src/calibre/ebooks/oeb/transforms/cover.py +++ b/src/calibre/ebooks/oeb/transforms/cover.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/transforms/data_url.py b/src/calibre/ebooks/oeb/transforms/data_url.py index 829354c68b..0ff3de7727 100644 --- a/src/calibre/ebooks/oeb/transforms/data_url.py +++ b/src/calibre/ebooks/oeb/transforms/data_url.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/transforms/embed_fonts.py b/src/calibre/ebooks/oeb/transforms/embed_fonts.py index d93b5face1..14c94d807e 100644 --- a/src/calibre/ebooks/oeb/transforms/embed_fonts.py +++ b/src/calibre/ebooks/oeb/transforms/embed_fonts.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/transforms/filenames.py b/src/calibre/ebooks/oeb/transforms/filenames.py index 1539663370..69c3ae59cf 100644 --- a/src/calibre/ebooks/oeb/transforms/filenames.py +++ b/src/calibre/ebooks/oeb/transforms/filenames.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/transforms/guide.py b/src/calibre/ebooks/oeb/transforms/guide.py index e935d79cd4..dbd1a9c595 100644 --- a/src/calibre/ebooks/oeb/transforms/guide.py +++ b/src/calibre/ebooks/oeb/transforms/guide.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/transforms/jacket.py b/src/calibre/ebooks/oeb/transforms/jacket.py index 6fde4ac120..4d687e369c 100644 --- a/src/calibre/ebooks/oeb/transforms/jacket.py +++ b/src/calibre/ebooks/oeb/transforms/jacket.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/transforms/linearize_tables.py b/src/calibre/ebooks/oeb/transforms/linearize_tables.py index e86d4dd18e..8dc70d3040 100644 --- a/src/calibre/ebooks/oeb/transforms/linearize_tables.py +++ b/src/calibre/ebooks/oeb/transforms/linearize_tables.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/transforms/metadata.py b/src/calibre/ebooks/oeb/transforms/metadata.py index 71c3a7e1c0..a7de238371 100644 --- a/src/calibre/ebooks/oeb/transforms/metadata.py +++ b/src/calibre/ebooks/oeb/transforms/metadata.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/transforms/page_margin.py b/src/calibre/ebooks/oeb/transforms/page_margin.py index 6f42afc2ea..e2992a95af 100644 --- a/src/calibre/ebooks/oeb/transforms/page_margin.py +++ b/src/calibre/ebooks/oeb/transforms/page_margin.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/transforms/rescale.py b/src/calibre/ebooks/oeb/transforms/rescale.py index 214c89509e..df9172da3d 100644 --- a/src/calibre/ebooks/oeb/transforms/rescale.py +++ b/src/calibre/ebooks/oeb/transforms/rescale.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/transforms/structure.py b/src/calibre/ebooks/oeb/transforms/structure.py index cd5211c156..0de0994728 100644 --- a/src/calibre/ebooks/oeb/transforms/structure.py +++ b/src/calibre/ebooks/oeb/transforms/structure.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/oeb/transforms/subset.py b/src/calibre/ebooks/oeb/transforms/subset.py index 070dc65b1e..47c43c8e08 100644 --- a/src/calibre/ebooks/oeb/transforms/subset.py +++ b/src/calibre/ebooks/oeb/transforms/subset.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/pdb/haodoo/__init__.py b/src/calibre/ebooks/pdb/haodoo/__init__.py index 357137fa39..5f6c324bfc 100644 --- a/src/calibre/ebooks/pdb/haodoo/__init__.py +++ b/src/calibre/ebooks/pdb/haodoo/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/pdf/__init__.py b/src/calibre/ebooks/pdf/__init__.py index c23e175ece..7719a77e95 100644 --- a/src/calibre/ebooks/pdf/__init__.py +++ b/src/calibre/ebooks/pdf/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __license__ = 'GPL v3' diff --git a/src/calibre/ebooks/pdf/develop.py b/src/calibre/ebooks/pdf/develop.py index e9d88e61d0..928184f194 100644 --- a/src/calibre/ebooks/pdf/develop.py +++ b/src/calibre/ebooks/pdf/develop.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Kovid Goyal diff --git a/src/calibre/ebooks/pdf/html_writer.py b/src/calibre/ebooks/pdf/html_writer.py index 1455c359d1..8eca73ee37 100644 --- a/src/calibre/ebooks/pdf/html_writer.py +++ b/src/calibre/ebooks/pdf/html_writer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Kovid Goyal diff --git a/src/calibre/ebooks/pdf/image_writer.py b/src/calibre/ebooks/pdf/image_writer.py index 2682c9c0dc..d76ccb533c 100644 --- a/src/calibre/ebooks/pdf/image_writer.py +++ b/src/calibre/ebooks/pdf/image_writer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Kovid Goyal diff --git a/src/calibre/ebooks/pdf/pdftohtml.py b/src/calibre/ebooks/pdf/pdftohtml.py index 9df116bd6f..bee3ba4599 100644 --- a/src/calibre/ebooks/pdf/pdftohtml.py +++ b/src/calibre/ebooks/pdf/pdftohtml.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2008, Kovid Goyal diff --git a/src/calibre/ebooks/pdf/reflow.py b/src/calibre/ebooks/pdf/reflow.py index 8987672322..842a09cd69 100644 --- a/src/calibre/ebooks/pdf/reflow.py +++ b/src/calibre/ebooks/pdf/reflow.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/pdf/render/__init__.py b/src/calibre/ebooks/pdf/render/__init__.py index d7ade49452..2b86b54dc3 100644 --- a/src/calibre/ebooks/pdf/render/__init__.py +++ b/src/calibre/ebooks/pdf/render/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/pdf/render/common.py b/src/calibre/ebooks/pdf/render/common.py index 1b5f66c239..f4496af042 100644 --- a/src/calibre/ebooks/pdf/render/common.py +++ b/src/calibre/ebooks/pdf/render/common.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/pdf/render/fonts.py b/src/calibre/ebooks/pdf/render/fonts.py index 0dc20c5363..9319597c88 100644 --- a/src/calibre/ebooks/pdf/render/fonts.py +++ b/src/calibre/ebooks/pdf/render/fonts.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/pdf/render/gradients.py b/src/calibre/ebooks/pdf/render/gradients.py index 33e5342577..c23eac0f0c 100644 --- a/src/calibre/ebooks/pdf/render/gradients.py +++ b/src/calibre/ebooks/pdf/render/gradients.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/pdf/render/graphics.py b/src/calibre/ebooks/pdf/render/graphics.py index 2cd3e9c3ca..f1c788ffb2 100644 --- a/src/calibre/ebooks/pdf/render/graphics.py +++ b/src/calibre/ebooks/pdf/render/graphics.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/pdf/render/links.py b/src/calibre/ebooks/pdf/render/links.py index e4a05e59da..51457d5483 100644 --- a/src/calibre/ebooks/pdf/render/links.py +++ b/src/calibre/ebooks/pdf/render/links.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/pdf/render/serialize.py b/src/calibre/ebooks/pdf/render/serialize.py index 027ecaf838..4d3e22628c 100644 --- a/src/calibre/ebooks/pdf/render/serialize.py +++ b/src/calibre/ebooks/pdf/render/serialize.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/pdf/test_html_writer.py b/src/calibre/ebooks/pdf/test_html_writer.py index 0cebe5a9ee..a8c1937b32 100644 --- a/src/calibre/ebooks/pdf/test_html_writer.py +++ b/src/calibre/ebooks/pdf/test_html_writer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Kovid Goyal diff --git a/src/calibre/ebooks/readability/readability.py b/src/calibre/ebooks/readability/readability.py index e8cb581b10..9ffd484e10 100644 --- a/src/calibre/ebooks/readability/readability.py +++ b/src/calibre/ebooks/readability/readability.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/render_html.py b/src/calibre/ebooks/render_html.py index 1dbb85e966..158b5891eb 100644 --- a/src/calibre/ebooks/render_html.py +++ b/src/calibre/ebooks/render_html.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Kovid Goyal diff --git a/src/calibre/ebooks/rtf/preprocess.py b/src/calibre/ebooks/rtf/preprocess.py index c65b853f8e..f78089c4ba 100644 --- a/src/calibre/ebooks/rtf/preprocess.py +++ b/src/calibre/ebooks/rtf/preprocess.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/rtf2xml/ParseRtf.py b/src/calibre/ebooks/rtf2xml/ParseRtf.py index 164e706a03..91737da2a3 100644 --- a/src/calibre/ebooks/rtf2xml/ParseRtf.py +++ b/src/calibre/ebooks/rtf2xml/ParseRtf.py @@ -32,7 +32,7 @@ from . import open_for_read, open_for_write """ Here is an example script using the ParseRTF module directly -#!/usr/bin/env python2 +#!/usr/bin/env python def Handle_Main(): # Handles options and creates a parse object diff --git a/src/calibre/ebooks/rtf2xml/check_encoding.py b/src/calibre/ebooks/rtf2xml/check_encoding.py index c98a4cfce3..4b37d7a987 100644 --- a/src/calibre/ebooks/rtf2xml/check_encoding.py +++ b/src/calibre/ebooks/rtf2xml/check_encoding.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals import sys diff --git a/src/calibre/ebooks/snb/__init__.py b/src/calibre/ebooks/snb/__init__.py index 25d2014767..8960b40971 100644 --- a/src/calibre/ebooks/snb/__init__.py +++ b/src/calibre/ebooks/snb/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __license__ = 'GPL v3' diff --git a/src/calibre/ebooks/textile/functions.py b/src/calibre/ebooks/textile/functions.py index 5029a2a689..46ada607d5 100644 --- a/src/calibre/ebooks/textile/functions.py +++ b/src/calibre/ebooks/textile/functions.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/tweak.py b/src/calibre/ebooks/tweak.py index 8f75a5a150..6a6cd59ae5 100644 --- a/src/calibre/ebooks/tweak.py +++ b/src/calibre/ebooks/tweak.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/ebooks/txt/__init__.py b/src/calibre/ebooks/txt/__init__.py index 5d05174184..226ecb3c60 100644 --- a/src/calibre/ebooks/txt/__init__.py +++ b/src/calibre/ebooks/txt/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/__init__.py b/src/calibre/gui2/actions/__init__.py index 9c916cc6fa..ebfe600c7c 100644 --- a/src/calibre/gui2/actions/__init__.py +++ b/src/calibre/gui2/actions/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/add.py b/src/calibre/gui2/actions/add.py index c22d5d2bf5..3ab0425971 100644 --- a/src/calibre/gui2/actions/add.py +++ b/src/calibre/gui2/actions/add.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/add_to_library.py b/src/calibre/gui2/actions/add_to_library.py index 038c503bfb..bf406a2ef4 100644 --- a/src/calibre/gui2/actions/add_to_library.py +++ b/src/calibre/gui2/actions/add_to_library.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/annotate.py b/src/calibre/gui2/actions/annotate.py index c1c38097a2..516c4d209c 100644 --- a/src/calibre/gui2/actions/annotate.py +++ b/src/calibre/gui2/actions/annotate.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/author_mapper.py b/src/calibre/gui2/actions/author_mapper.py index dade6a69d0..8d708a8b10 100644 --- a/src/calibre/gui2/actions/author_mapper.py +++ b/src/calibre/gui2/actions/author_mapper.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal diff --git a/src/calibre/gui2/actions/catalog.py b/src/calibre/gui2/actions/catalog.py index 5165ab7800..942b27ff60 100644 --- a/src/calibre/gui2/actions/catalog.py +++ b/src/calibre/gui2/actions/catalog.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/choose_library.py b/src/calibre/gui2/actions/choose_library.py index 39b677f963..f3960669b3 100644 --- a/src/calibre/gui2/actions/choose_library.py +++ b/src/calibre/gui2/actions/choose_library.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/convert.py b/src/calibre/gui2/actions/convert.py index f801b5c0fd..1063e729c7 100644 --- a/src/calibre/gui2/actions/convert.py +++ b/src/calibre/gui2/actions/convert.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/copy_to_library.py b/src/calibre/gui2/actions/copy_to_library.py index bc53698c5a..64889cf945 100644 --- a/src/calibre/gui2/actions/copy_to_library.py +++ b/src/calibre/gui2/actions/copy_to_library.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/delete.py b/src/calibre/gui2/actions/delete.py index da46d1518e..f2ad6ca4b6 100644 --- a/src/calibre/gui2/actions/delete.py +++ b/src/calibre/gui2/actions/delete.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/device.py b/src/calibre/gui2/actions/device.py index a01195f591..8928b5febc 100644 --- a/src/calibre/gui2/actions/device.py +++ b/src/calibre/gui2/actions/device.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/edit_collections.py b/src/calibre/gui2/actions/edit_collections.py index 9c84de395c..2428bd42d9 100644 --- a/src/calibre/gui2/actions/edit_collections.py +++ b/src/calibre/gui2/actions/edit_collections.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/edit_metadata.py b/src/calibre/gui2/actions/edit_metadata.py index f385defff9..52113ef5c7 100644 --- a/src/calibre/gui2/actions/edit_metadata.py +++ b/src/calibre/gui2/actions/edit_metadata.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/embed.py b/src/calibre/gui2/actions/embed.py index 39aae059c0..8baea5f958 100644 --- a/src/calibre/gui2/actions/embed.py +++ b/src/calibre/gui2/actions/embed.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/fetch_news.py b/src/calibre/gui2/actions/fetch_news.py index eabc5a9869..a2e263a5cf 100644 --- a/src/calibre/gui2/actions/fetch_news.py +++ b/src/calibre/gui2/actions/fetch_news.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/help.py b/src/calibre/gui2/actions/help.py index da47c29d80..c1c6176146 100644 --- a/src/calibre/gui2/actions/help.py +++ b/src/calibre/gui2/actions/help.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/mark_books.py b/src/calibre/gui2/actions/mark_books.py index aea842b982..3e967c6581 100644 --- a/src/calibre/gui2/actions/mark_books.py +++ b/src/calibre/gui2/actions/mark_books.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/match_books.py b/src/calibre/gui2/actions/match_books.py index d481489b8d..a1240018c5 100644 --- a/src/calibre/gui2/actions/match_books.py +++ b/src/calibre/gui2/actions/match_books.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/next_match.py b/src/calibre/gui2/actions/next_match.py index a47844a075..648e9f856d 100644 --- a/src/calibre/gui2/actions/next_match.py +++ b/src/calibre/gui2/actions/next_match.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/open.py b/src/calibre/gui2/actions/open.py index 4cb27c6711..73ddc4768e 100644 --- a/src/calibre/gui2/actions/open.py +++ b/src/calibre/gui2/actions/open.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/plugin_updates.py b/src/calibre/gui2/actions/plugin_updates.py index c573acbec8..c24723a887 100644 --- a/src/calibre/gui2/actions/plugin_updates.py +++ b/src/calibre/gui2/actions/plugin_updates.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/polish.py b/src/calibre/gui2/actions/polish.py index aca1f415df..dfb4e73148 100644 --- a/src/calibre/gui2/actions/polish.py +++ b/src/calibre/gui2/actions/polish.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/preferences.py b/src/calibre/gui2/actions/preferences.py index 665a335251..4656885c8e 100644 --- a/src/calibre/gui2/actions/preferences.py +++ b/src/calibre/gui2/actions/preferences.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/random.py b/src/calibre/gui2/actions/random.py index 2b31c99a10..cde02427f7 100644 --- a/src/calibre/gui2/actions/random.py +++ b/src/calibre/gui2/actions/random.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/restart.py b/src/calibre/gui2/actions/restart.py index 9ce20eb6ed..8428f69d33 100644 --- a/src/calibre/gui2/actions/restart.py +++ b/src/calibre/gui2/actions/restart.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/save_to_disk.py b/src/calibre/gui2/actions/save_to_disk.py index 28b16200c6..b4818591e0 100644 --- a/src/calibre/gui2/actions/save_to_disk.py +++ b/src/calibre/gui2/actions/save_to_disk.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/show_book_details.py b/src/calibre/gui2/actions/show_book_details.py index 07a039eb4a..8d62f67c86 100644 --- a/src/calibre/gui2/actions/show_book_details.py +++ b/src/calibre/gui2/actions/show_book_details.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/show_quickview.py b/src/calibre/gui2/actions/show_quickview.py index 4e9e0e681e..f404207a3c 100644 --- a/src/calibre/gui2/actions/show_quickview.py +++ b/src/calibre/gui2/actions/show_quickview.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/show_template_tester.py b/src/calibre/gui2/actions/show_template_tester.py index 5e2d5382c5..af78359570 100644 --- a/src/calibre/gui2/actions/show_template_tester.py +++ b/src/calibre/gui2/actions/show_template_tester.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/similar_books.py b/src/calibre/gui2/actions/similar_books.py index c355425c14..879d888648 100644 --- a/src/calibre/gui2/actions/similar_books.py +++ b/src/calibre/gui2/actions/similar_books.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/sort.py b/src/calibre/gui2/actions/sort.py index 5adc8497d3..890ac4c709 100644 --- a/src/calibre/gui2/actions/sort.py +++ b/src/calibre/gui2/actions/sort.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/tag_mapper.py b/src/calibre/gui2/actions/tag_mapper.py index 5bc5ae6e6a..785ba911f8 100644 --- a/src/calibre/gui2/actions/tag_mapper.py +++ b/src/calibre/gui2/actions/tag_mapper.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal diff --git a/src/calibre/gui2/actions/toc_edit.py b/src/calibre/gui2/actions/toc_edit.py index f830245b74..0cd79d27b4 100644 --- a/src/calibre/gui2/actions/toc_edit.py +++ b/src/calibre/gui2/actions/toc_edit.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/tweak_epub.py b/src/calibre/gui2/actions/tweak_epub.py index d4c343cf6f..5cab1405cd 100644 --- a/src/calibre/gui2/actions/tweak_epub.py +++ b/src/calibre/gui2/actions/tweak_epub.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/unpack_book.py b/src/calibre/gui2/actions/unpack_book.py index ff0f577487..1fa4c96fb8 100644 --- a/src/calibre/gui2/actions/unpack_book.py +++ b/src/calibre/gui2/actions/unpack_book.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/view.py b/src/calibre/gui2/actions/view.py index 9bfdf925b7..6592277465 100644 --- a/src/calibre/gui2/actions/view.py +++ b/src/calibre/gui2/actions/view.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/actions/virtual_library.py b/src/calibre/gui2/actions/virtual_library.py index 496836257f..4efdf345ef 100644 --- a/src/calibre/gui2/actions/virtual_library.py +++ b/src/calibre/gui2/actions/virtual_library.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2018, Kovid Goyal diff --git a/src/calibre/gui2/add.py b/src/calibre/gui2/add.py index c2cfb69af3..374d579b57 100644 --- a/src/calibre/gui2/add.py +++ b/src/calibre/gui2/add.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/add_filters.py b/src/calibre/gui2/add_filters.py index 3d62e136fa..9e750de11a 100644 --- a/src/calibre/gui2/add_filters.py +++ b/src/calibre/gui2/add_filters.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal diff --git a/src/calibre/gui2/author_mapper.py b/src/calibre/gui2/author_mapper.py index a5f52678d1..d83889156d 100644 --- a/src/calibre/gui2/author_mapper.py +++ b/src/calibre/gui2/author_mapper.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2018, Kovid Goyal diff --git a/src/calibre/gui2/auto_add.py b/src/calibre/gui2/auto_add.py index ed7964febd..34a01ec4b4 100644 --- a/src/calibre/gui2/auto_add.py +++ b/src/calibre/gui2/auto_add.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/bars.py b/src/calibre/gui2/bars.py index 6c1459c944..d49a5472f9 100644 --- a/src/calibre/gui2/bars.py +++ b/src/calibre/gui2/bars.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/book_details.py b/src/calibre/gui2/book_details.py index dc1a3796fa..3a9c2fb5c4 100644 --- a/src/calibre/gui2/book_details.py +++ b/src/calibre/gui2/book_details.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # License: GPLv3 Copyright: 2010, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/catalog/catalog_bibtex.py b/src/calibre/gui2/catalog/catalog_bibtex.py index 1bb607ae74..03d262c4ac 100644 --- a/src/calibre/gui2/catalog/catalog_bibtex.py +++ b/src/calibre/gui2/catalog/catalog_bibtex.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/catalog/catalog_csv_xml.py b/src/calibre/gui2/catalog/catalog_csv_xml.py index fbd43eb0f7..7a63e1bbb9 100644 --- a/src/calibre/gui2/catalog/catalog_csv_xml.py +++ b/src/calibre/gui2/catalog/catalog_csv_xml.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/catalog/catalog_epub_mobi.py b/src/calibre/gui2/catalog/catalog_epub_mobi.py index 2353a78440..96935b0977 100644 --- a/src/calibre/gui2/catalog/catalog_epub_mobi.py +++ b/src/calibre/gui2/catalog/catalog_epub_mobi.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/changes.py b/src/calibre/gui2/changes.py index d51fe442e9..f3f1977868 100644 --- a/src/calibre/gui2/changes.py +++ b/src/calibre/gui2/changes.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/gui2/comments_editor.py b/src/calibre/gui2/comments_editor.py index 5dfd612d5a..3660dbeafd 100644 --- a/src/calibre/gui2/comments_editor.py +++ b/src/calibre/gui2/comments_editor.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # License: GPLv3 Copyright: 2010, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/complete2.py b/src/calibre/gui2/complete2.py index 70644396a1..a3b3ca88bb 100644 --- a/src/calibre/gui2/complete2.py +++ b/src/calibre/gui2/complete2.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/convert/__init__.py b/src/calibre/gui2/convert/__init__.py index 9230b6d673..a9c2e10420 100644 --- a/src/calibre/gui2/convert/__init__.py +++ b/src/calibre/gui2/convert/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/convert/azw3_output.py b/src/calibre/gui2/convert/azw3_output.py index b64c0dd27c..375e3c7687 100644 --- a/src/calibre/gui2/convert/azw3_output.py +++ b/src/calibre/gui2/convert/azw3_output.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/convert/comic_input.py b/src/calibre/gui2/convert/comic_input.py index 0c710431a7..0c9a8b0fd2 100644 --- a/src/calibre/gui2/convert/comic_input.py +++ b/src/calibre/gui2/convert/comic_input.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/convert/debug.py b/src/calibre/gui2/convert/debug.py index 49bd3624bf..f39a9d7599 100644 --- a/src/calibre/gui2/convert/debug.py +++ b/src/calibre/gui2/convert/debug.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/convert/docx_input.py b/src/calibre/gui2/convert/docx_input.py index acd1357edd..dbe423faa9 100644 --- a/src/calibre/gui2/convert/docx_input.py +++ b/src/calibre/gui2/convert/docx_input.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/convert/epub_output.py b/src/calibre/gui2/convert/epub_output.py index c43e2817ed..1a4bba8a5f 100644 --- a/src/calibre/gui2/convert/epub_output.py +++ b/src/calibre/gui2/convert/epub_output.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/convert/font_key.py b/src/calibre/gui2/convert/font_key.py index dc4dfbf031..5783303b2d 100644 --- a/src/calibre/gui2/convert/font_key.py +++ b/src/calibre/gui2/convert/font_key.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/convert/look_and_feel.py b/src/calibre/gui2/convert/look_and_feel.py index 6e76aa735c..3fe690bbdd 100644 --- a/src/calibre/gui2/convert/look_and_feel.py +++ b/src/calibre/gui2/convert/look_and_feel.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/convert/lrf_output.py b/src/calibre/gui2/convert/lrf_output.py index 992266c6dc..494ee345fe 100644 --- a/src/calibre/gui2/convert/lrf_output.py +++ b/src/calibre/gui2/convert/lrf_output.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/convert/metadata.py b/src/calibre/gui2/convert/metadata.py index ef923cc5d0..e6a86963aa 100644 --- a/src/calibre/gui2/convert/metadata.py +++ b/src/calibre/gui2/convert/metadata.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/convert/mobi_output.py b/src/calibre/gui2/convert/mobi_output.py index e17431869e..45378cb2d9 100644 --- a/src/calibre/gui2/convert/mobi_output.py +++ b/src/calibre/gui2/convert/mobi_output.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/convert/page_setup.py b/src/calibre/gui2/convert/page_setup.py index 45b7539bba..26f8628ac1 100644 --- a/src/calibre/gui2/convert/page_setup.py +++ b/src/calibre/gui2/convert/page_setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/convert/rtf_input.py b/src/calibre/gui2/convert/rtf_input.py index d0c86db01f..04d94ffd0b 100644 --- a/src/calibre/gui2/convert/rtf_input.py +++ b/src/calibre/gui2/convert/rtf_input.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/convert/single.py b/src/calibre/gui2/convert/single.py index a391274e2c..763e972bb7 100644 --- a/src/calibre/gui2/convert/single.py +++ b/src/calibre/gui2/convert/single.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # License: GPLv3 Copyright: 2009, Kovid Goyal diff --git a/src/calibre/gui2/convert/structure_detection.py b/src/calibre/gui2/convert/structure_detection.py index 2e9cd88505..418dabec19 100644 --- a/src/calibre/gui2/convert/structure_detection.py +++ b/src/calibre/gui2/convert/structure_detection.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/convert/toc.py b/src/calibre/gui2/convert/toc.py index 34be14a83c..f75bca1279 100644 --- a/src/calibre/gui2/convert/toc.py +++ b/src/calibre/gui2/convert/toc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/convert/xpath_wizard.py b/src/calibre/gui2/convert/xpath_wizard.py index feb6fc123d..9789462947 100644 --- a/src/calibre/gui2/convert/xpath_wizard.py +++ b/src/calibre/gui2/convert/xpath_wizard.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/cover_flow.py b/src/calibre/gui2/cover_flow.py index 50d320ad3d..a3a397dccf 100644 --- a/src/calibre/gui2/cover_flow.py +++ b/src/calibre/gui2/cover_flow.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __license__ = 'GPL v3' diff --git a/src/calibre/gui2/covers.py b/src/calibre/gui2/covers.py index 7495f1049e..cb7de3af2e 100644 --- a/src/calibre/gui2/covers.py +++ b/src/calibre/gui2/covers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/css_transform_rules.py b/src/calibre/gui2/css_transform_rules.py index 24a6fe6d03..6f46595d55 100644 --- a/src/calibre/gui2/css_transform_rules.py +++ b/src/calibre/gui2/css_transform_rules.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/src/calibre/gui2/custom_column_widgets.py b/src/calibre/gui2/custom_column_widgets.py index d73e3cd9d9..b0421949c9 100644 --- a/src/calibre/gui2/custom_column_widgets.py +++ b/src/calibre/gui2/custom_column_widgets.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dbus_export/__init__.py b/src/calibre/gui2/dbus_export/__init__.py index ac1e8aa532..996f48f52a 100644 --- a/src/calibre/gui2/dbus_export/__init__.py +++ b/src/calibre/gui2/dbus_export/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dbus_export/demo.py b/src/calibre/gui2/dbus_export/demo.py index bd0528a066..7aac2681a2 100644 --- a/src/calibre/gui2/dbus_export/demo.py +++ b/src/calibre/gui2/dbus_export/demo.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dbus_export/gtk.py b/src/calibre/gui2/dbus_export/gtk.py index 391be31d2b..8d101ec49c 100644 --- a/src/calibre/gui2/dbus_export/gtk.py +++ b/src/calibre/gui2/dbus_export/gtk.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dbus_export/menu.py b/src/calibre/gui2/dbus_export/menu.py index d6b4164a9e..1f0d5e9826 100644 --- a/src/calibre/gui2/dbus_export/menu.py +++ b/src/calibre/gui2/dbus_export/menu.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dbus_export/menu2.py b/src/calibre/gui2/dbus_export/menu2.py index 37d6c332ec..87381c2a39 100644 --- a/src/calibre/gui2/dbus_export/menu2.py +++ b/src/calibre/gui2/dbus_export/menu2.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dbus_export/tray.py b/src/calibre/gui2/dbus_export/tray.py index 66c1a75538..c4db698060 100644 --- a/src/calibre/gui2/dbus_export/tray.py +++ b/src/calibre/gui2/dbus_export/tray.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dbus_export/utils.py b/src/calibre/gui2/dbus_export/utils.py index e1245782c6..a0f45a69de 100644 --- a/src/calibre/gui2/dbus_export/utils.py +++ b/src/calibre/gui2/dbus_export/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dbus_export/widgets.py b/src/calibre/gui2/dbus_export/widgets.py index 73b5754031..aa950a4fdb 100644 --- a/src/calibre/gui2/dbus_export/widgets.py +++ b/src/calibre/gui2/dbus_export/widgets.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/device_drivers/mtp_config.py b/src/calibre/gui2/device_drivers/mtp_config.py index c957c4c1f5..61d17fe9bd 100644 --- a/src/calibre/gui2/device_drivers/mtp_config.py +++ b/src/calibre/gui2/device_drivers/mtp_config.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/device_drivers/mtp_folder_browser.py b/src/calibre/gui2/device_drivers/mtp_folder_browser.py index bd13da7790..6a9a1a7737 100644 --- a/src/calibre/gui2/device_drivers/mtp_folder_browser.py +++ b/src/calibre/gui2/device_drivers/mtp_folder_browser.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/device_drivers/tabbed_device_config.py b/src/calibre/gui2/device_drivers/tabbed_device_config.py index 48df18bf4c..0a97e8350f 100644 --- a/src/calibre/gui2/device_drivers/tabbed_device_config.py +++ b/src/calibre/gui2/device_drivers/tabbed_device_config.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import (unicode_literals, # division, absolute_import, print_function) diff --git a/src/calibre/gui2/dialogs/add_empty_book.py b/src/calibre/gui2/dialogs/add_empty_book.py index f7a212b7e2..ce87b28a93 100644 --- a/src/calibre/gui2/dialogs/add_empty_book.py +++ b/src/calibre/gui2/dialogs/add_empty_book.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' diff --git a/src/calibre/gui2/dialogs/add_from_isbn.py b/src/calibre/gui2/dialogs/add_from_isbn.py index ffd3776a10..4f8fca65a5 100644 --- a/src/calibre/gui2/dialogs/add_from_isbn.py +++ b/src/calibre/gui2/dialogs/add_from_isbn.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dialogs/authors_edit.py b/src/calibre/gui2/dialogs/authors_edit.py index 1aecf58b94..76b87897b8 100644 --- a/src/calibre/gui2/dialogs/authors_edit.py +++ b/src/calibre/gui2/dialogs/authors_edit.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dialogs/book_info.py b/src/calibre/gui2/dialogs/book_info.py index 8ee43c5fd5..d1c514b339 100644 --- a/src/calibre/gui2/dialogs/book_info.py +++ b/src/calibre/gui2/dialogs/book_info.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # License: GPLv3 Copyright: 2008, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dialogs/catalog.py b/src/calibre/gui2/dialogs/catalog.py index f4701ea6cf..de0e838337 100644 --- a/src/calibre/gui2/dialogs/catalog.py +++ b/src/calibre/gui2/dialogs/catalog.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dialogs/check_library.py b/src/calibre/gui2/dialogs/check_library.py index c2008c4080..2b885ca1a3 100644 --- a/src/calibre/gui2/dialogs/check_library.py +++ b/src/calibre/gui2/dialogs/check_library.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' diff --git a/src/calibre/gui2/dialogs/choose_library.py b/src/calibre/gui2/dialogs/choose_library.py index 207bb1cf09..1ac0ff4ce1 100644 --- a/src/calibre/gui2/dialogs/choose_library.py +++ b/src/calibre/gui2/dialogs/choose_library.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dialogs/choose_plugin_toolbars.py b/src/calibre/gui2/dialogs/choose_plugin_toolbars.py index 3b748c150d..7ee151f66b 100644 --- a/src/calibre/gui2/dialogs/choose_plugin_toolbars.py +++ b/src/calibre/gui2/dialogs/choose_plugin_toolbars.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dialogs/comments_dialog.py b/src/calibre/gui2/dialogs/comments_dialog.py index 13c4d72b8a..557887fe4e 100644 --- a/src/calibre/gui2/dialogs/comments_dialog.py +++ b/src/calibre/gui2/dialogs/comments_dialog.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' diff --git a/src/calibre/gui2/dialogs/confirm_delete.py b/src/calibre/gui2/dialogs/confirm_delete.py index 6fadd8d684..5dd8feddd0 100644 --- a/src/calibre/gui2/dialogs/confirm_delete.py +++ b/src/calibre/gui2/dialogs/confirm_delete.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __license__ = 'GPL v3' diff --git a/src/calibre/gui2/dialogs/confirm_delete_location.py b/src/calibre/gui2/dialogs/confirm_delete_location.py index 12e4a78144..d280264699 100644 --- a/src/calibre/gui2/dialogs/confirm_delete_location.py +++ b/src/calibre/gui2/dialogs/confirm_delete_location.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __license__ = 'GPL v3' diff --git a/src/calibre/gui2/dialogs/confirm_merge.py b/src/calibre/gui2/dialogs/confirm_merge.py index 31841a2844..f7eaa12639 100644 --- a/src/calibre/gui2/dialogs/confirm_merge.py +++ b/src/calibre/gui2/dialogs/confirm_merge.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dialogs/custom_recipes.py b/src/calibre/gui2/dialogs/custom_recipes.py index 91727ccfa0..ba3d6ed9c6 100644 --- a/src/calibre/gui2/dialogs/custom_recipes.py +++ b/src/calibre/gui2/dialogs/custom_recipes.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals @@ -143,9 +143,8 @@ def options_to_recipe_source(title, oldest_article, max_articles_per_feed, feeds if feeds: feeds = 'feeds = [\n%s\n ]' % feeds src = textwrap.dedent('''\ - #!/usr/bin/env python2 + #!/usr/bin/env python # vim:fileencoding=utf-8 - from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import {base} class {classname}({base}): diff --git a/src/calibre/gui2/dialogs/delete_matching_from_device.py b/src/calibre/gui2/dialogs/delete_matching_from_device.py index 04a41d22c0..456d3b042e 100644 --- a/src/calibre/gui2/dialogs/delete_matching_from_device.py +++ b/src/calibre/gui2/dialogs/delete_matching_from_device.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' diff --git a/src/calibre/gui2/dialogs/drm_error.py b/src/calibre/gui2/dialogs/drm_error.py index 195d869402..f24098f314 100644 --- a/src/calibre/gui2/dialogs/drm_error.py +++ b/src/calibre/gui2/dialogs/drm_error.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dialogs/duplicates.py b/src/calibre/gui2/dialogs/duplicates.py index edf4a1f0a8..f7c076aef5 100644 --- a/src/calibre/gui2/dialogs/duplicates.py +++ b/src/calibre/gui2/dialogs/duplicates.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dialogs/edit_authors_dialog.py b/src/calibre/gui2/dialogs/edit_authors_dialog.py index b7cb44d52b..7c41a15413 100644 --- a/src/calibre/gui2/dialogs/edit_authors_dialog.py +++ b/src/calibre/gui2/dialogs/edit_authors_dialog.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' diff --git a/src/calibre/gui2/dialogs/exim.py b/src/calibre/gui2/dialogs/exim.py index 995711355c..9834b810d7 100644 --- a/src/calibre/gui2/dialogs/exim.py +++ b/src/calibre/gui2/dialogs/exim.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal diff --git a/src/calibre/gui2/dialogs/match_books.py b/src/calibre/gui2/dialogs/match_books.py index d607690569..b63e315ea0 100644 --- a/src/calibre/gui2/dialogs/match_books.py +++ b/src/calibre/gui2/dialogs/match_books.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dialogs/message_box.py b/src/calibre/gui2/dialogs/message_box.py index 463bdf43b3..35e46b3324 100644 --- a/src/calibre/gui2/dialogs/message_box.py +++ b/src/calibre/gui2/dialogs/message_box.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dialogs/metadata_bulk.py b/src/calibre/gui2/dialogs/metadata_bulk.py index 264d25bac0..1682178417 100644 --- a/src/calibre/gui2/dialogs/metadata_bulk.py +++ b/src/calibre/gui2/dialogs/metadata_bulk.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2008, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dialogs/opml.py b/src/calibre/gui2/dialogs/opml.py index 245d252162..92d1569271 100644 --- a/src/calibre/gui2/dialogs/opml.py +++ b/src/calibre/gui2/dialogs/opml.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dialogs/plugin_updater.py b/src/calibre/gui2/dialogs/plugin_updater.py index 7e333cb87a..a439e84b79 100644 --- a/src/calibre/gui2/dialogs/plugin_updater.py +++ b/src/calibre/gui2/dialogs/plugin_updater.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dialogs/progress.py b/src/calibre/gui2/dialogs/progress.py index 311ad5838f..a86fb31b24 100644 --- a/src/calibre/gui2/dialogs/progress.py +++ b/src/calibre/gui2/dialogs/progress.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __license__ = 'GPL v3' diff --git a/src/calibre/gui2/dialogs/quickview.py b/src/calibre/gui2/dialogs/quickview.py index 04a6aa604c..5e740d9c6d 100644 --- a/src/calibre/gui2/dialogs/quickview.py +++ b/src/calibre/gui2/dialogs/quickview.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __license__ = 'GPL v3' diff --git a/src/calibre/gui2/dialogs/restore_library.py b/src/calibre/gui2/dialogs/restore_library.py index 08cd83d477..6bc3ea5a15 100644 --- a/src/calibre/gui2/dialogs/restore_library.py +++ b/src/calibre/gui2/dialogs/restore_library.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # License: GPLv3 Copyright: 2011, Kovid Goyal diff --git a/src/calibre/gui2/dialogs/saved_search_editor.py b/src/calibre/gui2/dialogs/saved_search_editor.py index 5a1230d734..42b26005d3 100644 --- a/src/calibre/gui2/dialogs/saved_search_editor.py +++ b/src/calibre/gui2/dialogs/saved_search_editor.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2008, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dialogs/select_formats.py b/src/calibre/gui2/dialogs/select_formats.py index 414a7824e9..6bd57a4ecf 100644 --- a/src/calibre/gui2/dialogs/select_formats.py +++ b/src/calibre/gui2/dialogs/select_formats.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dialogs/smartdevice.py b/src/calibre/gui2/dialogs/smartdevice.py index c4cb88ebc9..9b303fa20e 100644 --- a/src/calibre/gui2/dialogs/smartdevice.py +++ b/src/calibre/gui2/dialogs/smartdevice.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals __license__ = 'GPL v3' diff --git a/src/calibre/gui2/dialogs/tag_list_editor.py b/src/calibre/gui2/dialogs/tag_list_editor.py index 542ccde92d..7bac1b02f3 100644 --- a/src/calibre/gui2/dialogs/tag_list_editor.py +++ b/src/calibre/gui2/dialogs/tag_list_editor.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2008, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dialogs/template_dialog.py b/src/calibre/gui2/dialogs/template_dialog.py index a9829fcffc..d86103e4d3 100644 --- a/src/calibre/gui2/dialogs/template_dialog.py +++ b/src/calibre/gui2/dialogs/template_dialog.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' diff --git a/src/calibre/gui2/dialogs/template_line_editor.py b/src/calibre/gui2/dialogs/template_line_editor.py index 9db863e5c1..e3dcf6044a 100644 --- a/src/calibre/gui2/dialogs/template_line_editor.py +++ b/src/calibre/gui2/dialogs/template_line_editor.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dialogs/trim_image.py b/src/calibre/gui2/dialogs/trim_image.py index 3dcd54e172..f7c16a9c46 100644 --- a/src/calibre/gui2/dialogs/trim_image.py +++ b/src/calibre/gui2/dialogs/trim_image.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/dnd.py b/src/calibre/gui2/dnd.py index 56d9a81443..5c9aa06de5 100644 --- a/src/calibre/gui2/dnd.py +++ b/src/calibre/gui2/dnd.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/email.py b/src/calibre/gui2/email.py index 1f348af3f5..9b18dba840 100644 --- a/src/calibre/gui2/email.py +++ b/src/calibre/gui2/email.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/font_family_chooser.py b/src/calibre/gui2/font_family_chooser.py index 4741cf4cfd..54a9eeafca 100644 --- a/src/calibre/gui2/font_family_chooser.py +++ b/src/calibre/gui2/font_family_chooser.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/gestures.py b/src/calibre/gui2/gestures.py index b841e19c98..34dfa3844d 100644 --- a/src/calibre/gui2/gestures.py +++ b/src/calibre/gui2/gestures.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/icon_theme.py b/src/calibre/gui2/icon_theme.py index 58f0e9970c..1690cef6b3 100644 --- a/src/calibre/gui2/icon_theme.py +++ b/src/calibre/gui2/icon_theme.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/image_popup.py b/src/calibre/gui2/image_popup.py index c58f3440f0..ef0d4f7354 100644 --- a/src/calibre/gui2/image_popup.py +++ b/src/calibre/gui2/image_popup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/init.py b/src/calibre/gui2/init.py index 4c314ae9c5..78a9512eb1 100644 --- a/src/calibre/gui2/init.py +++ b/src/calibre/gui2/init.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/job_indicator.py b/src/calibre/gui2/job_indicator.py index b677183f74..f3986094ac 100644 --- a/src/calibre/gui2/job_indicator.py +++ b/src/calibre/gui2/job_indicator.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/jobs.py b/src/calibre/gui2/jobs.py index 2d9c8b90c1..00db8fb37f 100644 --- a/src/calibre/gui2/jobs.py +++ b/src/calibre/gui2/jobs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __license__ = 'GPL v3' diff --git a/src/calibre/gui2/keyboard.py b/src/calibre/gui2/keyboard.py index 90a7b1e081..8e59ef335a 100644 --- a/src/calibre/gui2/keyboard.py +++ b/src/calibre/gui2/keyboard.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/languages.py b/src/calibre/gui2/languages.py index 23620a4ac3..33b6c3d42b 100644 --- a/src/calibre/gui2/languages.py +++ b/src/calibre/gui2/languages.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/layout.py b/src/calibre/gui2/layout.py index 18e6d748cf..6efb5808a2 100644 --- a/src/calibre/gui2/layout.py +++ b/src/calibre/gui2/layout.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/layout_menu.py b/src/calibre/gui2/layout_menu.py index 58b3c4983d..c19c38f5e1 100644 --- a/src/calibre/gui2/layout_menu.py +++ b/src/calibre/gui2/layout_menu.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/gui2/library/__init__.py b/src/calibre/gui2/library/__init__.py index d298f22d07..645932c8b9 100644 --- a/src/calibre/gui2/library/__init__.py +++ b/src/calibre/gui2/library/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/library/alternate_views.py b/src/calibre/gui2/library/alternate_views.py index 3431536d90..32f7e39a45 100644 --- a/src/calibre/gui2/library/alternate_views.py +++ b/src/calibre/gui2/library/alternate_views.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/library/caches.py b/src/calibre/gui2/library/caches.py index a18910d8bc..04667c88b0 100644 --- a/src/calibre/gui2/library/caches.py +++ b/src/calibre/gui2/library/caches.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/library/delegates.py b/src/calibre/gui2/library/delegates.py index 4d40fa0856..32f4fbe985 100644 --- a/src/calibre/gui2/library/delegates.py +++ b/src/calibre/gui2/library/delegates.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/library/models.py b/src/calibre/gui2/library/models.py index 2d713f73be..6922617486 100644 --- a/src/calibre/gui2/library/models.py +++ b/src/calibre/gui2/library/models.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/library/views.py b/src/calibre/gui2/library/views.py index e3887aad7b..dc687aaf7a 100644 --- a/src/calibre/gui2/library/views.py +++ b/src/calibre/gui2/library/views.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/linux_file_dialogs.py b/src/calibre/gui2/linux_file_dialogs.py index 875c87e428..01ed0266b4 100644 --- a/src/calibre/gui2/linux_file_dialogs.py +++ b/src/calibre/gui2/linux_file_dialogs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/gui2/main.py b/src/calibre/gui2/main.py index 3cb2202ccb..0b62cbbf68 100644 --- a/src/calibre/gui2/main.py +++ b/src/calibre/gui2/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/metadata/__init__.py b/src/calibre/gui2/metadata/__init__.py index 0f9dc4e7f8..c63cb57432 100644 --- a/src/calibre/gui2/metadata/__init__.py +++ b/src/calibre/gui2/metadata/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/metadata/basic_widgets.py b/src/calibre/gui2/metadata/basic_widgets.py index 902945c6d2..1dcd03461c 100644 --- a/src/calibre/gui2/metadata/basic_widgets.py +++ b/src/calibre/gui2/metadata/basic_widgets.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/metadata/bulk_download.py b/src/calibre/gui2/metadata/bulk_download.py index c38b540230..36952e0768 100644 --- a/src/calibre/gui2/metadata/bulk_download.py +++ b/src/calibre/gui2/metadata/bulk_download.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/metadata/config.py b/src/calibre/gui2/metadata/config.py index 0599181858..df64a46661 100644 --- a/src/calibre/gui2/metadata/config.py +++ b/src/calibre/gui2/metadata/config.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/metadata/diff.py b/src/calibre/gui2/metadata/diff.py index 1c54071ad6..cab161c349 100644 --- a/src/calibre/gui2/metadata/diff.py +++ b/src/calibre/gui2/metadata/diff.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/metadata/pdf_covers.py b/src/calibre/gui2/metadata/pdf_covers.py index 370fa5a32c..b81b628c6d 100644 --- a/src/calibre/gui2/metadata/pdf_covers.py +++ b/src/calibre/gui2/metadata/pdf_covers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/metadata/single.py b/src/calibre/gui2/metadata/single.py index ce0785599e..8c8f927dde 100644 --- a/src/calibre/gui2/metadata/single.py +++ b/src/calibre/gui2/metadata/single.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/metadata/single_download.py b/src/calibre/gui2/metadata/single_download.py index 52f18a418e..9961cd3e02 100644 --- a/src/calibre/gui2/metadata/single_download.py +++ b/src/calibre/gui2/metadata/single_download.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/notify.py b/src/calibre/gui2/notify.py index f1d5afd582..ac0421981f 100644 --- a/src/calibre/gui2/notify.py +++ b/src/calibre/gui2/notify.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/open_with.py b/src/calibre/gui2/open_with.py index 042b3e7bd1..59af75ada8 100644 --- a/src/calibre/gui2/open_with.py +++ b/src/calibre/gui2/open_with.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/pin_columns.py b/src/calibre/gui2/pin_columns.py index 0c205784c3..1a0196ae45 100644 --- a/src/calibre/gui2/pin_columns.py +++ b/src/calibre/gui2/pin_columns.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2018, Kovid Goyal diff --git a/src/calibre/gui2/preferences/__init__.py b/src/calibre/gui2/preferences/__init__.py index 65c3dd4d53..068fa5dd51 100644 --- a/src/calibre/gui2/preferences/__init__.py +++ b/src/calibre/gui2/preferences/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/adding.py b/src/calibre/gui2/preferences/adding.py index 675e9627c4..763c90ba8d 100644 --- a/src/calibre/gui2/preferences/adding.py +++ b/src/calibre/gui2/preferences/adding.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/behavior.py b/src/calibre/gui2/preferences/behavior.py index e93a449952..20ccb44803 100644 --- a/src/calibre/gui2/preferences/behavior.py +++ b/src/calibre/gui2/preferences/behavior.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/coloring.py b/src/calibre/gui2/preferences/coloring.py index ae0c7ff315..175a23bf1d 100644 --- a/src/calibre/gui2/preferences/coloring.py +++ b/src/calibre/gui2/preferences/coloring.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/columns.py b/src/calibre/gui2/preferences/columns.py index 7e551be339..dc32c01d6a 100644 --- a/src/calibre/gui2/preferences/columns.py +++ b/src/calibre/gui2/preferences/columns.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/conversion.py b/src/calibre/gui2/preferences/conversion.py index cf5891c081..b8236ed252 100644 --- a/src/calibre/gui2/preferences/conversion.py +++ b/src/calibre/gui2/preferences/conversion.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/create_custom_column.py b/src/calibre/gui2/preferences/create_custom_column.py index f981758f0e..f1cbcf61a0 100644 --- a/src/calibre/gui2/preferences/create_custom_column.py +++ b/src/calibre/gui2/preferences/create_custom_column.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/device_debug.py b/src/calibre/gui2/preferences/device_debug.py index 6ea542e6e5..b7ea85b566 100644 --- a/src/calibre/gui2/preferences/device_debug.py +++ b/src/calibre/gui2/preferences/device_debug.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/device_user_defined.py b/src/calibre/gui2/preferences/device_user_defined.py index 88e02bf404..acc7e5c08b 100644 --- a/src/calibre/gui2/preferences/device_user_defined.py +++ b/src/calibre/gui2/preferences/device_user_defined.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/emailp.py b/src/calibre/gui2/preferences/emailp.py index b03696d53b..ef0a6d3e72 100644 --- a/src/calibre/gui2/preferences/emailp.py +++ b/src/calibre/gui2/preferences/emailp.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # License: GPLv3 Copyright: 2010, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/history.py b/src/calibre/gui2/preferences/history.py index 951d3344ad..a27df1e324 100644 --- a/src/calibre/gui2/preferences/history.py +++ b/src/calibre/gui2/preferences/history.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/ignored_devices.py b/src/calibre/gui2/preferences/ignored_devices.py index cef9ac0dc2..dcee3b3822 100644 --- a/src/calibre/gui2/preferences/ignored_devices.py +++ b/src/calibre/gui2/preferences/ignored_devices.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai # License: GPLv3 Copyright: 2012, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/keyboard.py b/src/calibre/gui2/preferences/keyboard.py index 1540451590..1846a012d6 100644 --- a/src/calibre/gui2/preferences/keyboard.py +++ b/src/calibre/gui2/preferences/keyboard.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/look_feel.py b/src/calibre/gui2/preferences/look_feel.py index 1e32b78402..c3cff466e6 100644 --- a/src/calibre/gui2/preferences/look_feel.py +++ b/src/calibre/gui2/preferences/look_feel.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/main.py b/src/calibre/gui2/preferences/main.py index d5473646e5..62acb94322 100644 --- a/src/calibre/gui2/preferences/main.py +++ b/src/calibre/gui2/preferences/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/metadata_sources.py b/src/calibre/gui2/preferences/metadata_sources.py index 8bb556d645..e118d18f68 100644 --- a/src/calibre/gui2/preferences/metadata_sources.py +++ b/src/calibre/gui2/preferences/metadata_sources.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/misc.py b/src/calibre/gui2/preferences/misc.py index 668d79ac51..592fc29b29 100644 --- a/src/calibre/gui2/preferences/misc.py +++ b/src/calibre/gui2/preferences/misc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/plugboard.py b/src/calibre/gui2/preferences/plugboard.py index 783f2cbc47..a68f9e9092 100644 --- a/src/calibre/gui2/preferences/plugboard.py +++ b/src/calibre/gui2/preferences/plugboard.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/plugins.py b/src/calibre/gui2/preferences/plugins.py index 2e101965b0..07845dfcc7 100644 --- a/src/calibre/gui2/preferences/plugins.py +++ b/src/calibre/gui2/preferences/plugins.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/save_template.py b/src/calibre/gui2/preferences/save_template.py index 281b184d3f..ab6a2465aa 100644 --- a/src/calibre/gui2/preferences/save_template.py +++ b/src/calibre/gui2/preferences/save_template.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/saving.py b/src/calibre/gui2/preferences/saving.py index 98093f1cbc..57cbceee56 100644 --- a/src/calibre/gui2/preferences/saving.py +++ b/src/calibre/gui2/preferences/saving.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/search.py b/src/calibre/gui2/preferences/search.py index 2df93f9ce8..ece060fb9b 100644 --- a/src/calibre/gui2/preferences/search.py +++ b/src/calibre/gui2/preferences/search.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/sending.py b/src/calibre/gui2/preferences/sending.py index 6019517487..1501f0a80b 100644 --- a/src/calibre/gui2/preferences/sending.py +++ b/src/calibre/gui2/preferences/sending.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/server.py b/src/calibre/gui2/preferences/server.py index 64c02e7479..48d6fc77c0 100644 --- a/src/calibre/gui2/preferences/server.py +++ b/src/calibre/gui2/preferences/server.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # License: GPLv3 Copyright: 2010, Kovid Goyal diff --git a/src/calibre/gui2/preferences/template_functions.py b/src/calibre/gui2/preferences/template_functions.py index d4693e3dc9..79bc815c2c 100644 --- a/src/calibre/gui2/preferences/template_functions.py +++ b/src/calibre/gui2/preferences/template_functions.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/texture_chooser.py b/src/calibre/gui2/preferences/texture_chooser.py index ba7f72f6f7..15d8e22af8 100644 --- a/src/calibre/gui2/preferences/texture_chooser.py +++ b/src/calibre/gui2/preferences/texture_chooser.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/toolbar.py b/src/calibre/gui2/preferences/toolbar.py index cf0b6bb57b..c5df6a3d0b 100644 --- a/src/calibre/gui2/preferences/toolbar.py +++ b/src/calibre/gui2/preferences/toolbar.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/preferences/tweaks.py b/src/calibre/gui2/preferences/tweaks.py index 83deb99c93..5531ef9e9e 100644 --- a/src/calibre/gui2/preferences/tweaks.py +++ b/src/calibre/gui2/preferences/tweaks.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # License: GPLv3 Copyright: 2010, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/proceed.py b/src/calibre/gui2/proceed.py index 977932a31e..f182298aec 100644 --- a/src/calibre/gui2/proceed.py +++ b/src/calibre/gui2/proceed.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/progress_indicator/__init__.py b/src/calibre/gui2/progress_indicator/__init__.py index c3cc721c94..1c2866ef87 100644 --- a/src/calibre/gui2/progress_indicator/__init__.py +++ b/src/calibre/gui2/progress_indicator/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal diff --git a/src/calibre/gui2/qt_file_dialogs.py b/src/calibre/gui2/qt_file_dialogs.py index bf6cca6503..7f2d66b3d6 100644 --- a/src/calibre/gui2/qt_file_dialogs.py +++ b/src/calibre/gui2/qt_file_dialogs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/gui2/save.py b/src/calibre/gui2/save.py index 3c0d71b305..5b89270979 100644 --- a/src/calibre/gui2/save.py +++ b/src/calibre/gui2/save.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/search_box.py b/src/calibre/gui2/search_box.py index 4592d75c53..e12c383e8e 100644 --- a/src/calibre/gui2/search_box.py +++ b/src/calibre/gui2/search_box.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/search_restriction_mixin.py b/src/calibre/gui2/search_restriction_mixin.py index 401fc016d6..96572e75b1 100644 --- a/src/calibre/gui2/search_restriction_mixin.py +++ b/src/calibre/gui2/search_restriction_mixin.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/shortcuts.py b/src/calibre/gui2/shortcuts.py index 4f64be603f..f81093bcc0 100644 --- a/src/calibre/gui2/shortcuts.py +++ b/src/calibre/gui2/shortcuts.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/splash_screen.py b/src/calibre/gui2/splash_screen.py index fbf2618df4..1af52acf9d 100644 --- a/src/calibre/gui2/splash_screen.py +++ b/src/calibre/gui2/splash_screen.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/src/calibre/gui2/store/loader.py b/src/calibre/gui2/store/loader.py index e235450cce..6effe76382 100644 --- a/src/calibre/gui2/store/loader.py +++ b/src/calibre/gui2/store/loader.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/store/stores/amazon_au_plugin.py b/src/calibre/gui2/store/stores/amazon_au_plugin.py index 2c9bd351a8..638ae0f7ed 100644 --- a/src/calibre/gui2/store/stores/amazon_au_plugin.py +++ b/src/calibre/gui2/store/stores/amazon_au_plugin.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/store/stores/amazon_ca_plugin.py b/src/calibre/gui2/store/stores/amazon_ca_plugin.py index 17f2d986a6..bd4bcbde3b 100644 --- a/src/calibre/gui2/store/stores/amazon_ca_plugin.py +++ b/src/calibre/gui2/store/stores/amazon_ca_plugin.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/store/stores/amazon_de_plugin.py b/src/calibre/gui2/store/stores/amazon_de_plugin.py index e04d1d2824..a77fa30de5 100644 --- a/src/calibre/gui2/store/stores/amazon_de_plugin.py +++ b/src/calibre/gui2/store/stores/amazon_de_plugin.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/store/stores/amazon_es_plugin.py b/src/calibre/gui2/store/stores/amazon_es_plugin.py index a36300a43d..7014664df2 100644 --- a/src/calibre/gui2/store/stores/amazon_es_plugin.py +++ b/src/calibre/gui2/store/stores/amazon_es_plugin.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/store/stores/amazon_fr_plugin.py b/src/calibre/gui2/store/stores/amazon_fr_plugin.py index e094a81c35..620ce5bc46 100644 --- a/src/calibre/gui2/store/stores/amazon_fr_plugin.py +++ b/src/calibre/gui2/store/stores/amazon_fr_plugin.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/store/stores/amazon_in_plugin.py b/src/calibre/gui2/store/stores/amazon_in_plugin.py index 9399f0ef47..1a28be4196 100644 --- a/src/calibre/gui2/store/stores/amazon_in_plugin.py +++ b/src/calibre/gui2/store/stores/amazon_in_plugin.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/store/stores/amazon_it_plugin.py b/src/calibre/gui2/store/stores/amazon_it_plugin.py index 0fd043e799..5b14c15d8e 100644 --- a/src/calibre/gui2/store/stores/amazon_it_plugin.py +++ b/src/calibre/gui2/store/stores/amazon_it_plugin.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/store/stores/amazon_plugin.py b/src/calibre/gui2/store/stores/amazon_plugin.py index 34858f1c07..a00f508b85 100644 --- a/src/calibre/gui2/store/stores/amazon_plugin.py +++ b/src/calibre/gui2/store/stores/amazon_plugin.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/store/stores/amazon_uk_plugin.py b/src/calibre/gui2/store/stores/amazon_uk_plugin.py index fc3fbfa0bc..d2b07b611d 100644 --- a/src/calibre/gui2/store/stores/amazon_uk_plugin.py +++ b/src/calibre/gui2/store/stores/amazon_uk_plugin.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/store/web_store.py b/src/calibre/gui2/store/web_store.py index 5f2ff6b29a..45043e1b36 100644 --- a/src/calibre/gui2/store/web_store.py +++ b/src/calibre/gui2/store/web_store.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Kovid Goyal diff --git a/src/calibre/gui2/store/web_store_dialog.py b/src/calibre/gui2/store/web_store_dialog.py index bb0934a97f..23d01e42f6 100644 --- a/src/calibre/gui2/store/web_store_dialog.py +++ b/src/calibre/gui2/store/web_store_dialog.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2019, Kovid Goyal diff --git a/src/calibre/gui2/tag_browser/__init__.py b/src/calibre/gui2/tag_browser/__init__.py index 1b26a78776..ec9ca8ff95 100644 --- a/src/calibre/gui2/tag_browser/__init__.py +++ b/src/calibre/gui2/tag_browser/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tag_browser/model.py b/src/calibre/gui2/tag_browser/model.py index 5db4eb7bb3..0e446de644 100644 --- a/src/calibre/gui2/tag_browser/model.py +++ b/src/calibre/gui2/tag_browser/model.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tag_browser/ui.py b/src/calibre/gui2/tag_browser/ui.py index 67685f0122..2b4443fa95 100644 --- a/src/calibre/gui2/tag_browser/ui.py +++ b/src/calibre/gui2/tag_browser/ui.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tag_browser/view.py b/src/calibre/gui2/tag_browser/view.py index 4babbb5417..09a66d9504 100644 --- a/src/calibre/gui2/tag_browser/view.py +++ b/src/calibre/gui2/tag_browser/view.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tag_mapper.py b/src/calibre/gui2/tag_mapper.py index 4745509036..4005c9bba8 100644 --- a/src/calibre/gui2/tag_mapper.py +++ b/src/calibre/gui2/tag_mapper.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal diff --git a/src/calibre/gui2/threaded_jobs.py b/src/calibre/gui2/threaded_jobs.py index d59dc39b5f..035eae4f13 100644 --- a/src/calibre/gui2/threaded_jobs.py +++ b/src/calibre/gui2/threaded_jobs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/throbber.py b/src/calibre/gui2/throbber.py index fea14f8b0c..888afa46be 100644 --- a/src/calibre/gui2/throbber.py +++ b/src/calibre/gui2/throbber.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/toc/__init__.py b/src/calibre/gui2/toc/__init__.py index 64be92cd03..d26359eab9 100644 --- a/src/calibre/gui2/toc/__init__.py +++ b/src/calibre/gui2/toc/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/toc/location.py b/src/calibre/gui2/toc/location.py index e54e0dab4d..ab283fcf41 100644 --- a/src/calibre/gui2/toc/location.py +++ b/src/calibre/gui2/toc/location.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai # License: GPLv3 Copyright: 2013, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/toc/main.py b/src/calibre/gui2/toc/main.py index b9be2e5224..61e9b32182 100644 --- a/src/calibre/gui2/toc/main.py +++ b/src/calibre/gui2/toc/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai # License: GPLv3 Copyright: 2013, Kovid Goyal diff --git a/src/calibre/gui2/tools.py b/src/calibre/gui2/tools.py index efb2d4df2d..e26f457d45 100644 --- a/src/calibre/gui2/tools.py +++ b/src/calibre/gui2/tools.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals __license__ = 'GPL v3' diff --git a/src/calibre/gui2/tweak_book/__init__.py b/src/calibre/gui2/tweak_book/__init__.py index 67b5b5a7d1..4be9703b36 100644 --- a/src/calibre/gui2/tweak_book/__init__.py +++ b/src/calibre/gui2/tweak_book/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/boss.py b/src/calibre/gui2/tweak_book/boss.py index 6d26417bbe..9c1e3eee2e 100644 --- a/src/calibre/gui2/tweak_book/boss.py +++ b/src/calibre/gui2/tweak_book/boss.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2013, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/char_select.py b/src/calibre/gui2/tweak_book/char_select.py index 61c619f822..ea99570dfb 100644 --- a/src/calibre/gui2/tweak_book/char_select.py +++ b/src/calibre/gui2/tweak_book/char_select.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/check.py b/src/calibre/gui2/tweak_book/check.py index 86dd396fc7..2d5510551b 100644 --- a/src/calibre/gui2/tweak_book/check.py +++ b/src/calibre/gui2/tweak_book/check.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/check_links.py b/src/calibre/gui2/tweak_book/check_links.py index 7b51f1aa6b..22d8ff0ebd 100644 --- a/src/calibre/gui2/tweak_book/check_links.py +++ b/src/calibre/gui2/tweak_book/check_links.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal diff --git a/src/calibre/gui2/tweak_book/completion/basic.py b/src/calibre/gui2/tweak_book/completion/basic.py index a40d88a2ac..9c18ff7689 100644 --- a/src/calibre/gui2/tweak_book/completion/basic.py +++ b/src/calibre/gui2/tweak_book/completion/basic.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/completion/popup.py b/src/calibre/gui2/tweak_book/completion/popup.py index 456de5efed..502df11daa 100644 --- a/src/calibre/gui2/tweak_book/completion/popup.py +++ b/src/calibre/gui2/tweak_book/completion/popup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/completion/utils.py b/src/calibre/gui2/tweak_book/completion/utils.py index aeb5a4969a..51ffe1c20a 100644 --- a/src/calibre/gui2/tweak_book/completion/utils.py +++ b/src/calibre/gui2/tweak_book/completion/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/completion/worker.py b/src/calibre/gui2/tweak_book/completion/worker.py index 5229b30433..a79b5c96db 100644 --- a/src/calibre/gui2/tweak_book/completion/worker.py +++ b/src/calibre/gui2/tweak_book/completion/worker.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/diff/__init__.py b/src/calibre/gui2/tweak_book/diff/__init__.py index 3245316fbf..e8ff181102 100644 --- a/src/calibre/gui2/tweak_book/diff/__init__.py +++ b/src/calibre/gui2/tweak_book/diff/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/diff/highlight.py b/src/calibre/gui2/tweak_book/diff/highlight.py index c8905a8cff..6fea7f21b5 100644 --- a/src/calibre/gui2/tweak_book/diff/highlight.py +++ b/src/calibre/gui2/tweak_book/diff/highlight.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/diff/main.py b/src/calibre/gui2/tweak_book/diff/main.py index a884aa40ae..f952170f5a 100644 --- a/src/calibre/gui2/tweak_book/diff/main.py +++ b/src/calibre/gui2/tweak_book/diff/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/diff/view.py b/src/calibre/gui2/tweak_book/diff/view.py index 3963666322..d6a58ba93a 100644 --- a/src/calibre/gui2/tweak_book/diff/view.py +++ b/src/calibre/gui2/tweak_book/diff/view.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/download.py b/src/calibre/gui2/tweak_book/download.py index d81f66bac5..d4c7c094ed 100644 --- a/src/calibre/gui2/tweak_book/download.py +++ b/src/calibre/gui2/tweak_book/download.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/src/calibre/gui2/tweak_book/editor/__init__.py b/src/calibre/gui2/tweak_book/editor/__init__.py index 7eccdef8ef..3b850caf95 100644 --- a/src/calibre/gui2/tweak_book/editor/__init__.py +++ b/src/calibre/gui2/tweak_book/editor/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/editor/canvas.py b/src/calibre/gui2/tweak_book/editor/canvas.py index 01073042bc..0b7b3b2c42 100644 --- a/src/calibre/gui2/tweak_book/editor/canvas.py +++ b/src/calibre/gui2/tweak_book/editor/canvas.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/editor/comments.py b/src/calibre/gui2/tweak_book/editor/comments.py index b9e7d58b4d..76a3f7207c 100644 --- a/src/calibre/gui2/tweak_book/editor/comments.py +++ b/src/calibre/gui2/tweak_book/editor/comments.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal diff --git a/src/calibre/gui2/tweak_book/editor/help.py b/src/calibre/gui2/tweak_book/editor/help.py index 807b98648f..fca7cbe905 100644 --- a/src/calibre/gui2/tweak_book/editor/help.py +++ b/src/calibre/gui2/tweak_book/editor/help.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/editor/image.py b/src/calibre/gui2/tweak_book/editor/image.py index e1c2148d82..ec00f7fac5 100644 --- a/src/calibre/gui2/tweak_book/editor/image.py +++ b/src/calibre/gui2/tweak_book/editor/image.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/editor/insert_resource.py b/src/calibre/gui2/tweak_book/editor/insert_resource.py index 24ddc88ed5..44d44e4b3c 100644 --- a/src/calibre/gui2/tweak_book/editor/insert_resource.py +++ b/src/calibre/gui2/tweak_book/editor/insert_resource.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/editor/smarts/__init__.py b/src/calibre/gui2/tweak_book/editor/smarts/__init__.py index 1e255d779a..186097ae7d 100644 --- a/src/calibre/gui2/tweak_book/editor/smarts/__init__.py +++ b/src/calibre/gui2/tweak_book/editor/smarts/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/editor/smarts/css.py b/src/calibre/gui2/tweak_book/editor/smarts/css.py index 0a41e018dd..e47804a0e4 100644 --- a/src/calibre/gui2/tweak_book/editor/smarts/css.py +++ b/src/calibre/gui2/tweak_book/editor/smarts/css.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/editor/smarts/html.py b/src/calibre/gui2/tweak_book/editor/smarts/html.py index 45c4af2915..7196e90c06 100644 --- a/src/calibre/gui2/tweak_book/editor/smarts/html.py +++ b/src/calibre/gui2/tweak_book/editor/smarts/html.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/editor/smarts/python.py b/src/calibre/gui2/tweak_book/editor/smarts/python.py index cf47fa8b6f..4167171457 100644 --- a/src/calibre/gui2/tweak_book/editor/smarts/python.py +++ b/src/calibre/gui2/tweak_book/editor/smarts/python.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/editor/smarts/utils.py b/src/calibre/gui2/tweak_book/editor/smarts/utils.py index bb754f0013..53ce86092c 100644 --- a/src/calibre/gui2/tweak_book/editor/smarts/utils.py +++ b/src/calibre/gui2/tweak_book/editor/smarts/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/editor/snippets.py b/src/calibre/gui2/tweak_book/editor/snippets.py index a6ddf05f1f..732640f682 100644 --- a/src/calibre/gui2/tweak_book/editor/snippets.py +++ b/src/calibre/gui2/tweak_book/editor/snippets.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/editor/syntax/__init__.py b/src/calibre/gui2/tweak_book/editor/syntax/__init__.py index d9dc36506c..69376f9ebd 100644 --- a/src/calibre/gui2/tweak_book/editor/syntax/__init__.py +++ b/src/calibre/gui2/tweak_book/editor/syntax/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/editor/syntax/base.py b/src/calibre/gui2/tweak_book/editor/syntax/base.py index 12d7a8d291..0e2f4031be 100644 --- a/src/calibre/gui2/tweak_book/editor/syntax/base.py +++ b/src/calibre/gui2/tweak_book/editor/syntax/base.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/editor/syntax/css.py b/src/calibre/gui2/tweak_book/editor/syntax/css.py index 1f1d117221..0634c8e875 100644 --- a/src/calibre/gui2/tweak_book/editor/syntax/css.py +++ b/src/calibre/gui2/tweak_book/editor/syntax/css.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/editor/syntax/html.py b/src/calibre/gui2/tweak_book/editor/syntax/html.py index 6b246e8207..a3d5d157e9 100644 --- a/src/calibre/gui2/tweak_book/editor/syntax/html.py +++ b/src/calibre/gui2/tweak_book/editor/syntax/html.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/editor/syntax/javascript.py b/src/calibre/gui2/tweak_book/editor/syntax/javascript.py index 4b13636eb3..83a0af6f67 100644 --- a/src/calibre/gui2/tweak_book/editor/syntax/javascript.py +++ b/src/calibre/gui2/tweak_book/editor/syntax/javascript.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/editor/syntax/pygments_highlighter.py b/src/calibre/gui2/tweak_book/editor/syntax/pygments_highlighter.py index 94887d9bc7..2b88d6984a 100644 --- a/src/calibre/gui2/tweak_book/editor/syntax/pygments_highlighter.py +++ b/src/calibre/gui2/tweak_book/editor/syntax/pygments_highlighter.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/editor/syntax/python.py b/src/calibre/gui2/tweak_book/editor/syntax/python.py index c3b1dfdee1..929f07a66d 100644 --- a/src/calibre/gui2/tweak_book/editor/syntax/python.py +++ b/src/calibre/gui2/tweak_book/editor/syntax/python.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/editor/syntax/utils.py b/src/calibre/gui2/tweak_book/editor/syntax/utils.py index 1cf538da36..9604a044c8 100644 --- a/src/calibre/gui2/tweak_book/editor/syntax/utils.py +++ b/src/calibre/gui2/tweak_book/editor/syntax/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/editor/syntax/xml.py b/src/calibre/gui2/tweak_book/editor/syntax/xml.py index 9c475658a7..4b275e645b 100644 --- a/src/calibre/gui2/tweak_book/editor/syntax/xml.py +++ b/src/calibre/gui2/tweak_book/editor/syntax/xml.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/editor/text.py b/src/calibre/gui2/tweak_book/editor/text.py index aceaf6d154..9b5bd84480 100644 --- a/src/calibre/gui2/tweak_book/editor/text.py +++ b/src/calibre/gui2/tweak_book/editor/text.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2013, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/editor/themes.py b/src/calibre/gui2/tweak_book/editor/themes.py index 0d6cbed153..37a9c9e44a 100644 --- a/src/calibre/gui2/tweak_book/editor/themes.py +++ b/src/calibre/gui2/tweak_book/editor/themes.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/editor/widget.py b/src/calibre/gui2/tweak_book/editor/widget.py index 1b5999c03a..1706b17284 100644 --- a/src/calibre/gui2/tweak_book/editor/widget.py +++ b/src/calibre/gui2/tweak_book/editor/widget.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/file_list.py b/src/calibre/gui2/tweak_book/file_list.py index 477aa5b451..8a036373ed 100644 --- a/src/calibre/gui2/tweak_book/file_list.py +++ b/src/calibre/gui2/tweak_book/file_list.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2013, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/function_replace.py b/src/calibre/gui2/tweak_book/function_replace.py index 219719c694..e39bc1ef31 100644 --- a/src/calibre/gui2/tweak_book/function_replace.py +++ b/src/calibre/gui2/tweak_book/function_replace.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/job.py b/src/calibre/gui2/tweak_book/job.py index 2c77645329..8d0f98322a 100644 --- a/src/calibre/gui2/tweak_book/job.py +++ b/src/calibre/gui2/tweak_book/job.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/live_css.py b/src/calibre/gui2/tweak_book/live_css.py index ae1f9960fb..501fe7f5dc 100644 --- a/src/calibre/gui2/tweak_book/live_css.py +++ b/src/calibre/gui2/tweak_book/live_css.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/main.py b/src/calibre/gui2/tweak_book/main.py index 76b888c765..80d7ad5724 100644 --- a/src/calibre/gui2/tweak_book/main.py +++ b/src/calibre/gui2/tweak_book/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/manage_fonts.py b/src/calibre/gui2/tweak_book/manage_fonts.py index 49246b1462..a7bc241a93 100644 --- a/src/calibre/gui2/tweak_book/manage_fonts.py +++ b/src/calibre/gui2/tweak_book/manage_fonts.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/plugin.py b/src/calibre/gui2/tweak_book/plugin.py index 76dc259808..2729b6f4a8 100644 --- a/src/calibre/gui2/tweak_book/plugin.py +++ b/src/calibre/gui2/tweak_book/plugin.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/polish.py b/src/calibre/gui2/tweak_book/polish.py index 3dd6e95039..022959e176 100644 --- a/src/calibre/gui2/tweak_book/polish.py +++ b/src/calibre/gui2/tweak_book/polish.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/preferences.py b/src/calibre/gui2/tweak_book/preferences.py index a9bb6f5be7..d0ea175009 100644 --- a/src/calibre/gui2/tweak_book/preferences.py +++ b/src/calibre/gui2/tweak_book/preferences.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/preview.py b/src/calibre/gui2/tweak_book/preview.py index 37aac8e50f..e18d2846a7 100644 --- a/src/calibre/gui2/tweak_book/preview.py +++ b/src/calibre/gui2/tweak_book/preview.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/reports.py b/src/calibre/gui2/tweak_book/reports.py index 323ed21602..011998de0c 100644 --- a/src/calibre/gui2/tweak_book/reports.py +++ b/src/calibre/gui2/tweak_book/reports.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/save.py b/src/calibre/gui2/tweak_book/save.py index 60ef6260d2..8fd5b49eec 100644 --- a/src/calibre/gui2/tweak_book/save.py +++ b/src/calibre/gui2/tweak_book/save.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/search.py b/src/calibre/gui2/tweak_book/search.py index 6dbf7ee92e..5e348e3999 100644 --- a/src/calibre/gui2/tweak_book/search.py +++ b/src/calibre/gui2/tweak_book/search.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2013, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/spell.py b/src/calibre/gui2/tweak_book/spell.py index 8ceb3017c9..2f73364879 100644 --- a/src/calibre/gui2/tweak_book/spell.py +++ b/src/calibre/gui2/tweak_book/spell.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/templates.py b/src/calibre/gui2/tweak_book/templates.py index 22add677b4..2e17801d90 100644 --- a/src/calibre/gui2/tweak_book/templates.py +++ b/src/calibre/gui2/tweak_book/templates.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/text_search.py b/src/calibre/gui2/tweak_book/text_search.py index 0f00763580..f8120ca121 100644 --- a/src/calibre/gui2/tweak_book/text_search.py +++ b/src/calibre/gui2/tweak_book/text_search.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/src/calibre/gui2/tweak_book/toc.py b/src/calibre/gui2/tweak_book/toc.py index 98677c11cc..893db597f4 100644 --- a/src/calibre/gui2/tweak_book/toc.py +++ b/src/calibre/gui2/tweak_book/toc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/ui.py b/src/calibre/gui2/tweak_book/ui.py index e995e58ce4..a42b6213e8 100644 --- a/src/calibre/gui2/tweak_book/ui.py +++ b/src/calibre/gui2/tweak_book/ui.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/undo.py b/src/calibre/gui2/tweak_book/undo.py index 89efa642e6..8d09118200 100644 --- a/src/calibre/gui2/tweak_book/undo.py +++ b/src/calibre/gui2/tweak_book/undo.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/tweak_book/widgets.py b/src/calibre/gui2/tweak_book/widgets.py index d666cdfaab..b10e3dbe0a 100644 --- a/src/calibre/gui2/tweak_book/widgets.py +++ b/src/calibre/gui2/tweak_book/widgets.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/ui.py b/src/calibre/gui2/ui.py index 33aa691b82..f03e828b15 100644 --- a/src/calibre/gui2/ui.py +++ b/src/calibre/gui2/ui.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/viewer/__init__.py b/src/calibre/gui2/viewer/__init__.py index e8cf42d1c6..2ca91bd118 100644 --- a/src/calibre/gui2/viewer/__init__.py +++ b/src/calibre/gui2/viewer/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2018, Kovid Goyal diff --git a/src/calibre/gui2/viewer/annotations.py b/src/calibre/gui2/viewer/annotations.py index 8758992fd5..57f41b6328 100644 --- a/src/calibre/gui2/viewer/annotations.py +++ b/src/calibre/gui2/viewer/annotations.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Kovid Goyal diff --git a/src/calibre/gui2/viewer/bookmarks.py b/src/calibre/gui2/viewer/bookmarks.py index 5fc42b4779..d4b297a070 100644 --- a/src/calibre/gui2/viewer/bookmarks.py +++ b/src/calibre/gui2/viewer/bookmarks.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2013, Kovid Goyal diff --git a/src/calibre/gui2/viewer/convert_book.py b/src/calibre/gui2/viewer/convert_book.py index 7e1041c387..fd0647b470 100644 --- a/src/calibre/gui2/viewer/convert_book.py +++ b/src/calibre/gui2/viewer/convert_book.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2018, Kovid Goyal diff --git a/src/calibre/gui2/viewer/lookup.py b/src/calibre/gui2/viewer/lookup.py index 10187fab7c..3a55d92f51 100644 --- a/src/calibre/gui2/viewer/lookup.py +++ b/src/calibre/gui2/viewer/lookup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Kovid Goyal diff --git a/src/calibre/gui2/viewer/main.py b/src/calibre/gui2/viewer/main.py index 9f5ebe0a9d..34cb71b6d3 100644 --- a/src/calibre/gui2/viewer/main.py +++ b/src/calibre/gui2/viewer/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2018, Kovid Goyal diff --git a/src/calibre/gui2/viewer/overlay.py b/src/calibre/gui2/viewer/overlay.py index 97b96bd60e..d21fff6ed1 100644 --- a/src/calibre/gui2/viewer/overlay.py +++ b/src/calibre/gui2/viewer/overlay.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Kovid Goyal diff --git a/src/calibre/gui2/viewer/printing.py b/src/calibre/gui2/viewer/printing.py index a9c3b65a22..c54969b9ee 100644 --- a/src/calibre/gui2/viewer/printing.py +++ b/src/calibre/gui2/viewer/printing.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/viewer/shortcuts.py b/src/calibre/gui2/viewer/shortcuts.py index cc964cb7d0..610da5e0e9 100644 --- a/src/calibre/gui2/viewer/shortcuts.py +++ b/src/calibre/gui2/viewer/shortcuts.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Kovid Goyal diff --git a/src/calibre/gui2/viewer/toc.py b/src/calibre/gui2/viewer/toc.py index 90ad46449e..23da1c2557 100644 --- a/src/calibre/gui2/viewer/toc.py +++ b/src/calibre/gui2/viewer/toc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Kovid Goyal diff --git a/src/calibre/gui2/viewer/toolbars.py b/src/calibre/gui2/viewer/toolbars.py index 8f698a84f8..9ea6e61e5e 100644 --- a/src/calibre/gui2/viewer/toolbars.py +++ b/src/calibre/gui2/viewer/toolbars.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Kovid Goyal diff --git a/src/calibre/gui2/viewer/ui.py b/src/calibre/gui2/viewer/ui.py index 8db5b89cc9..3b033c7668 100644 --- a/src/calibre/gui2/viewer/ui.py +++ b/src/calibre/gui2/viewer/ui.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2018, Kovid Goyal diff --git a/src/calibre/gui2/viewer/web_view.py b/src/calibre/gui2/viewer/web_view.py index d62a477d88..3c5b744d21 100644 --- a/src/calibre/gui2/viewer/web_view.py +++ b/src/calibre/gui2/viewer/web_view.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2018, Kovid Goyal diff --git a/src/calibre/gui2/webengine.py b/src/calibre/gui2/webengine.py index 2758c3518a..12beed8200 100644 --- a/src/calibre/gui2/webengine.py +++ b/src/calibre/gui2/webengine.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2018, Kovid Goyal diff --git a/src/calibre/gui2/widgets2.py b/src/calibre/gui2/widgets2.py index 7feef8a2ef..726b6fb265 100644 --- a/src/calibre/gui2/widgets2.py +++ b/src/calibre/gui2/widgets2.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2013, Kovid Goyal diff --git a/src/calibre/gui2/win_file_dialogs.py b/src/calibre/gui2/win_file_dialogs.py index 2644cc6177..9c6a3b0bdf 100644 --- a/src/calibre/gui2/win_file_dialogs.py +++ b/src/calibre/gui2/win_file_dialogs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/wizard/__init__.py b/src/calibre/gui2/wizard/__init__.py index 3e088262e9..13e03ae09d 100644 --- a/src/calibre/gui2/wizard/__init__.py +++ b/src/calibre/gui2/wizard/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui2/wizard/send_email.py b/src/calibre/gui2/wizard/send_email.py index f2ca746e87..6d31f6ba75 100644 --- a/src/calibre/gui2/wizard/send_email.py +++ b/src/calibre/gui2/wizard/send_email.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/gui_launch.py b/src/calibre/gui_launch.py index 093a1f7b7f..a53a101475 100644 --- a/src/calibre/gui_launch.py +++ b/src/calibre/gui_launch.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/library/add_to_library.py b/src/calibre/library/add_to_library.py index c284fdb141..d5d307356e 100644 --- a/src/calibre/library/add_to_library.py +++ b/src/calibre/library/add_to_library.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/library/caches.py b/src/calibre/library/caches.py index 86d5a65efc..9f50dd48e6 100644 --- a/src/calibre/library/caches.py +++ b/src/calibre/library/caches.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/library/catalogs/__init__.py b/src/calibre/library/catalogs/__init__.py index 53303c8d91..1b05c647dc 100644 --- a/src/calibre/library/catalogs/__init__.py +++ b/src/calibre/library/catalogs/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/library/catalogs/bibtex.py b/src/calibre/library/catalogs/bibtex.py index c7f6731db4..d22390bbcc 100644 --- a/src/calibre/library/catalogs/bibtex.py +++ b/src/calibre/library/catalogs/bibtex.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/library/catalogs/csv_xml.py b/src/calibre/library/catalogs/csv_xml.py index e80c027384..f573b39889 100644 --- a/src/calibre/library/catalogs/csv_xml.py +++ b/src/calibre/library/catalogs/csv_xml.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/library/catalogs/epub_mobi.py b/src/calibre/library/catalogs/epub_mobi.py index 112e7c91b7..5267a00dd9 100644 --- a/src/calibre/library/catalogs/epub_mobi.py +++ b/src/calibre/library/catalogs/epub_mobi.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/library/catalogs/epub_mobi_builder.py b/src/calibre/library/catalogs/epub_mobi_builder.py index f141f341f3..6b2e7d47b7 100644 --- a/src/calibre/library/catalogs/epub_mobi_builder.py +++ b/src/calibre/library/catalogs/epub_mobi_builder.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2010, Greg Riker from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/library/catalogs/utils.py b/src/calibre/library/catalogs/utils.py index b9e5d69200..cd7521fc19 100644 --- a/src/calibre/library/catalogs/utils.py +++ b/src/calibre/library/catalogs/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/library/check_library.py b/src/calibre/library/check_library.py index c6bcb9fdb8..81ba156299 100644 --- a/src/calibre/library/check_library.py +++ b/src/calibre/library/check_library.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/library/coloring.py b/src/calibre/library/coloring.py index e2a24eb739..51f2b79702 100644 --- a/src/calibre/library/coloring.py +++ b/src/calibre/library/coloring.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # License: GPLv3 Copyright: 2011, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/library/comments.py b/src/calibre/library/comments.py index 344dd99873..0f20a52edf 100644 --- a/src/calibre/library/comments.py +++ b/src/calibre/library/comments.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # License: GPLv3 Copyright: 2010, Kovid Goyal diff --git a/src/calibre/library/custom_columns.py b/src/calibre/library/custom_columns.py index 843341447d..fcebc2c87a 100644 --- a/src/calibre/library/custom_columns.py +++ b/src/calibre/library/custom_columns.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/library/prefs.py b/src/calibre/library/prefs.py index 87cbaef947..8807516013 100644 --- a/src/calibre/library/prefs.py +++ b/src/calibre/library/prefs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/library/restore.py b/src/calibre/library/restore.py index 026c9526df..8d04e7e9eb 100644 --- a/src/calibre/library/restore.py +++ b/src/calibre/library/restore.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/library/save_to_disk.py b/src/calibre/library/save_to_disk.py index a5640c7484..72b6273eb6 100644 --- a/src/calibre/library/save_to_disk.py +++ b/src/calibre/library/save_to_disk.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/library/schema_upgrades.py b/src/calibre/library/schema_upgrades.py index 785ddf0663..f3535ce8b3 100644 --- a/src/calibre/library/schema_upgrades.py +++ b/src/calibre/library/schema_upgrades.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/libunzip.py b/src/calibre/libunzip.py index 85f8fd36fe..6830545750 100644 --- a/src/calibre/libunzip.py +++ b/src/calibre/libunzip.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import print_function, unicode_literals __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' diff --git a/src/calibre/linux.py b/src/calibre/linux.py index 9348a70450..994f707619 100644 --- a/src/calibre/linux.py +++ b/src/calibre/linux.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # License: GPLv3 Copyright: 2008, Kovid Goyal diff --git a/src/calibre/rpdb.py b/src/calibre/rpdb.py index 38334adb81..d15fcc2d2e 100644 --- a/src/calibre/rpdb.py +++ b/src/calibre/rpdb.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/spell/__init__.py b/src/calibre/spell/__init__.py index e58ae8f6d6..68fe3c3eb2 100644 --- a/src/calibre/spell/__init__.py +++ b/src/calibre/spell/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/spell/break_iterator.py b/src/calibre/spell/break_iterator.py index e82f8a25cc..980e0a434f 100644 --- a/src/calibre/spell/break_iterator.py +++ b/src/calibre/spell/break_iterator.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/spell/dictionary.py b/src/calibre/spell/dictionary.py index d64cea0a45..e8db242ffc 100644 --- a/src/calibre/spell/dictionary.py +++ b/src/calibre/spell/dictionary.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2014, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/spell/import_from.py b/src/calibre/spell/import_from.py index b2c54d43ea..35a1627316 100644 --- a/src/calibre/spell/import_from.py +++ b/src/calibre/spell/import_from.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/ajax.py b/src/calibre/srv/ajax.py index 6b5d6292b5..a48c9619a2 100644 --- a/src/calibre/srv/ajax.py +++ b/src/calibre/srv/ajax.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/auth.py b/src/calibre/srv/auth.py index 77e60d69e4..b78bd51767 100644 --- a/src/calibre/srv/auth.py +++ b/src/calibre/srv/auth.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/auto_reload.py b/src/calibre/srv/auto_reload.py index 6b4f2c8059..fdfc2b077e 100644 --- a/src/calibre/srv/auto_reload.py +++ b/src/calibre/srv/auto_reload.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/bonjour.py b/src/calibre/srv/bonjour.py index 6c0cc91861..05749c1665 100644 --- a/src/calibre/srv/bonjour.py +++ b/src/calibre/srv/bonjour.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/books.py b/src/calibre/srv/books.py index 25a6d5c0ce..fa0b5b9c72 100644 --- a/src/calibre/srv/books.py +++ b/src/calibre/srv/books.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/src/calibre/srv/cdb.py b/src/calibre/srv/cdb.py index 841375355e..4e9e0efc05 100644 --- a/src/calibre/srv/cdb.py +++ b/src/calibre/srv/cdb.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/srv/changes.py b/src/calibre/srv/changes.py index 2e49dd89cf..03c7366564 100644 --- a/src/calibre/srv/changes.py +++ b/src/calibre/srv/changes.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/srv/code.py b/src/calibre/srv/code.py index 62795887a7..88aa69d96b 100644 --- a/src/calibre/srv/code.py +++ b/src/calibre/srv/code.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal diff --git a/src/calibre/srv/content.py b/src/calibre/srv/content.py index 41565a1868..fc2bd1ba6f 100644 --- a/src/calibre/srv/content.py +++ b/src/calibre/srv/content.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/convert.py b/src/calibre/srv/convert.py index 811c8232de..87697a0103 100644 --- a/src/calibre/srv/convert.py +++ b/src/calibre/srv/convert.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2018, Kovid Goyal diff --git a/src/calibre/srv/embedded.py b/src/calibre/srv/embedded.py index 9403b32d37..d488aea919 100644 --- a/src/calibre/srv/embedded.py +++ b/src/calibre/srv/embedded.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/errors.py b/src/calibre/srv/errors.py index 4ac804cc18..705b949791 100644 --- a/src/calibre/srv/errors.py +++ b/src/calibre/srv/errors.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/handler.py b/src/calibre/srv/handler.py index 77a551e85a..a8422e49ad 100644 --- a/src/calibre/srv/handler.py +++ b/src/calibre/srv/handler.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/http_request.py b/src/calibre/srv/http_request.py index 4d01aaade6..1948ffd1a2 100644 --- a/src/calibre/srv/http_request.py +++ b/src/calibre/srv/http_request.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/http_response.py b/src/calibre/srv/http_response.py index d114f6d94e..31838f1979 100644 --- a/src/calibre/srv/http_response.py +++ b/src/calibre/srv/http_response.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/jobs.py b/src/calibre/srv/jobs.py index fa1c99584e..5cfe25467b 100644 --- a/src/calibre/srv/jobs.py +++ b/src/calibre/srv/jobs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/src/calibre/srv/legacy.py b/src/calibre/srv/legacy.py index 376944b04e..67f4bf713e 100644 --- a/src/calibre/srv/legacy.py +++ b/src/calibre/srv/legacy.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/src/calibre/srv/library_broker.py b/src/calibre/srv/library_broker.py index 1a76671227..facf856e9c 100644 --- a/src/calibre/srv/library_broker.py +++ b/src/calibre/srv/library_broker.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/srv/loop.py b/src/calibre/srv/loop.py index f0ff9fec6a..82c0053b2e 100644 --- a/src/calibre/srv/loop.py +++ b/src/calibre/srv/loop.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/manage_users_cli.py b/src/calibre/srv/manage_users_cli.py index db319232a6..2871a53a97 100644 --- a/src/calibre/srv/manage_users_cli.py +++ b/src/calibre/srv/manage_users_cli.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/srv/metadata.py b/src/calibre/srv/metadata.py index 010acd54bb..bbf6773377 100644 --- a/src/calibre/srv/metadata.py +++ b/src/calibre/srv/metadata.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal diff --git a/src/calibre/srv/opds.py b/src/calibre/srv/opds.py index dd46b888f9..ed41a6efa7 100644 --- a/src/calibre/srv/opds.py +++ b/src/calibre/srv/opds.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import unicode_literals diff --git a/src/calibre/srv/opts.py b/src/calibre/srv/opts.py index 9dfb15ff57..7e5a48ca58 100644 --- a/src/calibre/srv/opts.py +++ b/src/calibre/srv/opts.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/pool.py b/src/calibre/srv/pool.py index 9d7270483e..b14f6b3282 100644 --- a/src/calibre/srv/pool.py +++ b/src/calibre/srv/pool.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/pre_activated.py b/src/calibre/srv/pre_activated.py index 526ef9308f..e3da85d0cf 100644 --- a/src/calibre/srv/pre_activated.py +++ b/src/calibre/srv/pre_activated.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/render_book.py b/src/calibre/srv/render_book.py index 02757357e4..6005a8546e 100644 --- a/src/calibre/srv/render_book.py +++ b/src/calibre/srv/render_book.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/src/calibre/srv/routes.py b/src/calibre/srv/routes.py index e82384cb9c..a9c9353d3e 100644 --- a/src/calibre/srv/routes.py +++ b/src/calibre/srv/routes.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/sendfile.py b/src/calibre/srv/sendfile.py index a0d12ebe4a..8779f8a7cc 100644 --- a/src/calibre/srv/sendfile.py +++ b/src/calibre/srv/sendfile.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/standalone.py b/src/calibre/srv/standalone.py index e6c650ba16..635541e723 100644 --- a/src/calibre/srv/standalone.py +++ b/src/calibre/srv/standalone.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/tests/ajax.py b/src/calibre/srv/tests/ajax.py index 68dcbd90d5..23478cab24 100644 --- a/src/calibre/srv/tests/ajax.py +++ b/src/calibre/srv/tests/ajax.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/tests/auth.py b/src/calibre/srv/tests/auth.py index 83c6c0334e..58f54cbbd9 100644 --- a/src/calibre/srv/tests/auth.py +++ b/src/calibre/srv/tests/auth.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/tests/base.py b/src/calibre/srv/tests/base.py index ee2e87bc0b..b610675f47 100644 --- a/src/calibre/srv/tests/base.py +++ b/src/calibre/srv/tests/base.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/tests/content.py b/src/calibre/srv/tests/content.py index b5e3a040d8..21ff69d10c 100644 --- a/src/calibre/srv/tests/content.py +++ b/src/calibre/srv/tests/content.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/tests/http.py b/src/calibre/srv/tests/http.py index 25870faa37..90d061fe72 100644 --- a/src/calibre/srv/tests/http.py +++ b/src/calibre/srv/tests/http.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/tests/loop.py b/src/calibre/srv/tests/loop.py index 1ecbca8b3c..a5e927579e 100644 --- a/src/calibre/srv/tests/loop.py +++ b/src/calibre/srv/tests/loop.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/tests/main.py b/src/calibre/srv/tests/main.py index a0df51b636..d5ec365d28 100644 --- a/src/calibre/srv/tests/main.py +++ b/src/calibre/srv/tests/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/tests/routes.py b/src/calibre/srv/tests/routes.py index 657e5d4392..11577c8d4a 100644 --- a/src/calibre/srv/tests/routes.py +++ b/src/calibre/srv/tests/routes.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/tests/web_sockets.py b/src/calibre/srv/tests/web_sockets.py index 8197407f47..faf7071b11 100644 --- a/src/calibre/srv/tests/web_sockets.py +++ b/src/calibre/srv/tests/web_sockets.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/users.py b/src/calibre/srv/users.py index b3a4920d4c..8c28ff4d70 100644 --- a/src/calibre/srv/users.py +++ b/src/calibre/srv/users.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal diff --git a/src/calibre/srv/users_api.py b/src/calibre/srv/users_api.py index 8ceb47471c..a061881564 100644 --- a/src/calibre/srv/users_api.py +++ b/src/calibre/srv/users_api.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/srv/utils.py b/src/calibre/srv/utils.py index f66c25c189..376546a7a2 100644 --- a/src/calibre/srv/utils.py +++ b/src/calibre/srv/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/srv/web_socket.py b/src/calibre/srv/web_socket.py index 4ade8b68ca..297277ae3f 100644 --- a/src/calibre/srv/web_socket.py +++ b/src/calibre/srv/web_socket.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal diff --git a/src/calibre/test_build.py b/src/calibre/test_build.py index c6b1600f20..af03323cc7 100644 --- a/src/calibre/test_build.py +++ b/src/calibre/test_build.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/__init__.py b/src/calibre/utils/__init__.py index ca4af880d1..1f006ac780 100644 --- a/src/calibre/utils/__init__.py +++ b/src/calibre/utils/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/browser.py b/src/calibre/utils/browser.py index 222b46f3a5..9503da87a1 100644 --- a/src/calibre/utils/browser.py +++ b/src/calibre/utils/browser.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # License: GPLv3 Copyright: 2010, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/certgen.py b/src/calibre/utils/certgen.py index 30e4760dd6..681448d408 100644 --- a/src/calibre/utils/certgen.py +++ b/src/calibre/utils/certgen.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/cleantext.py b/src/calibre/utils/cleantext.py index d7c9d74c20..9d873cea22 100644 --- a/src/calibre/utils/cleantext.py +++ b/src/calibre/utils/cleantext.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2010, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/complete.py b/src/calibre/utils/complete.py index 01500b62e5..77fcf8fd49 100644 --- a/src/calibre/utils/complete.py +++ b/src/calibre/utils/complete.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/config_base.py b/src/calibre/utils/config_base.py index 8def5ba4be..1536068415 100644 --- a/src/calibre/utils/config_base.py +++ b/src/calibre/utils/config_base.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/date.py b/src/calibre/utils/date.py index 9845641062..b622abd559 100644 --- a/src/calibre/utils/date.py +++ b/src/calibre/utils/date.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/exim.py b/src/calibre/utils/exim.py index 5a976f6920..a9a9ebc0dd 100644 --- a/src/calibre/utils/exim.py +++ b/src/calibre/utils/exim.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/file_type_icons.py b/src/calibre/utils/file_type_icons.py index 735ef9c604..d6f6912617 100644 --- a/src/calibre/utils/file_type_icons.py +++ b/src/calibre/utils/file_type_icons.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal diff --git a/src/calibre/utils/fonts/__init__.py b/src/calibre/utils/fonts/__init__.py index 720ff711e6..a9b056d940 100644 --- a/src/calibre/utils/fonts/__init__.py +++ b/src/calibre/utils/fonts/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/fonts/free_type.py b/src/calibre/utils/fonts/free_type.py index c4ba84570a..f772244e28 100644 --- a/src/calibre/utils/fonts/free_type.py +++ b/src/calibre/utils/fonts/free_type.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/fonts/metadata.py b/src/calibre/utils/fonts/metadata.py index aad632d1f3..7386c6dc41 100644 --- a/src/calibre/utils/fonts/metadata.py +++ b/src/calibre/utils/fonts/metadata.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/fonts/scanner.py b/src/calibre/utils/fonts/scanner.py index ec113f7deb..bf6acff568 100644 --- a/src/calibre/utils/fonts/scanner.py +++ b/src/calibre/utils/fonts/scanner.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/fonts/sfnt/__init__.py b/src/calibre/utils/fonts/sfnt/__init__.py index 16979addcb..2bf754bd0c 100644 --- a/src/calibre/utils/fonts/sfnt/__init__.py +++ b/src/calibre/utils/fonts/sfnt/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/fonts/sfnt/cff/__init__.py b/src/calibre/utils/fonts/sfnt/cff/__init__.py index d7ade49452..2b86b54dc3 100644 --- a/src/calibre/utils/fonts/sfnt/cff/__init__.py +++ b/src/calibre/utils/fonts/sfnt/cff/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/fonts/sfnt/cff/constants.py b/src/calibre/utils/fonts/sfnt/cff/constants.py index 62ddf05de9..e4b4907ad4 100644 --- a/src/calibre/utils/fonts/sfnt/cff/constants.py +++ b/src/calibre/utils/fonts/sfnt/cff/constants.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/fonts/sfnt/cff/dict_data.py b/src/calibre/utils/fonts/sfnt/cff/dict_data.py index 80a87f180f..e9ecef3b88 100644 --- a/src/calibre/utils/fonts/sfnt/cff/dict_data.py +++ b/src/calibre/utils/fonts/sfnt/cff/dict_data.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/fonts/sfnt/cff/table.py b/src/calibre/utils/fonts/sfnt/cff/table.py index 5a76090cb0..2f653ab59f 100644 --- a/src/calibre/utils/fonts/sfnt/cff/table.py +++ b/src/calibre/utils/fonts/sfnt/cff/table.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/fonts/sfnt/cff/writer.py b/src/calibre/utils/fonts/sfnt/cff/writer.py index 561399d04f..b447af68f1 100644 --- a/src/calibre/utils/fonts/sfnt/cff/writer.py +++ b/src/calibre/utils/fonts/sfnt/cff/writer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/fonts/sfnt/cmap.py b/src/calibre/utils/fonts/sfnt/cmap.py index e495f68613..d270b313b6 100644 --- a/src/calibre/utils/fonts/sfnt/cmap.py +++ b/src/calibre/utils/fonts/sfnt/cmap.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/fonts/sfnt/common.py b/src/calibre/utils/fonts/sfnt/common.py index 91ef9dfc14..c8c9d4e5c1 100644 --- a/src/calibre/utils/fonts/sfnt/common.py +++ b/src/calibre/utils/fonts/sfnt/common.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/fonts/sfnt/container.py b/src/calibre/utils/fonts/sfnt/container.py index 79d879692b..bfdfddf399 100644 --- a/src/calibre/utils/fonts/sfnt/container.py +++ b/src/calibre/utils/fonts/sfnt/container.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai # License: GPLv3 Copyright: 2012, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/fonts/sfnt/errors.py b/src/calibre/utils/fonts/sfnt/errors.py index e7d0e3cfb8..7859063f01 100644 --- a/src/calibre/utils/fonts/sfnt/errors.py +++ b/src/calibre/utils/fonts/sfnt/errors.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/fonts/sfnt/glyf.py b/src/calibre/utils/fonts/sfnt/glyf.py index 313b7e6643..22700b2e1d 100644 --- a/src/calibre/utils/fonts/sfnt/glyf.py +++ b/src/calibre/utils/fonts/sfnt/glyf.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/fonts/sfnt/gsub.py b/src/calibre/utils/fonts/sfnt/gsub.py index 249e1344e2..42f8135ee2 100644 --- a/src/calibre/utils/fonts/sfnt/gsub.py +++ b/src/calibre/utils/fonts/sfnt/gsub.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/fonts/sfnt/head.py b/src/calibre/utils/fonts/sfnt/head.py index 06dd711e7d..b01c296274 100644 --- a/src/calibre/utils/fonts/sfnt/head.py +++ b/src/calibre/utils/fonts/sfnt/head.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/fonts/sfnt/kern.py b/src/calibre/utils/fonts/sfnt/kern.py index c4c58a21af..531249d15f 100644 --- a/src/calibre/utils/fonts/sfnt/kern.py +++ b/src/calibre/utils/fonts/sfnt/kern.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/fonts/sfnt/loca.py b/src/calibre/utils/fonts/sfnt/loca.py index 04a9c37480..e5eca29a8d 100644 --- a/src/calibre/utils/fonts/sfnt/loca.py +++ b/src/calibre/utils/fonts/sfnt/loca.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/fonts/sfnt/maxp.py b/src/calibre/utils/fonts/sfnt/maxp.py index 4d927ee7a4..e5e769e0c1 100644 --- a/src/calibre/utils/fonts/sfnt/maxp.py +++ b/src/calibre/utils/fonts/sfnt/maxp.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/fonts/sfnt/merge.py b/src/calibre/utils/fonts/sfnt/merge.py index d86dc61cf0..cb0caf6b57 100644 --- a/src/calibre/utils/fonts/sfnt/merge.py +++ b/src/calibre/utils/fonts/sfnt/merge.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Kovid Goyal diff --git a/src/calibre/utils/fonts/sfnt/metrics.py b/src/calibre/utils/fonts/sfnt/metrics.py index 5c4d11ad9b..4b397a307b 100644 --- a/src/calibre/utils/fonts/sfnt/metrics.py +++ b/src/calibre/utils/fonts/sfnt/metrics.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/fonts/sfnt/subset.py b/src/calibre/utils/fonts/sfnt/subset.py index a83a620ef6..0827d794fa 100644 --- a/src/calibre/utils/fonts/sfnt/subset.py +++ b/src/calibre/utils/fonts/sfnt/subset.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/fonts/utils.py b/src/calibre/utils/fonts/utils.py index 155298a362..2e21693b76 100644 --- a/src/calibre/utils/fonts/utils.py +++ b/src/calibre/utils/fonts/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/fonts/win_fonts.py b/src/calibre/utils/fonts/win_fonts.py index d7280f2051..204573a989 100644 --- a/src/calibre/utils/fonts/win_fonts.py +++ b/src/calibre/utils/fonts/win_fonts.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/formatter_functions.py b/src/calibre/utils/formatter_functions.py index ba6c1f05e0..115509db05 100644 --- a/src/calibre/utils/formatter_functions.py +++ b/src/calibre/utils/formatter_functions.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 ''' diff --git a/src/calibre/utils/html2text.py b/src/calibre/utils/html2text.py index fd832353e8..94152be69b 100644 --- a/src/calibre/utils/html2text.py +++ b/src/calibre/utils/html2text.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2019, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/https.py b/src/calibre/utils/https.py index 274b0ca2d0..a1716a124c 100644 --- a/src/calibre/utils/https.py +++ b/src/calibre/utils/https.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/icu.py b/src/calibre/utils/icu.py index 2dd15c0f07..9013b68d85 100644 --- a/src/calibre/utils/icu.py +++ b/src/calibre/utils/icu.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/icu_test.py b/src/calibre/utils/icu_test.py index ec9169c5f3..1f7a6c3b17 100644 --- a/src/calibre/utils/icu_test.py +++ b/src/calibre/utils/icu_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/img.py b/src/calibre/utils/img.py index e6f14e3a62..7be7648e68 100644 --- a/src/calibre/utils/img.py +++ b/src/calibre/utils/img.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015-2019, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/imghdr.py b/src/calibre/utils/imghdr.py index fa6558dda0..57c9abf84f 100644 --- a/src/calibre/utils/imghdr.py +++ b/src/calibre/utils/imghdr.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/inotify.py b/src/calibre/utils/inotify.py index 751a2e3f1f..7c84204c86 100644 --- a/src/calibre/utils/inotify.py +++ b/src/calibre/utils/inotify.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/ip_routing.py b/src/calibre/utils/ip_routing.py index 7f1ef8674e..1460de8b5e 100644 --- a/src/calibre/utils/ip_routing.py +++ b/src/calibre/utils/ip_routing.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/src/calibre/utils/ipc/__init__.py b/src/calibre/utils/ipc/__init__.py index b2a8aaf8aa..f1a166209a 100644 --- a/src/calibre/utils/ipc/__init__.py +++ b/src/calibre/utils/ipc/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/ipc/job.py b/src/calibre/utils/ipc/job.py index 28ba1aeee7..83816bc544 100644 --- a/src/calibre/utils/ipc/job.py +++ b/src/calibre/utils/ipc/job.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/ipc/launch.py b/src/calibre/utils/ipc/launch.py index fddfae7cb1..fbf543b880 100644 --- a/src/calibre/utils/ipc/launch.py +++ b/src/calibre/utils/ipc/launch.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/ipc/pool.py b/src/calibre/utils/ipc/pool.py index 11fb9089fd..312d10127d 100644 --- a/src/calibre/utils/ipc/pool.py +++ b/src/calibre/utils/ipc/pool.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/ipc/server.py b/src/calibre/utils/ipc/server.py index 47e40b44b0..abd35bb8ef 100644 --- a/src/calibre/utils/ipc/server.py +++ b/src/calibre/utils/ipc/server.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/ipc/simple_worker.py b/src/calibre/utils/ipc/simple_worker.py index 32b173c817..957e2f9299 100644 --- a/src/calibre/utils/ipc/simple_worker.py +++ b/src/calibre/utils/ipc/simple_worker.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/ipc/worker.py b/src/calibre/utils/ipc/worker.py index 1f9602d837..f095713cc0 100644 --- a/src/calibre/utils/ipc/worker.py +++ b/src/calibre/utils/ipc/worker.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/iphlpapi.py b/src/calibre/utils/iphlpapi.py index babe110bf5..a125f77d4d 100644 --- a/src/calibre/utils/iphlpapi.py +++ b/src/calibre/utils/iphlpapi.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal diff --git a/src/calibre/utils/ipython.py b/src/calibre/utils/ipython.py index 19e5fc84d7..d90b945b20 100644 --- a/src/calibre/utils/ipython.py +++ b/src/calibre/utils/ipython.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/iso8601.py b/src/calibre/utils/iso8601.py index fc8ef91c93..516dc4260d 100644 --- a/src/calibre/utils/iso8601.py +++ b/src/calibre/utils/iso8601.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/src/calibre/utils/linux_trash.py b/src/calibre/utils/linux_trash.py index 558c9aa779..4c208ed3e4 100644 --- a/src/calibre/utils/linux_trash.py +++ b/src/calibre/utils/linux_trash.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/localization.py b/src/calibre/utils/localization.py index c2f2613def..fa784c9b38 100644 --- a/src/calibre/utils/localization.py +++ b/src/calibre/utils/localization.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/localunzip.py b/src/calibre/utils/localunzip.py index b0d0ab568c..ea4e67eb62 100644 --- a/src/calibre/utils/localunzip.py +++ b/src/calibre/utils/localunzip.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/lock.py b/src/calibre/utils/lock.py index fb37f7c8f0..4d71754e9f 100644 --- a/src/calibre/utils/lock.py +++ b/src/calibre/utils/lock.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/utils/magick/__init__.py b/src/calibre/utils/magick/__init__.py index db4a81ebb1..11d5537216 100644 --- a/src/calibre/utils/magick/__init__.py +++ b/src/calibre/utils/magick/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/magick/draw.py b/src/calibre/utils/magick/draw.py index 36aa37797b..e741f8dc16 100644 --- a/src/calibre/utils/magick/draw.py +++ b/src/calibre/utils/magick/draw.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/magick/legacy.py b/src/calibre/utils/magick/legacy.py index c6025a8d31..97b3270469 100644 --- a/src/calibre/utils/magick/legacy.py +++ b/src/calibre/utils/magick/legacy.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/src/calibre/utils/matcher.py b/src/calibre/utils/matcher.py index 85f267767d..813e573105 100644 --- a/src/calibre/utils/matcher.py +++ b/src/calibre/utils/matcher.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/mem.py b/src/calibre/utils/mem.py index f48e8c0510..4313c21cb0 100644 --- a/src/calibre/utils/mem.py +++ b/src/calibre/utils/mem.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/network.py b/src/calibre/utils/network.py index 700a602025..5c808cf754 100644 --- a/src/calibre/utils/network.py +++ b/src/calibre/utils/network.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # License: GPLv3 Copyright: 2010, Kovid Goyal diff --git a/src/calibre/utils/open_with/linux.py b/src/calibre/utils/open_with/linux.py index f3405b50b0..c2847ce78f 100644 --- a/src/calibre/utils/open_with/linux.py +++ b/src/calibre/utils/open_with/linux.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/open_with/osx.py b/src/calibre/utils/open_with/osx.py index 3ee0d4cb51..ed8d25c82a 100644 --- a/src/calibre/utils/open_with/osx.py +++ b/src/calibre/utils/open_with/osx.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/open_with/windows.py b/src/calibre/utils/open_with/windows.py index be419d623b..81e16fec01 100644 --- a/src/calibre/utils/open_with/windows.py +++ b/src/calibre/utils/open_with/windows.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/ordered_dict.py b/src/calibre/utils/ordered_dict.py index 86016054e1..f3176feeea 100644 --- a/src/calibre/utils/ordered_dict.py +++ b/src/calibre/utils/ordered_dict.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/podofo/__init__.py b/src/calibre/utils/podofo/__init__.py index 2402dc8216..56e471b694 100644 --- a/src/calibre/utils/podofo/__init__.py +++ b/src/calibre/utils/podofo/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai # License: GPLv3 Copyright: 2009, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/random_ua.py b/src/calibre/utils/random_ua.py index 8b26a27676..34755c16b8 100644 --- a/src/calibre/utils/random_ua.py +++ b/src/calibre/utils/random_ua.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/utils/rapydscript.py b/src/calibre/utils/rapydscript.py index ed386f7382..0acc82ed96 100644 --- a/src/calibre/utils/rapydscript.py +++ b/src/calibre/utils/rapydscript.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/recycle_bin.py b/src/calibre/utils/recycle_bin.py index 9354193de5..5119a9c74c 100644 --- a/src/calibre/utils/recycle_bin.py +++ b/src/calibre/utils/recycle_bin.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/resources.py b/src/calibre/utils/resources.py index f63b884fc3..7062db6b10 100644 --- a/src/calibre/utils/resources.py +++ b/src/calibre/utils/resources.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/run_tests.py b/src/calibre/utils/run_tests.py index 6e2bb90151..b75896f753 100644 --- a/src/calibre/utils/run_tests.py +++ b/src/calibre/utils/run_tests.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/src/calibre/utils/search_query_parser.py b/src/calibre/utils/search_query_parser.py index 60691defea..38f53cc87c 100644 --- a/src/calibre/utils/search_query_parser.py +++ b/src/calibre/utils/search_query_parser.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # encoding: utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/search_query_parser_test.py b/src/calibre/utils/search_query_parser_test.py index b7df1e3dab..36df945ee9 100644 --- a/src/calibre/utils/search_query_parser_test.py +++ b/src/calibre/utils/search_query_parser_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2018, Kovid Goyal diff --git a/src/calibre/utils/serialize.py b/src/calibre/utils/serialize.py index c35ae53849..692d78eac8 100644 --- a/src/calibre/utils/serialize.py +++ b/src/calibre/utils/serialize.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/utils/shared_file.py b/src/calibre/utils/shared_file.py index 836c22525e..e1fef31243 100644 --- a/src/calibre/utils/shared_file.py +++ b/src/calibre/utils/shared_file.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/short_uuid.py b/src/calibre/utils/short_uuid.py index 0d8b40c7da..f0b5a7e31d 100644 --- a/src/calibre/utils/short_uuid.py +++ b/src/calibre/utils/short_uuid.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2015, Kovid Goyal from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/smartypants.py b/src/calibre/utils/smartypants.py index 7f44d06a7e..dc4ad4ec90 100644 --- a/src/calibre/utils/smartypants.py +++ b/src/calibre/utils/smartypants.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/smtplib.py b/src/calibre/utils/smtplib.py index 34634fbffa..25029dedbd 100644 --- a/src/calibre/utils/smtplib.py +++ b/src/calibre/utils/smtplib.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import print_function '''SMTP/ESMTP client class. diff --git a/src/calibre/utils/socket_inheritance.py b/src/calibre/utils/socket_inheritance.py index 6b49762f0a..5af4ce7a92 100644 --- a/src/calibre/utils/socket_inheritance.py +++ b/src/calibre/utils/socket_inheritance.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/speedups.py b/src/calibre/utils/speedups.py index e6d5acb9fc..0786456503 100644 --- a/src/calibre/utils/speedups.py +++ b/src/calibre/utils/speedups.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/src/calibre/utils/spell/__init__.py b/src/calibre/utils/spell/__init__.py index d9dc36506c..69376f9ebd 100644 --- a/src/calibre/utils/spell/__init__.py +++ b/src/calibre/utils/spell/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/tdir_in_cache.py b/src/calibre/utils/tdir_in_cache.py index 1d8ed8dde9..a5bb58293b 100644 --- a/src/calibre/utils/tdir_in_cache.py +++ b/src/calibre/utils/tdir_in_cache.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2018, Kovid Goyal diff --git a/src/calibre/utils/terminal.py b/src/calibre/utils/terminal.py index a436ef0716..a640c573eb 100644 --- a/src/calibre/utils/terminal.py +++ b/src/calibre/utils/terminal.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/test_lock.py b/src/calibre/utils/test_lock.py index f475b0b15b..6f6a2def5e 100644 --- a/src/calibre/utils/test_lock.py +++ b/src/calibre/utils/test_lock.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/utils/text2int.py b/src/calibre/utils/text2int.py index c9a88946c1..1aa70916d4 100644 --- a/src/calibre/utils/text2int.py +++ b/src/calibre/utils/text2int.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/titlecase.py b/src/calibre/utils/titlecase.py index 2450e370d6..fec245c494 100644 --- a/src/calibre/utils/titlecase.py +++ b/src/calibre/utils/titlecase.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/unicode_getpass.py b/src/calibre/utils/unicode_getpass.py index fa027fa1ea..d1245096f5 100644 --- a/src/calibre/utils/unicode_getpass.py +++ b/src/calibre/utils/unicode_getpass.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2017, Kovid Goyal diff --git a/src/calibre/utils/unicode_names.py b/src/calibre/utils/unicode_names.py index a95891dfdb..f6e4e42f9f 100644 --- a/src/calibre/utils/unicode_names.py +++ b/src/calibre/utils/unicode_names.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2018, Kovid Goyal diff --git a/src/calibre/utils/unrar.py b/src/calibre/utils/unrar.py index 7b196dbd11..9dc3d6d42a 100644 --- a/src/calibre/utils/unrar.py +++ b/src/calibre/utils/unrar.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/windows/wintest.py b/src/calibre/utils/windows/wintest.py index b46aee16fb..142cb7361e 100644 --- a/src/calibre/utils/windows/wintest.py +++ b/src/calibre/utils/windows/wintest.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Kovid Goyal diff --git a/src/calibre/utils/winreg/dde.py b/src/calibre/utils/winreg/dde.py index c949a8110a..d3806be481 100644 --- a/src/calibre/utils/winreg/dde.py +++ b/src/calibre/utils/winreg/dde.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/winreg/default_programs.py b/src/calibre/utils/winreg/default_programs.py index 4a76f82feb..f597d8c36b 100644 --- a/src/calibre/utils/winreg/default_programs.py +++ b/src/calibre/utils/winreg/default_programs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/winreg/lib.py b/src/calibre/utils/winreg/lib.py index 48c50a5c4a..1295297dea 100644 --- a/src/calibre/utils/winreg/lib.py +++ b/src/calibre/utils/winreg/lib.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/wmf/__init__.py b/src/calibre/utils/wmf/__init__.py index 17f34c00df..3b2e3a7da4 100644 --- a/src/calibre/utils/wmf/__init__.py +++ b/src/calibre/utils/wmf/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/wmf/emf.py b/src/calibre/utils/wmf/emf.py index 5ba6adf58d..3fec5acd01 100644 --- a/src/calibre/utils/wmf/emf.py +++ b/src/calibre/utils/wmf/emf.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/wmf/parse.py b/src/calibre/utils/wmf/parse.py index 196970ed6a..85fdfd8754 100644 --- a/src/calibre/utils/wmf/parse.py +++ b/src/calibre/utils/wmf/parse.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/utils/wordcount.py b/src/calibre/utils/wordcount.py index 86ba2874a8..6afa979ebd 100644 --- a/src/calibre/utils/wordcount.py +++ b/src/calibre/utils/wordcount.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre/web/feeds/__init__.py b/src/calibre/web/feeds/__init__.py index bf194337e2..02ce6cce46 100644 --- a/src/calibre/web/feeds/__init__.py +++ b/src/calibre/web/feeds/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import print_function, unicode_literals __license__ = 'GPL v3' diff --git a/src/calibre/web/feeds/recipes/__init__.py b/src/calibre/web/feeds/recipes/__init__.py index d65c245a33..eec8c12524 100644 --- a/src/calibre/web/feeds/recipes/__init__.py +++ b/src/calibre/web/feeds/recipes/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import unicode_literals __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' diff --git a/src/calibre/web/feeds/recipes/collection.py b/src/calibre/web/feeds/recipes/collection.py index 0129954baf..68f2ea419f 100644 --- a/src/calibre/web/feeds/recipes/collection.py +++ b/src/calibre/web/feeds/recipes/collection.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement, print_function, unicode_literals diff --git a/src/calibre/web/feeds/recipes/model.py b/src/calibre/web/feeds/recipes/model.py index d6d489a632..d362bec6f0 100644 --- a/src/calibre/web/feeds/recipes/model.py +++ b/src/calibre/web/feeds/recipes/model.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement, unicode_literals diff --git a/src/calibre/web/feeds/templates.py b/src/calibre/web/feeds/templates.py index 71985831a5..1c40fc64f3 100644 --- a/src/calibre/web/feeds/templates.py +++ b/src/calibre/web/feeds/templates.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import unicode_literals __license__ = 'GPL v3' diff --git a/src/calibre/web/fetch/simple.py b/src/calibre/web/fetch/simple.py index e0b4fefc5c..6a28d71d2e 100644 --- a/src/calibre/web/fetch/simple.py +++ b/src/calibre/web/fetch/simple.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python from __future__ import print_function, with_statement, unicode_literals __license__ = 'GPL v3' diff --git a/src/calibre/web/fetch/utils.py b/src/calibre/web/fetch/utils.py index 6c17e67a2c..1680103598 100644 --- a/src/calibre/web/fetch/utils.py +++ b/src/calibre/web/fetch/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2016, Kovid Goyal diff --git a/src/calibre_lzma/__init__.py b/src/calibre_lzma/__init__.py index 280f29ad6d..cbf4297d76 100644 --- a/src/calibre_lzma/__init__.py +++ b/src/calibre_lzma/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre_lzma/errors.py b/src/calibre_lzma/errors.py index 5e4de4c739..f07f46b2a4 100644 --- a/src/calibre_lzma/errors.py +++ b/src/calibre_lzma/errors.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre_lzma/lzma1.py b/src/calibre_lzma/lzma1.py index 5e842407cd..1d11d9596c 100644 --- a/src/calibre_lzma/lzma1.py +++ b/src/calibre_lzma/lzma1.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/calibre_lzma/xz.py b/src/calibre_lzma/xz.py index 2e82ea85f7..73227bddc8 100644 --- a/src/calibre_lzma/xz.py +++ b/src/calibre_lzma/xz.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/css_selectors/__init__.py b/src/css_selectors/__init__.py index 24e1322fa4..d54aa48073 100644 --- a/src/css_selectors/__init__.py +++ b/src/css_selectors/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/css_selectors/errors.py b/src/css_selectors/errors.py index 070965ce3a..c49a71fbcc 100644 --- a/src/css_selectors/errors.py +++ b/src/css_selectors/errors.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/css_selectors/ordered_set.py b/src/css_selectors/ordered_set.py index 448a4a7db8..7a6f9e2ce5 100644 --- a/src/css_selectors/ordered_set.py +++ b/src/css_selectors/ordered_set.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/css_selectors/parser.py b/src/css_selectors/parser.py index 4ea3e1108d..9920b6b0fc 100644 --- a/src/css_selectors/parser.py +++ b/src/css_selectors/parser.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 """ Tokenizer, parser and parsed objects for CSS selectors. diff --git a/src/css_selectors/select.py b/src/css_selectors/select.py index b6e2a1884a..0ee4471737 100644 --- a/src/css_selectors/select.py +++ b/src/css_selectors/select.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/css_selectors/tests.py b/src/css_selectors/tests.py index 0176f1db93..8a80fc6227 100644 --- a/src/css_selectors/tests.py +++ b/src/css_selectors/tests.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/odf/element.py b/src/odf/element.py index 5ecd02a203..66083632ce 100644 --- a/src/odf/element.py +++ b/src/odf/element.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (C) 2007-2010 Søren Roug, European Environment Agency # diff --git a/src/odf/elementtypes.py b/src/odf/elementtypes.py index 221bdaf7dc..36fbb592e8 100644 --- a/src/odf/elementtypes.py +++ b/src/odf/elementtypes.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (C) 2008 Søren Roug, European Environment Agency # diff --git a/src/odf/load.py b/src/odf/load.py index cfa91f89b8..f8551ae356 100644 --- a/src/odf/load.py +++ b/src/odf/load.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (C) 2007-2008 Søren Roug, European Environment Agency # diff --git a/src/odf/manifest.py b/src/odf/manifest.py index 3ad29064df..e1e8d450ef 100644 --- a/src/odf/manifest.py +++ b/src/odf/manifest.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (C) 2006-2007 Søren Roug, European Environment Agency # diff --git a/src/odf/odf2xhtml.py b/src/odf/odf2xhtml.py index ca53453c1c..15e1b86bf0 100644 --- a/src/odf/odf2xhtml.py +++ b/src/odf/odf2xhtml.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (C) 2006-2010 Søren Roug, European Environment Agency # diff --git a/src/odf/odfmanifest.py b/src/odf/odfmanifest.py index 0eab47baa6..e96bef2695 100644 --- a/src/odf/odfmanifest.py +++ b/src/odf/odfmanifest.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (C) 2006-2007 Søren Roug, European Environment Agency # diff --git a/src/odf/thumbnail.py b/src/odf/thumbnail.py index 28ab5a9aaa..7e7fe38a0e 100644 --- a/src/odf/thumbnail.py +++ b/src/odf/thumbnail.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- # This contains a 128x128 px thumbnail in PNG format # Taken from https://cgit.freedesktop.org/libreoffice/core/tree/sysui/desktop/icons/hicolor/128x128/apps/main.png diff --git a/src/odf/userfield.py b/src/odf/userfield.py index 581252adc5..9d72ffc72f 100644 --- a/src/odf/userfield.py +++ b/src/odf/userfield.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (C) 2006-2009 Søren Roug, European Environment Agency # diff --git a/src/polyglot/binary.py b/src/polyglot/binary.py index 360ac0b3ac..88c2d67f0a 100644 --- a/src/polyglot/binary.py +++ b/src/polyglot/binary.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Kovid Goyal diff --git a/src/polyglot/builtins.py b/src/polyglot/builtins.py index cb78f7f822..0fa366d8b9 100644 --- a/src/polyglot/builtins.py +++ b/src/polyglot/builtins.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2018, Kovid Goyal diff --git a/src/polyglot/functools.py b/src/polyglot/functools.py index f0cdf08ca7..599e6b38b7 100644 --- a/src/polyglot/functools.py +++ b/src/polyglot/functools.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Kovid Goyal diff --git a/src/polyglot/html_entities.py b/src/polyglot/html_entities.py index 2e20eee7f4..c006b2941f 100644 --- a/src/polyglot/html_entities.py +++ b/src/polyglot/html_entities.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Eli Schwartz diff --git a/src/polyglot/http_client.py b/src/polyglot/http_client.py index 740d9799ff..3c6126337f 100644 --- a/src/polyglot/http_client.py +++ b/src/polyglot/http_client.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Eli Schwartz diff --git a/src/polyglot/http_cookie.py b/src/polyglot/http_cookie.py index 645b8b6a3a..1c5977f74f 100644 --- a/src/polyglot/http_cookie.py +++ b/src/polyglot/http_cookie.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Eli Schwartz diff --git a/src/polyglot/http_server.py b/src/polyglot/http_server.py index 319ec9a29c..10dbbc0a20 100644 --- a/src/polyglot/http_server.py +++ b/src/polyglot/http_server.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2018, Kovid Goyal diff --git a/src/polyglot/io.py b/src/polyglot/io.py index c5dcfe23ed..ba49423d54 100644 --- a/src/polyglot/io.py +++ b/src/polyglot/io.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Kovid Goyal diff --git a/src/polyglot/plistlib.py b/src/polyglot/plistlib.py index a0c6a19850..5066f1f952 100644 --- a/src/polyglot/plistlib.py +++ b/src/polyglot/plistlib.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Kovid Goyal diff --git a/src/polyglot/queue.py b/src/polyglot/queue.py index de4cb6fbc5..51feafeaca 100644 --- a/src/polyglot/queue.py +++ b/src/polyglot/queue.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Eli Schwartz diff --git a/src/polyglot/reprlib.py b/src/polyglot/reprlib.py index 2444ad1788..d3b745851e 100644 --- a/src/polyglot/reprlib.py +++ b/src/polyglot/reprlib.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Eli Schwartz diff --git a/src/polyglot/smtplib.py b/src/polyglot/smtplib.py index 0ee340a85f..11bf5d76fc 100644 --- a/src/polyglot/smtplib.py +++ b/src/polyglot/smtplib.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Kovid Goyal diff --git a/src/polyglot/socketserver.py b/src/polyglot/socketserver.py index 243cbac5cd..da5c644531 100644 --- a/src/polyglot/socketserver.py +++ b/src/polyglot/socketserver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2019, Eli Schwartz diff --git a/src/polyglot/urllib.py b/src/polyglot/urllib.py index 1d30c99eca..cfd7ab4ab1 100644 --- a/src/polyglot/urllib.py +++ b/src/polyglot/urllib.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPL v3 Copyright: 2018, Kovid Goyal diff --git a/src/templite/__init__.py b/src/templite/__init__.py index 8e64cc4b82..f76bf99e75 100644 --- a/src/templite/__init__.py +++ b/src/templite/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # # Templite+ # A light-weight, fully functional, general purpose templating engine diff --git a/src/tinycss/fonts3.py b/src/tinycss/fonts3.py index 60030b7584..66d65db0b6 100644 --- a/src/tinycss/fonts3.py +++ b/src/tinycss/fonts3.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/tinycss/media3.py b/src/tinycss/media3.py index 3d4ebe146e..daa8e3a9d3 100644 --- a/src/tinycss/media3.py +++ b/src/tinycss/media3.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/tinycss/tests/__init__.py b/src/tinycss/tests/__init__.py index 991303ecab..01b4731e70 100644 --- a/src/tinycss/tests/__init__.py +++ b/src/tinycss/tests/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/tinycss/tests/color3.py b/src/tinycss/tests/color3.py index 036c193f55..03cde0cf00 100644 --- a/src/tinycss/tests/color3.py +++ b/src/tinycss/tests/color3.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/tinycss/tests/css21.py b/src/tinycss/tests/css21.py index 571d37ad6e..e92b76880b 100644 --- a/src/tinycss/tests/css21.py +++ b/src/tinycss/tests/css21.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/tinycss/tests/decoding.py b/src/tinycss/tests/decoding.py index be3dde196e..d465118d30 100644 --- a/src/tinycss/tests/decoding.py +++ b/src/tinycss/tests/decoding.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/tinycss/tests/fonts3.py b/src/tinycss/tests/fonts3.py index 08c72973f2..a5dd938116 100644 --- a/src/tinycss/tests/fonts3.py +++ b/src/tinycss/tests/fonts3.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/tinycss/tests/main.py b/src/tinycss/tests/main.py index 321722bab9..97d7c05796 100644 --- a/src/tinycss/tests/main.py +++ b/src/tinycss/tests/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/tinycss/tests/media3.py b/src/tinycss/tests/media3.py index 0d37156e0b..6b53ff204f 100644 --- a/src/tinycss/tests/media3.py +++ b/src/tinycss/tests/media3.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/tinycss/tests/page3.py b/src/tinycss/tests/page3.py index aa3fac3180..b3d7665643 100644 --- a/src/tinycss/tests/page3.py +++ b/src/tinycss/tests/page3.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/tinycss/tests/tokenizing.py b/src/tinycss/tests/tokenizing.py index e99077dfec..b781b22e00 100644 --- a/src/tinycss/tests/tokenizing.py +++ b/src/tinycss/tests/tokenizing.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals