diff --git a/icons/icns/make_iconsets.py b/icons/icns/make_iconsets.py index 2a88daf2f6..b804860994 100644 --- a/icons/icns/make_iconsets.py +++ b/icons/icns/make_iconsets.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/manual/custom.py b/manual/custom.py index dcd979a5d7..947bbdd903 100644 --- a/manual/custom.py +++ b/manual/custom.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/manual/epub.py b/manual/epub.py index cf6e85980d..cda286bb0c 100644 --- a/manual/epub.py +++ b/manual/epub.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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 21086b7834..688ad50c1a 100644 --- a/manual/latex.py +++ b/manual/latex.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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 13fac4f6e4..15aa6c1bb1 100644 --- a/manual/plugin_examples/editor_demo/__init__.py +++ b/manual/plugin_examples/editor_demo/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/manual/plugin_examples/editor_demo/main.py b/manual/plugin_examples/editor_demo/main.py index b4d24d3d39..85c0dcdd69 100644 --- a/manual/plugin_examples/editor_demo/main.py +++ b/manual/plugin_examples/editor_demo/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/manual/plugin_examples/helloworld/__init__.py b/manual/plugin_examples/helloworld/__init__.py index 3a49123e07..8e4f7b6b66 100644 --- a/manual/plugin_examples/helloworld/__init__.py +++ b/manual/plugin_examples/helloworld/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/manual/plugin_examples/interface_demo/__init__.py b/manual/plugin_examples/interface_demo/__init__.py index ac7d9c6ec1..46baa8a720 100644 --- a/manual/plugin_examples/interface_demo/__init__.py +++ b/manual/plugin_examples/interface_demo/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/manual/plugin_examples/interface_demo/config.py b/manual/plugin_examples/interface_demo/config.py index f5f8a9d094..4f87eba98b 100644 --- a/manual/plugin_examples/interface_demo/config.py +++ b/manual/plugin_examples/interface_demo/config.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/manual/plugin_examples/interface_demo/main.py b/manual/plugin_examples/interface_demo/main.py index 0bf81e1efe..7cfc3d41f5 100644 --- a/manual/plugin_examples/interface_demo/main.py +++ b/manual/plugin_examples/interface_demo/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/manual/plugin_examples/interface_demo/ui.py b/manual/plugin_examples/interface_demo/ui.py index 5026269b60..932276add7 100644 --- a/manual/plugin_examples/interface_demo/ui.py +++ b/manual/plugin_examples/interface_demo/ui.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/manual/template_ref_generate.py b/manual/template_ref_generate.py index e342bdb6e3..218a31d583 100644 --- a/manual/template_ref_generate.py +++ b/manual/template_ref_generate.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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 4c2f8a7ec7..b8697cc50e 100644 --- a/recipes/10minutos.recipe +++ b/recipes/10minutos.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = '2013, Carlos Alves ' diff --git a/recipes/180.recipe b/recipes/180.recipe index 4f00314795..67748d7484 100644 --- a/recipes/180.recipe +++ b/recipes/180.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = '2010, Gustavo Azambuja ' diff --git a/recipes/24sata.recipe b/recipes/24sata.recipe index 5fdc405950..49d3a6b0b5 100644 --- a/recipes/24sata.recipe +++ b/recipes/24sata.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/7dias.recipe b/recipes/7dias.recipe index 3dc93295a8..6e9856b0a7 100644 --- a/recipes/7dias.recipe +++ b/recipes/7dias.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/7seri.recipe b/recipes/7seri.recipe index af5757e97e..2063500f03 100644 --- a/recipes/7seri.recipe +++ b/recipes/7seri.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/Ansa.recipe b/recipes/Ansa.recipe index 8ee4cc32a7..397ae7620d 100644 --- a/recipes/Ansa.recipe +++ b/recipes/Ansa.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Gabriele Marini, based on Darko Miletic' __copyright__ = '2010, Darko Miletic ' diff --git a/recipes/accountancyage.recipe b/recipes/accountancyage.recipe index a7264499c1..2765f4b799 100644 --- a/recipes/accountancyage.recipe +++ b/recipes/accountancyage.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008-2009, Darko Miletic ' diff --git a/recipes/adevarul.recipe b/recipes/adevarul.recipe index eec3ca771a..92c3c21cfb 100644 --- a/recipes/adevarul.recipe +++ b/recipes/adevarul.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' @@ -36,7 +36,7 @@ class Adevarul(BasicNewsRecipe): ] - remove_tags = [ + remove_tags = [ dict(name='li', attrs={'class':'author'}) ,dict(name='li', attrs={'class':'date'}) ,dict(name='li', attrs={'class':'comments'}) @@ -44,12 +44,12 @@ class Adevarul(BasicNewsRecipe): ,dict(name='div', attrs={'class':'bb-md bb-md-article_comments'}) ,dict(name='form', attrs={'id':'bb-comment-create-form'}) ,dict(name='div', attrs={'id':'mediatag'}) - ,dict(name='div', attrs={'id':'ft'}) + ,dict(name='div', attrs={'id':'ft'}) ,dict(name='div', attrs={'id':'comment_wrapper'}) ] - remove_tags_after = [ - dict(name='div', attrs={'id':'comment_wrapper'}), + remove_tags_after = [ + dict(name='div', attrs={'id':'comment_wrapper'}), ] feeds = [ (u'\u0218tiri', u'http://www.adevarul.ro/rss/latest') ] diff --git a/recipes/adnkronos.recipe b/recipes/adnkronos.recipe index 13a28b86eb..353cbabbbf 100644 --- a/recipes/adnkronos.recipe +++ b/recipes/adnkronos.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Gabriele Marini, based on Darko Miletic' __copyright__ = '2009-2010, Darko Miletic ' diff --git a/recipes/ajans_firat.recipe b/recipes/ajans_firat.recipe index 6629892b25..02acd9bd4d 100644 --- a/recipes/ajans_firat.recipe +++ b/recipes/ajans_firat.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ajc.recipe b/recipes/ajc.recipe index 9a56e2e7ff..1c4a71264c 100644 --- a/recipes/ajc.recipe +++ b/recipes/ajc.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 1339eaf38c..c450cec9e1 100644 --- a/recipes/al_monitor.recipe +++ b/recipes/al_monitor.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' __copyright__ = '2014, spswerling' diff --git a/recipes/animal_politico.recipe b/recipes/animal_politico.recipe index 5e57e266bc..0a4cbbb4b6 100644 --- a/recipes/animal_politico.recipe +++ b/recipes/animal_politico.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # encoding: utf-8 from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/apcom.recipe b/recipes/apcom.recipe index 9131810dd8..4839f94eaf 100644 --- a/recipes/apcom.recipe +++ b/recipes/apcom.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 b0ecbc87b3..84df9dcffc 100644 --- a/recipes/app_funds.recipe +++ b/recipes/app_funds.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'teepel ' diff --git a/recipes/appledaily_tw.recipe b/recipes/appledaily_tw.recipe index 5323e3b588..0f5d07090a 100644 --- a/recipes/appledaily_tw.recipe +++ b/recipes/appledaily_tw.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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 0345b9ed6e..0c7b77eed4 100644 --- a/recipes/ara_info.recipe +++ b/recipes/ara_info.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = 'Ruben Pollan ' __docformat__ = 'restructuredtext en' diff --git a/recipes/arcamax.recipe b/recipes/arcamax.recipe index 924f5ad088..7c84e08114 100644 --- a/recipes/arcamax.recipe +++ b/recipes/arcamax.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = 'Copyright 2010 Starson17' diff --git a/recipes/asia_one.recipe b/recipes/asia_one.recipe index 035fe792e1..6457645ce1 100644 --- a/recipes/asia_one.recipe +++ b/recipes/asia_one.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Bruce ' diff --git a/recipes/atlantic.recipe b/recipes/atlantic.recipe index 1ca15d150c..4848f69281 100644 --- a/recipes/atlantic.recipe +++ b/recipes/atlantic.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 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 339e264171..b42fbdec87 100644 --- a/recipes/atlantic_com.recipe +++ b/recipes/atlantic_com.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/auto.recipe b/recipes/auto.recipe index 959b9997a8..d8faf8d1f3 100644 --- a/recipes/auto.recipe +++ b/recipes/auto.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 109f104206..806c933656 100644 --- a/recipes/auto_prove.recipe +++ b/recipes/auto_prove.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'GabrieleMarini, based on Darko Miletic' __copyright__ = '2009, Darko Miletic , Gabriele Marini' diff --git a/recipes/autobild.recipe b/recipes/autobild.recipe index bc45336f46..ad63252ae9 100644 --- a/recipes/autobild.recipe +++ b/recipes/autobild.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/autosport.recipe b/recipes/autosport.recipe index 7b298c47e4..5c4465f652 100644 --- a/recipes/autosport.recipe +++ b/recipes/autosport.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'MrStefan ' diff --git a/recipes/avantaje.recipe b/recipes/avantaje.recipe index 9a48616fa1..dbd6b75d4a 100644 --- a/recipes/avantaje.recipe +++ b/recipes/avantaje.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/aventurilapescuit.recipe b/recipes/aventurilapescuit.recipe index e151e77518..6eac5ad24c 100644 --- a/recipes/aventurilapescuit.recipe +++ b/recipes/aventurilapescuit.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/axxon_news.recipe b/recipes/axxon_news.recipe index 3d0f8effd0..0d3cea5a22 100644 --- a/recipes/axxon_news.recipe +++ b/recipes/axxon_news.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/babyonline.recipe b/recipes/babyonline.recipe index 0b892ed673..fe1376cabf 100644 --- a/recipes/babyonline.recipe +++ b/recipes/babyonline.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/bachormagazyn.recipe b/recipes/bachormagazyn.recipe index fb34552beb..26993165f1 100644 --- a/recipes/bachormagazyn.recipe +++ b/recipes/bachormagazyn.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/bankier_pl.recipe b/recipes/bankier_pl.recipe index a9701a80fe..626c66ea41 100644 --- a/recipes/bankier_pl.recipe +++ b/recipes/bankier_pl.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'teepel ' diff --git a/recipes/bbcvietnamese.recipe b/recipes/bbcvietnamese.recipe index dc69ff4ffa..93e4342374 100644 --- a/recipes/bbcvietnamese.recipe +++ b/recipes/bbcvietnamese.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Huan Komrade T ' diff --git a/recipes/beta_en.recipe b/recipes/beta_en.recipe index c100c2654f..c3f672fd01 100644 --- a/recipes/beta_en.recipe +++ b/recipes/beta_en.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/billorielly.recipe b/recipes/billorielly.recipe index 5944b496d5..af57618721 100644 --- a/recipes/billorielly.recipe +++ b/recipes/billorielly.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # ebook-convert.exe c:\billorielly.recipe c:\test -vv diff --git a/recipes/bitacora.recipe b/recipes/bitacora.recipe index 7f41f8f32b..ed84c98f00 100644 --- a/recipes/bitacora.recipe +++ b/recipes/bitacora.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = '2010, Gustavo Azambuja ' diff --git a/recipes/biweekly.recipe b/recipes/biweekly.recipe index a1bf41f621..919b84e310 100644 --- a/recipes/biweekly.recipe +++ b/recipes/biweekly.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/boortz.recipe b/recipes/boortz.recipe index b281798ac8..e7aff91d1c 100644 --- a/recipes/boortz.recipe +++ b/recipes/boortz.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Tony Stegall' __copyright__ = '2010, Tony Stegall or Tonythebookworm on mobiread.com' diff --git a/recipes/brand_eins.recipe b/recipes/brand_eins.recipe index b12b982032..3b4121c038 100644 --- a/recipes/brand_eins.recipe +++ b/recipes/brand_eins.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import unicode_literals diff --git a/recipes/brewiarz.recipe b/recipes/brewiarz.recipe index 5d16278b00..f6b0b2e83a 100644 --- a/recipes/brewiarz.recipe +++ b/recipes/brewiarz.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' diff --git a/recipes/bucataras.recipe b/recipes/bucataras.recipe index b069ecc5b0..0d190cd13e 100644 --- a/recipes/bucataras.recipe +++ b/recipes/bucataras.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/calgary_herald.recipe b/recipes/calgary_herald.recipe index 8c98aad4ae..8c9c24851a 100644 --- a/recipes/calgary_herald.recipe +++ b/recipes/calgary_herald.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/capital.recipe b/recipes/capital.recipe index b8fc839a06..8eabc6bd24 100644 --- a/recipes/capital.recipe +++ b/recipes/capital.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/catavencii.recipe b/recipes/catavencii.recipe index 7dff212d74..db6467a4c3 100644 --- a/recipes/catavencii.recipe +++ b/recipes/catavencii.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/catavencu.recipe b/recipes/catavencu.recipe index d5ba7593e2..d47a63d2b8 100644 --- a/recipes/catavencu.recipe +++ b/recipes/catavencu.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' @@ -37,7 +37,7 @@ class AcademiaCatavencu(BasicNewsRecipe): remove_tags = [ dict(name='div', attrs={'class':['mr_social_sharing_wrapper']}) - , dict(name='div', attrs={'id':['fb_share_1']}) + , dict(name='div', attrs={'id':['fb_share_1']}) ] remove_tags_after = [ diff --git a/recipes/chicago_breaking_news.recipe b/recipes/chicago_breaking_news.recipe index 8209bab2de..d8bcad50be 100644 --- a/recipes/chicago_breaking_news.recipe +++ b/recipes/chicago_breaking_news.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/chipro.recipe b/recipes/chipro.recipe index e0d145ad19..964a9a0bd2 100644 --- a/recipes/chipro.recipe +++ b/recipes/chipro.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/cincinnati_enquirer.recipe b/recipes/cincinnati_enquirer.recipe index d6edbdca18..aa688ab763 100644 --- a/recipes/cincinnati_enquirer.recipe +++ b/recipes/cincinnati_enquirer.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009 Kovid Goyal ' diff --git a/recipes/cinebel_be.recipe b/recipes/cinebel_be.recipe index 024050eb67..6c7a66d430 100644 --- a/recipes/cinebel_be.recipe +++ b/recipes/cinebel_be.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008-2011, Lionel Bergeret ' diff --git a/recipes/cio.recipe b/recipes/cio.recipe index 562b954825..fada1196b1 100644 --- a/recipes/cio.recipe +++ b/recipes/cio.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/climate_progress.recipe b/recipes/climate_progress.recipe index 4059b4acc1..fc476ef426 100644 --- a/recipes/climate_progress.recipe +++ b/recipes/climate_progress.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/cnd.recipe b/recipes/cnd.recipe index c99166730c..44008cfe40 100644 --- a/recipes/cnd.recipe +++ b/recipes/cnd.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2010, Derek Liang ' diff --git a/recipes/cnd_weekly.recipe b/recipes/cnd_weekly.recipe index 21839ae110..7285e04c3d 100644 --- a/recipes/cnd_weekly.recipe +++ b/recipes/cnd_weekly.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2010, Derek Liang ' diff --git a/recipes/common_dreams.recipe b/recipes/common_dreams.recipe index b4b498889f..f63d30e639 100644 --- a/recipes/common_dreams.recipe +++ b/recipes/common_dreams.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 ## # Title: Common Dreams ## diff --git a/recipes/computer_active.recipe b/recipes/computer_active.recipe index d1ab94056c..01da376163 100644 --- a/recipes/computer_active.recipe +++ b/recipes/computer_active.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'DrMerry Based on v1.01 by Lorenzo Vigentini' __copyright__ = 'For version 1.02, 1.03: DrMerry' diff --git a/recipes/consortium_news.recipe b/recipes/consortium_news.recipe index f153be6fc7..dbbf2e1d8e 100644 --- a/recipes/consortium_news.recipe +++ b/recipes/consortium_news.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 ## ## Title: Consortium News ## diff --git a/recipes/corriere_della_sera_en.recipe b/recipes/corriere_della_sera_en.recipe index fad1636518..9aa85eaf3a 100644 --- a/recipes/corriere_della_sera_en.recipe +++ b/recipes/corriere_della_sera_en.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 01d8dbe720..9e53dabbad 100644 --- a/recipes/corriere_della_sera_it.recipe +++ b/recipes/corriere_della_sera_it.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini, based on Darko Miletic' __copyright__ = '2009, Darko Miletic , Lorenzo Vigentini ' diff --git a/recipes/corriere_dello_sport.recipe b/recipes/corriere_dello_sport.recipe index ac93c702e3..41f2062719 100644 --- a/recipes/corriere_dello_sport.recipe +++ b/recipes/corriere_dello_sport.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 d7d3db7e0c..19fb9ad13f 100644 --- a/recipes/cosmopolitan.recipe +++ b/recipes/cosmopolitan.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = '2010, Gustavo Azambuja ' diff --git a/recipes/cotidianul.recipe b/recipes/cotidianul.recipe index f00196532c..b886e9ffc5 100644 --- a/recipes/cotidianul.recipe +++ b/recipes/cotidianul.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/courrierinternational.recipe b/recipes/courrierinternational.recipe index bd2b71a09b..0592438427 100644 --- a/recipes/courrierinternational.recipe +++ b/recipes/courrierinternational.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '''2009, Mathieu Godlewski diff --git a/recipes/craigslist.recipe b/recipes/craigslist.recipe index 8454ea8305..45da6e407a 100644 --- a/recipes/craigslist.recipe +++ b/recipes/craigslist.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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 d4fb3a94c0..9ad7bc3ac1 100644 --- a/recipes/credit_slips.recipe +++ b/recipes/credit_slips.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL 3' __copyright__ = 'zotzo' __docformat__ = 'restructuredtext en' diff --git a/recipes/csid.recipe b/recipes/csid.recipe index bde304e513..1775142aa9 100644 --- a/recipes/csid.recipe +++ b/recipes/csid.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/curierulnational.recipe b/recipes/curierulnational.recipe index 32cba61b41..13ce4dc742 100644 --- a/recipes/curierulnational.recipe +++ b/recipes/curierulnational.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/daily_telegraph.recipe b/recipes/daily_telegraph.recipe index 5ee48f3f79..a390f0fbb7 100644 --- a/recipes/daily_telegraph.recipe +++ b/recipes/daily_telegraph.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/recipes/dailyreckoning.recipe b/recipes/dailyreckoning.recipe index 5522427fba..59bd67fcb2 100644 --- a/recipes/dailyreckoning.recipe +++ b/recipes/dailyreckoning.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/dark_reading.recipe b/recipes/dark_reading.recipe index f3b9df7e5b..886b35ba3c 100644 --- a/recipes/dark_reading.recipe +++ b/recipes/dark_reading.recipe @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2014, Brandon S Allbery ' diff --git a/recipes/degentenaar.recipe b/recipes/degentenaar.recipe index f18c7a06ae..598d50ec05 100644 --- a/recipes/degentenaar.recipe +++ b/recipes/degentenaar.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/deia.recipe b/recipes/deia.recipe index 5d39be9a10..ee17d58765 100644 --- a/recipes/deia.recipe +++ b/recipes/deia.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Gerardo Diez' __copyright__ = 'Gerardo Diez' diff --git a/recipes/demorgen_be.recipe b/recipes/demorgen_be.recipe index 43001b07f8..0f16f4ee8f 100644 --- a/recipes/demorgen_be.recipe +++ b/recipes/demorgen_be.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Darko Miletic ' diff --git a/recipes/der_spiegel.recipe b/recipes/der_spiegel.recipe index 2405b75427..76c70bb9c1 100644 --- a/recipes/der_spiegel.recipe +++ b/recipes/der_spiegel.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2011, Nikolas Mangold ' diff --git a/recipes/der_standard.recipe b/recipes/der_standard.recipe index fe945bf98b..8784cbaf61 100644 --- a/recipes/der_standard.recipe +++ b/recipes/der_standard.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/descopera.recipe b/recipes/descopera.recipe index adbb518404..610283c81f 100644 --- a/recipes/descopera.recipe +++ b/recipes/descopera.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/dhnet_be.recipe b/recipes/dhnet_be.recipe index d55470a765..1caa6b4d31 100644 --- a/recipes/dhnet_be.recipe +++ b/recipes/dhnet_be.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008-2011, Lionel Bergeret ' diff --git a/recipes/di.recipe b/recipes/di.recipe index b4903f9614..f2563f1e35 100644 --- a/recipes/di.recipe +++ b/recipes/di.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8 __license__ = 'GPL v3' diff --git a/recipes/diagonal.recipe b/recipes/diagonal.recipe index 20f6f7fec2..e529965b7a 100644 --- a/recipes/diagonal.recipe +++ b/recipes/diagonal.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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 d90c2c9de3..97fe493ca1 100644 --- a/recipes/diario_cordoba.recipe +++ b/recipes/diario_cordoba.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/diario_el_pueblo.recipe b/recipes/diario_el_pueblo.recipe index 4cfab9eb32..1989c78980 100644 --- a/recipes/diario_el_pueblo.recipe +++ b/recipes/diario_el_pueblo.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = '2013, Carlos Alves ' diff --git a/recipes/diario_salto.recipe b/recipes/diario_salto.recipe index 799233db4d..384f5a8b01 100644 --- a/recipes/diario_salto.recipe +++ b/recipes/diario_salto.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = '2013, Carlos Alves ' diff --git a/recipes/digital_arts.recipe b/recipes/digital_arts.recipe index 77aab01349..6557c0e5ef 100644 --- a/recipes/digital_arts.recipe +++ b/recipes/digital_arts.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/dilemaveche.recipe b/recipes/dilemaveche.recipe index aca68ccd7c..989fcceb96 100644 --- a/recipes/dilemaveche.recipe +++ b/recipes/dilemaveche.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2014-01-09, Silviu Cotoar\u0103, Marius Popescu' @@ -27,7 +27,7 @@ class DilemaVeche(BasicNewsRecipe): remove_javascript = True no_stylesheets = True remove_empty_feeds = True - feeds = [ + feeds = [ #('Editoriale şi opinii', 'http://www.dilemaveche.ro/taxonomy/term/1/0/feed'), ('Editoriale si opinii - Situatiunea', 'http://www.dilemaveche.ro/taxonomy/term/37/0/feed'), ('Editoriale si opinii - Pe ce lume traim', 'http://www.dilemaveche.ro/taxonomy/term/38/0/feed'), @@ -79,7 +79,7 @@ class DilemaVeche(BasicNewsRecipe): dict(name='div', attrs={'id':['closure']}) ] remove_tags_after = [ - dict(name='div', attrs={'id':['adshop_widget_428x60']}) + dict(name='div', attrs={'id':['adshop_widget_428x60']}) ] extra_css = """ body{font-family: Georgia,Times,serif } @@ -109,7 +109,7 @@ class DilemaVeche(BasicNewsRecipe): cover_url = link_item.a['href'] br = BasicNewsRecipe.get_browser(self) try: - br.open(cover_url) + br.open(cover_url) except: #daca nu gaseste pdf-ul self.log("\nPDF indisponibil") link_item = soup.find('div',attrs={'class':'box_dr_pdf_picture'}) diff --git a/recipes/discover_magazine.recipe b/recipes/discover_magazine.recipe index a7f080bb5f..7303a07737 100644 --- a/recipes/discover_magazine.recipe +++ b/recipes/discover_magazine.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/recipes/divahair.recipe b/recipes/divahair.recipe index 978ac19808..848e9bcfca 100644 --- a/recipes/divahair.recipe +++ b/recipes/divahair.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/dn_se.recipe b/recipes/dn_se.recipe index a071d78918..80a90d8499 100644 --- a/recipes/dn_se.recipe +++ b/recipes/dn_se.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/dnevni_avaz.recipe b/recipes/dnevni_avaz.recipe index 98cd169296..9c4d56ddf0 100644 --- a/recipes/dnevni_avaz.recipe +++ b/recipes/dnevni_avaz.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/dnevnik_cro.recipe b/recipes/dnevnik_cro.recipe index dd7990747d..ee06ce7b8a 100644 --- a/recipes/dnevnik_cro.recipe +++ b/recipes/dnevnik_cro.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/dnevnik_mk.recipe b/recipes/dnevnik_mk.recipe index 3648078b1e..3707d9699c 100644 --- a/recipes/dnevnik_mk.recipe +++ b/recipes/dnevnik_mk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __author__ = 'Darko Spasovski' __license__ = 'GPL v3' diff --git a/recipes/dwutygodnik.recipe b/recipes/dwutygodnik.recipe index 9321d79d80..3b437a3c44 100644 --- a/recipes/dwutygodnik.recipe +++ b/recipes/dwutygodnik.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/dzial_zagraniczny.recipe b/recipes/dzial_zagraniczny.recipe index 1b8453dd40..90e1a93038 100644 --- a/recipes/dzial_zagraniczny.recipe +++ b/recipes/dzial_zagraniczny.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'teepel ' diff --git a/recipes/eclicto.recipe b/recipes/eclicto.recipe index f0192773ec..b934656d31 100644 --- a/recipes/eclicto.recipe +++ b/recipes/eclicto.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' ''' diff --git a/recipes/ecogeek.recipe b/recipes/ecogeek.recipe index f199f22a32..1c21017a8a 100644 --- a/recipes/ecogeek.recipe +++ b/recipes/ecogeek.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/economist.recipe b/recipes/economist.recipe index ce9d88ea26..18e6eb4185 100644 --- a/recipes/economist.recipe +++ b/recipes/economist.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' diff --git a/recipes/economist_free.recipe b/recipes/economist_free.recipe index 9dbe5992db..412a860c28 100644 --- a/recipes/economist_free.recipe +++ b/recipes/economist_free.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' diff --git a/recipes/ecuisine.recipe b/recipes/ecuisine.recipe index 77d761e653..196680ed3d 100644 --- a/recipes/ecuisine.recipe +++ b/recipes/ecuisine.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/edebiyat_haber.recipe b/recipes/edebiyat_haber.recipe index bb4433541c..dc981cbe14 100644 --- a/recipes/edebiyat_haber.recipe +++ b/recipes/edebiyat_haber.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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 0ec5c59d74..7704e49dd1 100644 --- a/recipes/editor_and_publisher.recipe +++ b/recipes/editor_and_publisher.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2010 elsuave' diff --git a/recipes/edmonton_journal.recipe b/recipes/edmonton_journal.recipe index e54159d7d7..322fcd7e74 100644 --- a/recipes/edmonton_journal.recipe +++ b/recipes/edmonton_journal.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/egirl.recipe b/recipes/egirl.recipe index 56d515669d..0fc3cd13c5 100644 --- a/recipes/egirl.recipe +++ b/recipes/egirl.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/ekundelek_pl.recipe b/recipes/ekundelek_pl.recipe index bf0963092f..6ae0ba102f 100644 --- a/recipes/ekundelek_pl.recipe +++ b/recipes/ekundelek_pl.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = u'2012, Artur Stachecki ' diff --git a/recipes/el_correo.recipe b/recipes/el_correo.recipe index bfc1d94456..5b76afddba 100644 --- a/recipes/el_correo.recipe +++ b/recipes/el_correo.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '08 Januery 2011, desUBIKado' __author__ = 'desUBIKado' diff --git a/recipes/el_observador.recipe b/recipes/el_observador.recipe index c82a1b7380..c99e714ac0 100644 --- a/recipes/el_observador.recipe +++ b/recipes/el_observador.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 ## ## Last Edited: 2013-09-29 Carlos Alves ## diff --git a/recipes/el_pais.recipe b/recipes/el_pais.recipe index a481ffed47..a33b3e2c3b 100644 --- a/recipes/el_pais.recipe +++ b/recipes/el_pais.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 aceedf0b8c..d69efcc563 100644 --- a/recipes/el_pais_uy.recipe +++ b/recipes/el_pais_uy.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = '2010, Gustavo Azambuja ' diff --git a/recipes/el_periodico.recipe b/recipes/el_periodico.recipe index ecdf458c2e..8cc16c8a02 100644 --- a/recipes/el_periodico.recipe +++ b/recipes/el_periodico.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/el_publico.recipe b/recipes/el_publico.recipe index d0da739b03..a574b1f4ce 100644 --- a/recipes/el_publico.recipe +++ b/recipes/el_publico.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Gerardo Diez' __copyright__ = 'Gerardo Diez' diff --git a/recipes/elargentino.recipe b/recipes/elargentino.recipe index 6086ff6b59..a97d038093 100644 --- a/recipes/elargentino.recipe +++ b/recipes/elargentino.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008-2009, Darko Miletic ' diff --git a/recipes/ele.recipe b/recipes/ele.recipe index ea8954366b..26a9947141 100644 --- a/recipes/ele.recipe +++ b/recipes/ele.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/elperiodico_catalan.recipe b/recipes/elperiodico_catalan.recipe index 6b78f923cb..c055d71970 100644 --- a/recipes/elperiodico_catalan.recipe +++ b/recipes/elperiodico_catalan.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/elperiodico_spanish.recipe b/recipes/elperiodico_spanish.recipe index d19adc5e58..4a13a35faa 100644 --- a/recipes/elperiodico_spanish.recipe +++ b/recipes/elperiodico_spanish.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/eltiempo_hn.recipe b/recipes/eltiempo_hn.recipe index 81d1ecbb9d..a168153ca1 100644 --- a/recipes/eltiempo_hn.recipe +++ b/recipes/eltiempo_hn.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/endgadget.recipe b/recipes/endgadget.recipe index 41ff06adf6..946ea16027 100644 --- a/recipes/endgadget.recipe +++ b/recipes/endgadget.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = 'Copyright 2011 Starson17' diff --git a/recipes/epicurious.recipe b/recipes/epicurious.recipe index dc86af73fd..9a48ef66a6 100644 --- a/recipes/epicurious.recipe +++ b/recipes/epicurious.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2010, Starson17' diff --git a/recipes/epl_talk.recipe b/recipes/epl_talk.recipe index 432b396339..d5a0f888b6 100644 --- a/recipes/epl_talk.recipe +++ b/recipes/epl_talk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL 3' __copyright__ = 'zotzo' __docformat__ = 'restructuredtext en' diff --git a/recipes/equipped.recipe b/recipes/equipped.recipe index af74c10523..0100e5f3b7 100644 --- a/recipes/equipped.recipe +++ b/recipes/equipped.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'teepel , Artur Stachecki ' diff --git a/recipes/esenja.recipe b/recipes/esenja.recipe index 503b27b9fa..179c8032c6 100644 --- a/recipes/esenja.recipe +++ b/recipes/esenja.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2010, matek09, matek09@gmail.com' diff --git a/recipes/espn.recipe b/recipes/espn.recipe index 253d9c0dc1..c942537551 100644 --- a/recipes/espn.recipe +++ b/recipes/espn.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 841dc80429..d3c9cba706 100644 --- a/recipes/evz.ro.recipe +++ b/recipes/evz.ro.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' @@ -33,7 +33,7 @@ class EvenimentulZilei(BasicNewsRecipe): keep_only_tags = [ dict(name='div', attrs={'class':'single'}) , dict(name='img', attrs={'id':'placeholder'}) - , dict(name='a', attrs={'id':'holderlink'}) + , dict(name='a', attrs={'id':'holderlink'}) ] remove_tags = [ @@ -43,7 +43,7 @@ class EvenimentulZilei(BasicNewsRecipe): ] remove_tags_after = [ - dict(name='div', attrs={'id':['bannerAddoceansArticleJos']}) + dict(name='div', attrs={'id':['bannerAddoceansArticleJos']}) ] feeds = [ diff --git a/recipes/expansion_spanish.recipe b/recipes/expansion_spanish.recipe index 476d744f78..62ca167ff0 100644 --- a/recipes/expansion_spanish.recipe +++ b/recipes/expansion_spanish.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 56b8a4e3a4..80eb803562 100644 --- a/recipes/fan_graphs.recipe +++ b/recipes/fan_graphs.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2011 zotzot' __docformat__ = 'PEP8' diff --git a/recipes/fastcompany.recipe b/recipes/fastcompany.recipe index 8187a60cc8..b3d0499aff 100644 --- a/recipes/fastcompany.recipe +++ b/recipes/fastcompany.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008-2009, Darko Miletic ' diff --git a/recipes/felicia.recipe b/recipes/felicia.recipe index 0772e38494..ddfe498d6c 100644 --- a/recipes/felicia.recipe +++ b/recipes/felicia.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/fhmro.recipe b/recipes/fhmro.recipe index 8a4bdeb4df..1b1c9d1102 100644 --- a/recipes/fhmro.recipe +++ b/recipes/fhmro.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/financiarul.recipe b/recipes/financiarul.recipe index 807f771408..f9073dbef4 100644 --- a/recipes/financiarul.recipe +++ b/recipes/financiarul.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/forbes_pl.recipe b/recipes/forbes_pl.recipe index b794fc5fa1..1035c858ad 100644 --- a/recipes/forbes_pl.recipe +++ b/recipes/forbes_pl.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' diff --git a/recipes/formulaas.recipe b/recipes/formulaas.recipe index 9b44b39192..a0ffd97ef4 100644 --- a/recipes/formulaas.recipe +++ b/recipes/formulaas.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' @@ -31,7 +31,7 @@ class FormulaAS(BasicNewsRecipe): } keep_only_tags = [ - dict(name='div', attrs={'class':'item padded'}) + dict(name='div', attrs={'class':'item padded'}) ] remove_tags = [ @@ -40,7 +40,7 @@ class FormulaAS(BasicNewsRecipe): remove_tags_after = [ dict(name='ul', attrs={'class':'subtitle lower'}), - dict(name='div', attrs={'class':'item-brief-options'}) + dict(name='div', attrs={'class':'item-brief-options'}) ] feeds = [ (u'\u0218tiri', u'http://www.formula-as.ro/rss/articole.xml') diff --git a/recipes/fr_online.recipe b/recipes/fr_online.recipe index b3448c17dc..6343054326 100644 --- a/recipes/fr_online.recipe +++ b/recipes/fr_online.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2010, Christian Schmitt' diff --git a/recipes/frankfurter_rundschau.recipe b/recipes/frankfurter_rundschau.recipe index 02b2397981..c86fd06ab9 100644 --- a/recipes/frankfurter_rundschau.recipe +++ b/recipes/frankfurter_rundschau.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2010-2011, Christian Schmitt' diff --git a/recipes/frazpc.recipe b/recipes/frazpc.recipe index 7d1cb329f8..3e26d7f68d 100644 --- a/recipes/frazpc.recipe +++ b/recipes/frazpc.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = u'2010-2011, Tomasz Dlugosz ' diff --git a/recipes/freakonomics.recipe b/recipes/freakonomics.recipe index 3e425cdd34..f7a146ec11 100644 --- a/recipes/freakonomics.recipe +++ b/recipes/freakonomics.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2011, Starson17' __docformat__ = 'restructuredtext en' diff --git a/recipes/freeway.recipe b/recipes/freeway.recipe index c50c35d8ca..045fd5808c 100644 --- a/recipes/freeway.recipe +++ b/recipes/freeway.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = '2010, Gustavo Azambuja ' diff --git a/recipes/fudzilla.recipe b/recipes/fudzilla.recipe index b47b4d4cab..f35e92c6eb 100644 --- a/recipes/fudzilla.recipe +++ b/recipes/fudzilla.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2010 Starson17' diff --git a/recipes/gandul.recipe b/recipes/gandul.recipe index 774843f568..f882368389 100644 --- a/recipes/gandul.recipe +++ b/recipes/gandul.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/gazeta-prawna-calibre-v1.recipe b/recipes/gazeta-prawna-calibre-v1.recipe index f7d2c4935b..57e6a9baec 100644 --- a/recipes/gazeta-prawna-calibre-v1.recipe +++ b/recipes/gazeta-prawna-calibre-v1.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = u'2011, Vroo ' diff --git a/recipes/gazeta_pl_bydgoszcz.recipe b/recipes/gazeta_pl_bydgoszcz.recipe index c0e9b265a8..b35a91ba3a 100644 --- a/recipes/gazeta_pl_bydgoszcz.recipe +++ b/recipes/gazeta_pl_bydgoszcz.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' diff --git a/recipes/gazeta_pl_krakow.recipe b/recipes/gazeta_pl_krakow.recipe index 4abc6120b7..7a03673893 100644 --- a/recipes/gazeta_pl_krakow.recipe +++ b/recipes/gazeta_pl_krakow.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 fcdffc3abd..d7ad3d2ea3 100644 --- a/recipes/gazeta_pl_warszawa.recipe +++ b/recipes/gazeta_pl_warszawa.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'teepel based on GW from fenuks' diff --git a/recipes/globe_and_mail.recipe b/recipes/globe_and_mail.recipe index 9ee3c6bd81..840690e654 100644 --- a/recipes/globe_and_mail.recipe +++ b/recipes/globe_and_mail.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2010, Szing' diff --git a/recipes/go4it.recipe b/recipes/go4it.recipe index ab875cb0de..73c5b7f8e3 100644 --- a/recipes/go4it.recipe +++ b/recipes/go4it.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/gofin_pl.recipe b/recipes/gofin_pl.recipe index 5bf01dfb9c..1b069d351b 100644 --- a/recipes/gofin_pl.recipe +++ b/recipes/gofin_pl.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'teepel ' diff --git a/recipes/gosc_niedzielny.recipe b/recipes/gosc_niedzielny.recipe index a7c5ef1ab1..ca523f448c 100644 --- a/recipes/gosc_niedzielny.recipe +++ b/recipes/gosc_niedzielny.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2011, Piotr Kontek, piotr.kontek@gmail.com \ diff --git a/recipes/granma.recipe b/recipes/granma.recipe index 01f383cb68..f306c895a1 100644 --- a/recipes/granma.recipe +++ b/recipes/granma.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008-2009, Darko Miletic ' diff --git a/recipes/gsp.recipe b/recipes/gsp.recipe index efc76ee71e..b6f1a16f87 100644 --- a/recipes/gsp.recipe +++ b/recipes/gsp.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' @@ -35,7 +35,7 @@ class GSP(BasicNewsRecipe): ,dict(name='div', attrs={'id':'only_text'}) ,dict(name='span', attrs={'class':'block poza_principala'}) ] - + feeds = [ (u'\u0218tiri', u'http://www.gsp.ro/rss.xml') ] def preprocess_html(self, soup): diff --git a/recipes/guardian.recipe b/recipes/guardian.recipe index 0da7de40fa..c420e7d6af 100644 --- a/recipes/guardian.recipe +++ b/recipes/guardian.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 f42bd23417..6e3fd45718 100644 --- a/recipes/gva_be.recipe +++ b/recipes/gva_be.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/h2.recipe b/recipes/h2.recipe index f1f9d7af41..494e81675d 100644 --- a/recipes/h2.recipe +++ b/recipes/h2.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/recipes/h3.recipe b/recipes/h3.recipe index 30bf9223a5..7209086c3d 100644 --- a/recipes/h3.recipe +++ b/recipes/h3.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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 dca984eae5..8ca5d50306 100644 --- a/recipes/hackernews.recipe +++ b/recipes/hackernews.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' ''' diff --git a/recipes/hatalska.recipe b/recipes/hatalska.recipe index 22ee77b31a..63e5de195b 100644 --- a/recipes/hatalska.recipe +++ b/recipes/hatalska.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = 'teepel 2012' diff --git a/recipes/heraldo.recipe b/recipes/heraldo.recipe index b56ae0fa69..3dff01ca4f 100644 --- a/recipes/heraldo.recipe +++ b/recipes/heraldo.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '04 December 2010, desUBIKado' __author__ = 'desUBIKado' diff --git a/recipes/histmag.recipe b/recipes/histmag.recipe index 9e6ca111a7..937ad5ca15 100644 --- a/recipes/histmag.recipe +++ b/recipes/histmag.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2010, matek09, matek09@gmail.com' diff --git a/recipes/historiaro.recipe b/recipes/historiaro.recipe index 98eb5b6dfe..909c6c956f 100644 --- a/recipes/historiaro.recipe +++ b/recipes/historiaro.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/hitro.recipe b/recipes/hitro.recipe index 3a85847c81..d1c21cc0d6 100644 --- a/recipes/hitro.recipe +++ b/recipes/hitro.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/hln.recipe b/recipes/hln.recipe index fefb5f65f7..4a02801ba9 100644 --- a/recipes/hln.recipe +++ b/recipes/hln.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/hln_be.recipe b/recipes/hln_be.recipe index e0030dbb37..1e7821dbb6 100644 --- a/recipes/hln_be.recipe +++ b/recipes/hln_be.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/hola.recipe b/recipes/hola.recipe index 4e43f1fa76..6f7c9e4a6a 100644 --- a/recipes/hola.recipe +++ b/recipes/hola.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' __copyright__ = '30 June 2012, desUBIKado' diff --git a/recipes/hotcity.recipe b/recipes/hotcity.recipe index befc3f15d9..8fb30e59cb 100644 --- a/recipes/hotcity.recipe +++ b/recipes/hotcity.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/hotnews.recipe b/recipes/hotnews.recipe index 44b6f0f57b..1067716c99 100644 --- a/recipes/hotnews.recipe +++ b/recipes/hotnews.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/houston_chronicle.recipe b/recipes/houston_chronicle.recipe index d7e2ae14c3..a52e21b76a 100644 --- a/recipes/houston_chronicle.recipe +++ b/recipes/houston_chronicle.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' __copyright__ = '2013, Dale Furrow dkfurrow@gmail.com' diff --git a/recipes/hoy.recipe b/recipes/hoy.recipe index 167d57d3a1..b0525559e8 100644 --- a/recipes/hoy.recipe +++ b/recipes/hoy.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/hrt.recipe b/recipes/hrt.recipe index 3e79f3e5e1..13d6ec673e 100644 --- a/recipes/hrt.recipe +++ b/recipes/hrt.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/hurriyet_daily_news.recipe b/recipes/hurriyet_daily_news.recipe index 1c9d1b32e1..eccfb329aa 100644 --- a/recipes/hurriyet_daily_news.recipe +++ b/recipes/hurriyet_daily_news.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' __copyright__ = '2014, spswerling' diff --git a/recipes/ieco.recipe b/recipes/ieco.recipe index eb11c103d2..edea8ceca7 100644 --- a/recipes/ieco.recipe +++ b/recipes/ieco.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/iktibas.recipe b/recipes/iktibas.recipe index e41a8df6ef..e485577e11 100644 --- a/recipes/iktibas.recipe +++ b/recipes/iktibas.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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 6d3eaa5fef..518e29ab1a 100644 --- a/recipes/il_giornale.recipe +++ b/recipes/il_giornale.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 02310ff9af..5c406d38f1 100644 --- a/recipes/il_messaggero.recipe +++ b/recipes/il_messaggero.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Gabriele Marini, based on Darko Miletic' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/imperatortravel.recipe b/recipes/imperatortravel.recipe index 2b6d323bf5..efca634c7b 100644 --- a/recipes/imperatortravel.recipe +++ b/recipes/imperatortravel.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/inc.recipe b/recipes/inc.recipe index 7918979e64..9ebbcfb4cf 100644 --- a/recipes/inc.recipe +++ b/recipes/inc.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2014, Nikolas Mangold-Takao ' diff --git a/recipes/infomotori.recipe b/recipes/infomotori.recipe index c6c873815b..e3fb4fe206 100644 --- a/recipes/infomotori.recipe +++ b/recipes/infomotori.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 b98649eeda..62185d9da0 100644 --- a/recipes/infoworld.recipe +++ b/recipes/infoworld.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Rick Kellogg' diff --git a/recipes/inquirer_net.recipe b/recipes/inquirer_net.recipe index 30f2519f8b..e4542e7230 100644 --- a/recipes/inquirer_net.recipe +++ b/recipes/inquirer_net.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/intelligencer.recipe b/recipes/intelligencer.recipe index 8f3e749ee2..0a6ea7254a 100644 --- a/recipes/intelligencer.recipe +++ b/recipes/intelligencer.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/interia_fakty.recipe b/recipes/interia_fakty.recipe index 053a264e7e..194048beb0 100644 --- a/recipes/interia_fakty.recipe +++ b/recipes/interia_fakty.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = u'2010-2013, Tomasz Dlugosz ' diff --git a/recipes/interia_sport.recipe b/recipes/interia_sport.recipe index 710a0016a6..aaa62def15 100644 --- a/recipes/interia_sport.recipe +++ b/recipes/interia_sport.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = u'2010-2013, Tomasz Dlugosz ' diff --git a/recipes/intrefete.recipe b/recipes/intrefete.recipe index e6471b6126..9f23f99458 100644 --- a/recipes/intrefete.recipe +++ b/recipes/intrefete.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/jakarta_post.recipe b/recipes/jakarta_post.recipe index 000c91628b..7a9c810d39 100644 --- a/recipes/jakarta_post.recipe +++ b/recipes/jakarta_post.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2011, Adrian Gunawan ' __author__ = 'Adrian Gunawan' diff --git a/recipes/javalobby.recipe b/recipes/javalobby.recipe index 55198e8321..36280496d7 100644 --- a/recipes/javalobby.recipe +++ b/recipes/javalobby.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Rick Kellogg' diff --git a/recipes/jazzpress.recipe b/recipes/jazzpress.recipe index e11ab70a96..add0146e8f 100644 --- a/recipes/jazzpress.recipe +++ b/recipes/jazzpress.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/jb_online.recipe b/recipes/jb_online.recipe index 5e97831143..09dd07bbb9 100644 --- a/recipes/jb_online.recipe +++ b/recipes/jb_online.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/joelonsoftware.recipe b/recipes/joelonsoftware.recipe index 3c18cc755b..416b785da0 100644 --- a/recipes/joelonsoftware.recipe +++ b/recipes/joelonsoftware.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Darko Miletic ' diff --git a/recipes/jot_down.recipe b/recipes/jot_down.recipe index a0df9739d4..09ff011325 100644 --- a/recipes/jot_down.recipe +++ b/recipes/jot_down.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import unicode_literals __license__ = 'GPL v3' diff --git a/recipes/journalgazette.recipe b/recipes/journalgazette.recipe index 4f12e92280..69fa0102f1 100644 --- a/recipes/journalgazette.recipe +++ b/recipes/journalgazette.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 ea3ba9c734..7b3f857114 100644 --- a/recipes/jurnalulnational.recipe +++ b/recipes/jurnalulnational.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/jutarnji.recipe b/recipes/jutarnji.recipe index c2aacd56c9..92a0739d17 100644 --- a/recipes/jutarnji.recipe +++ b/recipes/jutarnji.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008-2009, Darko Miletic ' diff --git a/recipes/juventudrebelde_english.recipe b/recipes/juventudrebelde_english.recipe index db9f5da863..135691c3ff 100644 --- a/recipes/juventudrebelde_english.recipe +++ b/recipes/juventudrebelde_english.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Darko Miletic ' diff --git a/recipes/kamikaze.recipe b/recipes/kamikaze.recipe index 1369cb6f85..a6121cd931 100644 --- a/recipes/kamikaze.recipe +++ b/recipes/kamikaze.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/kellog_faculty.recipe b/recipes/kellog_faculty.recipe index 4c66892c7b..5180742610 100644 --- a/recipes/kellog_faculty.recipe +++ b/recipes/kellog_faculty.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/recipes/kellog_insight.recipe b/recipes/kellog_insight.recipe index ddd0ae9adb..968911f8b7 100644 --- a/recipes/kellog_insight.recipe +++ b/recipes/kellog_insight.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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 bbd944eb62..164431d758 100644 --- a/recipes/kerrang.recipe +++ b/recipes/kerrang.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' diff --git a/recipes/kompas.recipe b/recipes/kompas.recipe index 2f2804d59a..db592d8ea2 100644 --- a/recipes/kompas.recipe +++ b/recipes/kompas.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2011, Adrian Gunawan ' __author__ = 'Adrian Gunawan' diff --git a/recipes/kompiutierra.recipe b/recipes/kompiutierra.recipe index 3b65845c9a..0bfa2b7df3 100644 --- a/recipes/kompiutierra.recipe +++ b/recipes/kompiutierra.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/krstarica.recipe b/recipes/krstarica.recipe index e40b74a2bd..37448d6be3 100644 --- a/recipes/krstarica.recipe +++ b/recipes/krstarica.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/krstarica_en.recipe b/recipes/krstarica_en.recipe index f57bcb91ef..09e0be3d69 100644 --- a/recipes/krstarica_en.recipe +++ b/recipes/krstarica_en.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/kudika.recipe b/recipes/kudika.recipe index dfc94f7456..10a78bbdc1 100644 --- a/recipes/kudika.recipe +++ b/recipes/kudika.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/kukuburi.recipe b/recipes/kukuburi.recipe index cbacc5dbe1..858a1c2814 100644 --- a/recipes/kukuburi.recipe +++ b/recipes/kukuburi.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Mori' diff --git a/recipes/l_espresso.recipe b/recipes/l_espresso.recipe index fb1a8deb06..1bb7aad138 100644 --- a/recipes/l_espresso.recipe +++ b/recipes/l_espresso.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 10d6b6ce3a..2082d16dcb 100644 --- a/recipes/la_cuarta.recipe +++ b/recipes/la_cuarta.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/la_diaria.recipe b/recipes/la_diaria.recipe index 8aa98483c0..a6e573ef90 100644 --- a/recipes/la_diaria.recipe +++ b/recipes/la_diaria.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = '2010, Gustavo Azambuja ' diff --git a/recipes/la_gazetta_del_mezzogiorno.recipe b/recipes/la_gazetta_del_mezzogiorno.recipe index d54600a212..fea5e582e7 100644 --- a/recipes/la_gazetta_del_mezzogiorno.recipe +++ b/recipes/la_gazetta_del_mezzogiorno.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 5fb61407ea..76a5bbbbba 100644 --- a/recipes/la_gazzeta_dello_sport.recipe +++ b/recipes/la_gazzeta_dello_sport.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/la_stampa.recipe b/recipes/la_stampa.recipe index 06a7debe9d..f07c3f83f1 100644 --- a/recipes/la_stampa.recipe +++ b/recipes/la_stampa.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 a6356be828..c737e2a283 100644 --- a/recipes/lalibre_be.recipe +++ b/recipes/lalibre_be.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008-2011, Lionel Bergeret ' diff --git a/recipes/lameuse_be.recipe b/recipes/lameuse_be.recipe index 7166d01103..57178b2e2a 100644 --- a/recipes/lameuse_be.recipe +++ b/recipes/lameuse_be.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008-2011, Lionel Bergeret ' diff --git a/recipes/lamujerdemivida.recipe b/recipes/lamujerdemivida.recipe index be7a3fad0d..c1c403f074 100644 --- a/recipes/lamujerdemivida.recipe +++ b/recipes/lamujerdemivida.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/lanacion_chile.recipe b/recipes/lanacion_chile.recipe index 0c0d4550fa..534028878f 100644 --- a/recipes/lanacion_chile.recipe +++ b/recipes/lanacion_chile.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/laprensa.recipe b/recipes/laprensa.recipe index eb54ec989a..72fd84f9db 100644 --- a/recipes/laprensa.recipe +++ b/recipes/laprensa.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008-2009, Darko Miletic ' diff --git a/recipes/laprensa_hn.recipe b/recipes/laprensa_hn.recipe index d7895bf09d..d1289d8a7c 100644 --- a/recipes/laprensa_hn.recipe +++ b/recipes/laprensa_hn.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/laprensa_ni.recipe b/recipes/laprensa_ni.recipe index 9aba2839ef..c72c104515 100644 --- a/recipes/laprensa_ni.recipe +++ b/recipes/laprensa_ni.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/latribuna.recipe b/recipes/latribuna.recipe index 80503bbabc..28a5d63809 100644 --- a/recipes/latribuna.recipe +++ b/recipes/latribuna.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/lavanguardia.recipe b/recipes/lavanguardia.recipe index 517daf942e..81d9054431 100644 --- a/recipes/lavanguardia.recipe +++ b/recipes/lavanguardia.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/lavenir_be.recipe b/recipes/lavenir_be.recipe index 4c2c8a00a2..bb91a6ff2f 100644 --- a/recipes/lavenir_be.recipe +++ b/recipes/lavenir_be.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008-2011, Lionel Bergeret ' diff --git a/recipes/le_temps.recipe b/recipes/le_temps.recipe index bb32c99dd8..05451c82ac 100644 --- a/recipes/le_temps.recipe +++ b/recipes/le_temps.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/recipes/legeartis.recipe b/recipes/legeartis.recipe index b2e1b0e782..c85d81edac 100644 --- a/recipes/legeartis.recipe +++ b/recipes/legeartis.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Mori' diff --git a/recipes/leggo_it.recipe b/recipes/leggo_it.recipe index 32d9f0f6d7..0fc12db241 100644 --- a/recipes/leggo_it.recipe +++ b/recipes/leggo_it.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 b135cefae6..2727fb490b 100644 --- a/recipes/legitymizm.recipe +++ b/recipes/legitymizm.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = u'2010, Tomasz Dlugosz ' diff --git a/recipes/lenta_ru.recipe b/recipes/lenta_ru.recipe index d400bc5886..d4524962eb 100644 --- a/recipes/lenta_ru.recipe +++ b/recipes/lenta_ru.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 ''' Lenta.ru diff --git a/recipes/lequipe.recipe b/recipes/lequipe.recipe index c6e9a26880..8172a6f2d0 100644 --- a/recipes/lequipe.recipe +++ b/recipes/lequipe.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' diff --git a/recipes/lescienze.recipe b/recipes/lescienze.recipe index b924844987..bac34b1d28 100644 --- a/recipes/lescienze.recipe +++ b/recipes/lescienze.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/lesoir_be.recipe b/recipes/lesoir_be.recipe index 64fd2fa65c..d9ae103ca5 100644 --- a/recipes/lesoir_be.recipe +++ b/recipes/lesoir_be.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008-2011, Lionel Bergeret ' diff --git a/recipes/liberation.recipe b/recipes/liberation.recipe index 14cc23c1c2..0c8ea5526e 100644 --- a/recipes/liberation.recipe +++ b/recipes/liberation.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Darko Miletic ' diff --git a/recipes/libero.recipe b/recipes/libero.recipe index 01c2da36c7..20cd50c3d0 100644 --- a/recipes/libero.recipe +++ b/recipes/libero.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Gabriele Marini, based on Darko Miletic' __copyright__ = '2009-2010, Darko Miletic ' diff --git a/recipes/lifehacker_pl.recipe b/recipes/lifehacker_pl.recipe index 57b6f8a571..daf9ab656a 100644 --- a/recipes/lifehacker_pl.recipe +++ b/recipes/lifehacker_pl.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = 'MrStefan' diff --git a/recipes/limes.recipe b/recipes/limes.recipe index 2290b7099e..ff38cf42aa 100644 --- a/recipes/limes.recipe +++ b/recipes/limes.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2012, faber1971' __version__ = 'v1.00' diff --git a/recipes/linux_magazine.recipe b/recipes/linux_magazine.recipe index 2a4a25a893..da1e40c651 100644 --- a/recipes/linux_magazine.recipe +++ b/recipes/linux_magazine.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Darko Miletic ' diff --git a/recipes/lwn.recipe b/recipes/lwn.recipe index dcc79adfda..a5dbeb6ac9 100644 --- a/recipes/lwn.recipe +++ b/recipes/lwn.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' diff --git a/recipes/lwn_weekly.recipe b/recipes/lwn_weekly.recipe index e1f0ecdd8b..61dbdd7e74 100644 --- a/recipes/lwn_weekly.recipe +++ b/recipes/lwn_weekly.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2011, Davide Cavalca ' diff --git a/recipes/mac_video.recipe b/recipes/mac_video.recipe index a2b65979da..af1218f1d1 100644 --- a/recipes/mac_video.recipe +++ b/recipes/mac_video.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/mac_world.recipe b/recipes/mac_world.recipe index 5abbffb6bb..0df0e62976 100644 --- a/recipes/mac_world.recipe +++ b/recipes/mac_world.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 5082e622dc..56eb64ea0f 100644 --- a/recipes/mac_world_uk.recipe +++ b/recipes/mac_world_uk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/macleans.recipe b/recipes/macleans.recipe index 0421a9c560..e7b5491970 100644 --- a/recipes/macleans.recipe +++ b/recipes/macleans.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 from calibre.web.feeds.news import BasicNewsRecipe class AdvancedUserRecipe1308306308(BasicNewsRecipe): diff --git a/recipes/magazyn_consido.recipe b/recipes/magazyn_consido.recipe index d24c66d6a4..999999518d 100644 --- a/recipes/magazyn_consido.recipe +++ b/recipes/magazyn_consido.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' diff --git a/recipes/malaysian_mirror.recipe b/recipes/malaysian_mirror.recipe index e61538431a..61cde121ad 100644 --- a/recipes/malaysian_mirror.recipe +++ b/recipes/malaysian_mirror.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Tony Stegall' __copyright__ = '2010, Tony Stegall or Tonythebookworm on mobiread.com' diff --git a/recipes/mateusz_czytania.recipe b/recipes/mateusz_czytania.recipe index ba7c598787..b6360ef5bc 100644 --- a/recipes/mateusz_czytania.recipe +++ b/recipes/mateusz_czytania.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'teepel ' diff --git a/recipes/mayra.recipe b/recipes/mayra.recipe index ae449d819d..3a21ad0bab 100644 --- a/recipes/mayra.recipe +++ b/recipes/mayra.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/media2.recipe b/recipes/media2.recipe index 7cd542457f..b9a235293a 100644 --- a/recipes/media2.recipe +++ b/recipes/media2.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = 'teepel' diff --git a/recipes/mediafax.recipe b/recipes/mediafax.recipe index 3d8a5b34a3..a578d5b4c7 100644 --- a/recipes/mediafax.recipe +++ b/recipes/mediafax.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/mediaindonesia.recipe b/recipes/mediaindonesia.recipe index aceaca6042..ee3614e33e 100644 --- a/recipes/mediaindonesia.recipe +++ b/recipes/mediaindonesia.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2011, bakthariq AT gmail.com' ''' diff --git a/recipes/medscape.recipe b/recipes/medscape.recipe index f05948a6e3..8f8ae69eb7 100644 --- a/recipes/medscape.recipe +++ b/recipes/medscape.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 2d98003c15..911a4747d1 100644 --- a/recipes/melbourne_herald_sun.recipe +++ b/recipes/melbourne_herald_sun.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Matthew Briggs' __docformat__ = 'restructuredtext en' diff --git a/recipes/michalkiewicz.recipe b/recipes/michalkiewicz.recipe index 4e4aee0db6..482334d0f7 100644 --- a/recipes/michalkiewicz.recipe +++ b/recipes/michalkiewicz.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2010, Tomasz Dlugosz ' diff --git a/recipes/milenio.recipe b/recipes/milenio.recipe index e6ca103952..8884a66f73 100644 --- a/recipes/milenio.recipe +++ b/recipes/milenio.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2010, Brendan Sleight ' ''' diff --git a/recipes/mobilna.recipe b/recipes/mobilna.recipe index 68ae011438..60d1d9e3b1 100644 --- a/recipes/mobilna.recipe +++ b/recipes/mobilna.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = 'MrStefan' diff --git a/recipes/mojegotowanie.recipe b/recipes/mojegotowanie.recipe index b7f69025e4..7981eb0042 100644 --- a/recipes/mojegotowanie.recipe +++ b/recipes/mojegotowanie.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = 'MrStefan, teepel' diff --git a/recipes/moldovaazi.recipe b/recipes/moldovaazi.recipe index 0c92297dc0..b9066760ff 100644 --- a/recipes/moldovaazi.recipe +++ b/recipes/moldovaazi.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/mondedurable.recipe b/recipes/mondedurable.recipe index 8a7acd41ba..a468905d3b 100644 --- a/recipes/mondedurable.recipe +++ b/recipes/mondedurable.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/monden.recipe b/recipes/monden.recipe index 22764ffe47..58cc569428 100644 --- a/recipes/monden.recipe +++ b/recipes/monden.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/moneyro.recipe b/recipes/moneyro.recipe index 4a280207ed..194eececf9 100644 --- a/recipes/moneyro.recipe +++ b/recipes/moneyro.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/montevideo_com.recipe b/recipes/montevideo_com.recipe index 6f1474f0c0..00e3e669a7 100644 --- a/recipes/montevideo_com.recipe +++ b/recipes/montevideo_com.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = '2010, Gustavo Azambuja ' diff --git a/recipes/montreal_gazette.recipe b/recipes/montreal_gazette.recipe index 497ad337ce..99c17813f5 100644 --- a/recipes/montreal_gazette.recipe +++ b/recipes/montreal_gazette.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/msdnmag_en.recipe b/recipes/msdnmag_en.recipe index cf9cfc4f6a..7a59d22fdc 100644 --- a/recipes/msdnmag_en.recipe +++ b/recipes/msdnmag_en.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/mwjournal.recipe b/recipes/mwjournal.recipe index 65fb948eaa..4d0a1b3396 100644 --- a/recipes/mwjournal.recipe +++ b/recipes/mwjournal.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 ## ## Title: Microwave Journal ## Contact: Kiavash (use Mobile Read) diff --git a/recipes/nacional_cro.recipe b/recipes/nacional_cro.recipe index 5a3da15f1e..c322e3f2ce 100644 --- a/recipes/nacional_cro.recipe +++ b/recipes/nacional_cro.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/najwyzszy_czas.recipe b/recipes/najwyzszy_czas.recipe index 9c4a82c4ea..5c1e004f7b 100644 --- a/recipes/najwyzszy_czas.recipe +++ b/recipes/najwyzszy_czas.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'teepel ' diff --git a/recipes/nakedcapitalism.recipe b/recipes/nakedcapitalism.recipe index 09b7d8de1b..0ec31430b8 100644 --- a/recipes/nakedcapitalism.recipe +++ b/recipes/nakedcapitalism.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/naszdziennik.recipe b/recipes/naszdziennik.recipe index 7d3f27da8b..06f6db5b4e 100644 --- a/recipes/naszdziennik.recipe +++ b/recipes/naszdziennik.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' diff --git a/recipes/natgeo.recipe b/recipes/natgeo.recipe index 83b7016ec2..337ad573e3 100644 --- a/recipes/natgeo.recipe +++ b/recipes/natgeo.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' __copyright__ = '2011, gagsays ' diff --git a/recipes/nationalgeoro.recipe b/recipes/nationalgeoro.recipe index 8f989be74d..04bd364eed 100644 --- a/recipes/nationalgeoro.recipe +++ b/recipes/nationalgeoro.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/new_york_review_of_books.recipe b/recipes/new_york_review_of_books.recipe index fba225437e..522be9f275 100644 --- a/recipes/new_york_review_of_books.recipe +++ b/recipes/new_york_review_of_books.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 3e6bd70e1e..3ddc90d423 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 python +#!/usr/bin/env python2 __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 bfb80180f8..ee79755415 100644 --- a/recipes/new_yorker.recipe +++ b/recipes/new_yorker.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/newsmoldova.recipe b/recipes/newsmoldova.recipe index e5e4bc5ac4..e4034ffc3f 100644 --- a/recipes/newsmoldova.recipe +++ b/recipes/newsmoldova.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/newsweek_argentina.recipe b/recipes/newsweek_argentina.recipe index a474f75f60..b88c3ab270 100644 --- a/recipes/newsweek_argentina.recipe +++ b/recipes/newsweek_argentina.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/newsweek_polska.recipe b/recipes/newsweek_polska.recipe index 0a608579ff..6a17412c1b 100644 --- a/recipes/newsweek_polska.recipe +++ b/recipes/newsweek_polska.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2010, matek09, matek09@gmail.com; 2012-2013, admroz, a.rozewicki@gmail.com' diff --git a/recipes/nikkei_news.recipe b/recipes/nikkei_news.recipe index 884a463880..e10fa89a3f 100644 --- a/recipes/nikkei_news.recipe +++ b/recipes/nikkei_news.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from calibre.web.feeds.recipes import BasicNewsRecipe import re diff --git a/recipes/njp.recipe b/recipes/njp.recipe index da5e8d66ee..5594d3de17 100644 --- a/recipes/njp.recipe +++ b/recipes/njp.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- ## diff --git a/recipes/noaa.recipe b/recipes/noaa.recipe index b7252d43ae..ab28a1a87b 100644 --- a/recipes/noaa.recipe +++ b/recipes/noaa.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/nortecastilla.recipe b/recipes/nortecastilla.recipe index 3e55803386..bfd71faa20 100644 --- a/recipes/nortecastilla.recipe +++ b/recipes/nortecastilla.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/now_toronto.recipe b/recipes/now_toronto.recipe index 52a4619266..4878be5bc0 100644 --- a/recipes/now_toronto.recipe +++ b/recipes/now_toronto.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- #Based on Lars Jacob's Taz Digiabo recipe diff --git a/recipes/nowiny_rybnik.recipe b/recipes/nowiny_rybnik.recipe index e00a72e09b..badd81f60f 100644 --- a/recipes/nowiny_rybnik.recipe +++ b/recipes/nowiny_rybnik.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' diff --git a/recipes/nowy_obywatel.recipe b/recipes/nowy_obywatel.recipe index 66bdfed390..5984fcde0d 100644 --- a/recipes/nowy_obywatel.recipe +++ b/recipes/nowy_obywatel.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/nymag.recipe b/recipes/nymag.recipe index 134624bc67..6c439837b8 100644 --- a/recipes/nymag.recipe +++ b/recipes/nymag.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' diff --git a/recipes/nytimes.recipe b/recipes/nytimes.recipe index 31ab4408f6..bb89d52a30 100644 --- a/recipes/nytimes.recipe +++ b/recipes/nytimes.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' diff --git a/recipes/nytimes_sports.recipe b/recipes/nytimes_sports.recipe index 9bdca6511a..934de80a5c 100644 --- a/recipes/nytimes_sports.recipe +++ b/recipes/nytimes_sports.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # encoding: utf-8 from __future__ import with_statement diff --git a/recipes/nytimes_sub.recipe b/recipes/nytimes_sub.recipe index f059b578e2..de886cb245 100644 --- a/recipes/nytimes_sub.recipe +++ b/recipes/nytimes_sub.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' diff --git a/recipes/nytimes_tech.recipe b/recipes/nytimes_tech.recipe index dc6f88d8bb..1e5ca9bd0a 100644 --- a/recipes/nytimes_tech.recipe +++ b/recipes/nytimes_tech.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # encoding: utf-8 from __future__ import with_statement diff --git a/recipes/o_globo.recipe b/recipes/o_globo.recipe index 39b2cd4e8d..3504d1b210 100644 --- a/recipes/o_globo.recipe +++ b/recipes/o_globo.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/observa_digital.recipe b/recipes/observa_digital.recipe index cb493bcb26..947630a628 100644 --- a/recipes/observa_digital.recipe +++ b/recipes/observa_digital.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = '2010, Gustavo Azambuja ' diff --git a/recipes/observer_gb.recipe b/recipes/observer_gb.recipe index d96aeb8651..44994205eb 100644 --- a/recipes/observer_gb.recipe +++ b/recipes/observer_gb.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 04f30deb95..3f8dfe96e8 100644 --- a/recipes/oc_register.recipe +++ b/recipes/oc_register.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini (updated by rrrrrrrrrrrryan at gmail.com)' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/onemagazine.recipe b/recipes/onemagazine.recipe index 73dd50141a..dbfafc5433 100644 --- a/recipes/onemagazine.recipe +++ b/recipes/onemagazine.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/onionavclub.recipe b/recipes/onionavclub.recipe index f32fd084b1..384ed0455a 100644 --- a/recipes/onionavclub.recipe +++ b/recipes/onionavclub.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' diff --git a/recipes/optyczne_pl.recipe b/recipes/optyczne_pl.recipe index 1eb9fa2749..b9accbe681 100644 --- a/recipes/optyczne_pl.recipe +++ b/recipes/optyczne_pl.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/osel_cz.recipe b/recipes/osel_cz.recipe index e42014099b..ba329e8c08 100644 --- a/recipes/osel_cz.recipe +++ b/recipes/osel_cz.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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 8022f3e346..39ffecb892 100644 --- a/recipes/osw.recipe +++ b/recipes/osw.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'teepel ' diff --git a/recipes/ottawa_citizen.recipe b/recipes/ottawa_citizen.recipe index de93477e04..f62de28ae7 100644 --- a/recipes/ottawa_citizen.recipe +++ b/recipes/ottawa_citizen.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/outlook_india.recipe b/recipes/outlook_india.recipe index beb903bd98..52754eb5da 100644 --- a/recipes/outlook_india.recipe +++ b/recipes/outlook_india.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Kovid Goyal ' diff --git a/recipes/padreydecano.recipe b/recipes/padreydecano.recipe index 3e1cbf24f2..4b9413ccea 100644 --- a/recipes/padreydecano.recipe +++ b/recipes/padreydecano.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = '2013, Carlos Alves ' diff --git a/recipes/pagina_12_print_ed.recipe b/recipes/pagina_12_print_ed.recipe index 38db89305f..a0e64328a7 100644 --- a/recipes/pagina_12_print_ed.recipe +++ b/recipes/pagina_12_print_ed.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' diff --git a/recipes/panorama.recipe b/recipes/panorama.recipe index ed1202fe00..2bb6ef200e 100644 --- a/recipes/panorama.recipe +++ b/recipes/panorama.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/pc_advisor.recipe b/recipes/pc_advisor.recipe index e45a0f1a81..b5f118585a 100644 --- a/recipes/pc_advisor.recipe +++ b/recipes/pc_advisor.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/pc_lab.recipe b/recipes/pc_lab.recipe index e7c6bcb654..594b3aa7ff 100644 --- a/recipes/pc_lab.recipe +++ b/recipes/pc_lab.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 from calibre.web.feeds.recipes import BasicNewsRecipe from calibre.ebooks.BeautifulSoup import Comment class PCLab(BasicNewsRecipe): diff --git a/recipes/pc_mag.recipe b/recipes/pc_mag.recipe index 1ba52ccd88..9e89a7da05 100644 --- a/recipes/pc_mag.recipe +++ b/recipes/pc_mag.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/pc_world.recipe b/recipes/pc_world.recipe index 714c205251..953d470c7d 100644 --- a/recipes/pc_world.recipe +++ b/recipes/pc_world.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/pcworld_hu.recipe b/recipes/pcworld_hu.recipe index 76b7190c8b..cbe0b93c1c 100644 --- a/recipes/pcworld_hu.recipe +++ b/recipes/pcworld_hu.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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 89ddbaf21d..0e76b9f07b 100644 --- a/recipes/pcworldro.recipe +++ b/recipes/pcworldro.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/people_us_mashup.recipe b/recipes/people_us_mashup.recipe index 5d820bacc0..309122e900 100644 --- a/recipes/people_us_mashup.recipe +++ b/recipes/people_us_mashup.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' ''' ''' diff --git a/recipes/phd_comics.recipe b/recipes/phd_comics.recipe index a1be31385b..bfddb4880a 100644 --- a/recipes/phd_comics.recipe +++ b/recipes/phd_comics.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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 ef365e38ca..dd1893650b 100644 --- a/recipes/plus_info.recipe +++ b/recipes/plus_info.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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 d1bded7b07..cacf36edf1 100644 --- a/recipes/pobjeda.recipe +++ b/recipes/pobjeda.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/politico.recipe b/recipes/politico.recipe index 3bd0590c9f..ff88e3675d 100644 --- a/recipes/politico.recipe +++ b/recipes/politico.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: cp1252 -*- __license__ = 'GPL v3' diff --git a/recipes/polityka.recipe b/recipes/polityka.recipe index 16ccae6085..510e1e5dfd 100644 --- a/recipes/polityka.recipe +++ b/recipes/polityka.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2010, matek09, matek09@gmail.com' diff --git a/recipes/portfolio.recipe b/recipes/portfolio.recipe index 1a69e99b3a..a8c94a751a 100644 --- a/recipes/portfolio.recipe +++ b/recipes/portfolio.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' diff --git a/recipes/ppe_pl.recipe b/recipes/ppe_pl.recipe index 597c9ef2d3..d3f22b685a 100644 --- a/recipes/ppe_pl.recipe +++ b/recipes/ppe_pl.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' import re diff --git a/recipes/prawica_net.recipe b/recipes/prawica_net.recipe index edd12695c5..db0a80d1dc 100644 --- a/recipes/prawica_net.recipe +++ b/recipes/prawica_net.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'teepel ' diff --git a/recipes/presseurop.recipe b/recipes/presseurop.recipe index dacabcf43f..fb6c64f7d9 100644 --- a/recipes/presseurop.recipe +++ b/recipes/presseurop.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 ''' www.presseurop.eu/pl diff --git a/recipes/pressonline.recipe b/recipes/pressonline.recipe index 27526370e5..427d643a69 100644 --- a/recipes/pressonline.recipe +++ b/recipes/pressonline.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/promotor.recipe b/recipes/promotor.recipe index 11a8499d7b..2d198def74 100644 --- a/recipes/promotor.recipe +++ b/recipes/promotor.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/prospectmaguk.recipe b/recipes/prospectmaguk.recipe index 8dd73ab8d9..efef99ca05 100644 --- a/recipes/prospectmaguk.recipe +++ b/recipes/prospectmaguk.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __copyright__ = '2008, Kovid Goyal ' __license__ = 'GPL v3' diff --git a/recipes/prosport.recipe b/recipes/prosport.recipe index d1be8bd1f2..404523a859 100644 --- a/recipes/prosport.recipe +++ b/recipes/prosport.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/prostamerika.recipe b/recipes/prostamerika.recipe index b216ee469d..f17b39a4a8 100644 --- a/recipes/prostamerika.recipe +++ b/recipes/prostamerika.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # encoding: utf-8 __license__ = 'GPL 3' diff --git a/recipes/protvmagazin.recipe b/recipes/protvmagazin.recipe index fbdb7465fc..87b1c5b8e1 100644 --- a/recipes/protvmagazin.recipe +++ b/recipes/protvmagazin.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/psychologies.recipe b/recipes/psychologies.recipe index 1b69a2ed9e..defc3d1485 100644 --- a/recipes/psychologies.recipe +++ b/recipes/psychologies.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/pubblico_giornale.recipe b/recipes/pubblico_giornale.recipe index 1c176a13a8..59ecf32f16 100644 --- a/recipes/pubblico_giornale.recipe +++ b/recipes/pubblico_giornale.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = 'iusvar' __description__ = 'Pubblico giornale' diff --git a/recipes/publico.recipe b/recipes/publico.recipe index d221100b39..ff3070bde3 100644 --- a/recipes/publico.recipe +++ b/recipes/publico.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 8380d02b17..d25ec33113 100644 --- a/recipes/publika.recipe +++ b/recipes/publika.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/punto_informatico.recipe b/recipes/punto_informatico.recipe index 3553d3341f..43dd2153ab 100644 --- a/recipes/punto_informatico.recipe +++ b/recipes/punto_informatico.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Gabriele Marini' __copyright__ = 'Gabriele Marini' diff --git a/recipes/quotidiano.recipe b/recipes/quotidiano.recipe index f697564836..9d4dde4811 100644 --- a/recipes/quotidiano.recipe +++ b/recipes/quotidiano.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/readers_digest.recipe b/recipes/readers_digest.recipe index caf5cf081d..03744544cc 100644 --- a/recipes/readers_digest.recipe +++ b/recipes/readers_digest.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' ''' ''' diff --git a/recipes/realitatea.recipe b/recipes/realitatea.recipe index ae5b7d8688..dd89c1b5e2 100644 --- a/recipes/realitatea.recipe +++ b/recipes/realitatea.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/red_aragon.recipe b/recipes/red_aragon.recipe index 4681e6660b..148605b260 100644 --- a/recipes/red_aragon.recipe +++ b/recipes/red_aragon.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 3468684960..6ed0826071 100644 --- a/recipes/regina_leader_post.recipe +++ b/recipes/regina_leader_post.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/replicavedetelor.recipe b/recipes/replicavedetelor.recipe index b6f1a51d67..c4e5f9a64e 100644 --- a/recipes/replicavedetelor.recipe +++ b/recipes/replicavedetelor.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, ' diff --git a/recipes/republika.recipe b/recipes/republika.recipe index 97a0b0fc52..4d9f0572af 100644 --- a/recipes/republika.recipe +++ b/recipes/republika.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/res_publica.recipe b/recipes/res_publica.recipe index e0d9ebbb56..17e4c5d5ff 100644 --- a/recipes/res_publica.recipe +++ b/recipes/res_publica.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' diff --git a/recipes/respekt_magazine.recipe b/recipes/respekt_magazine.recipe index a16619dd83..2d5998d5e0 100644 --- a/recipes/respekt_magazine.recipe +++ b/recipes/respekt_magazine.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # -*- coding: utf-8 -*- # License: GNU General Public License v3 - http://www.gnu.org/copyleft/gpl.html # Copyright: tomashnyk@gmail.com diff --git a/recipes/respekt_web.recipe b/recipes/respekt_web.recipe index 1e046a4b7e..b65d57459d 100644 --- a/recipes/respekt_web.recipe +++ b/recipes/respekt_web.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # -*- coding: utf-8 -*- # License: GNU General Public License v3 - http://www.gnu.org/copyleft/gpl.html # Copyright: tomashnyk@gmail.com diff --git a/recipes/revista_bla.recipe b/recipes/revista_bla.recipe index a575d01d0b..c1e6a45343 100644 --- a/recipes/revista_bla.recipe +++ b/recipes/revista_bla.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = '2010, Gustavo Azambuja ' diff --git a/recipes/rga.recipe b/recipes/rga.recipe index 42e8eb3d47..b4da120283 100644 --- a/recipes/rga.recipe +++ b/recipes/rga.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, W. Gerard ' diff --git a/recipes/rmf24_ESKN.recipe b/recipes/rmf24_ESKN.recipe index 992b84529c..6f87a5cee7 100644 --- a/recipes/rmf24_ESKN.recipe +++ b/recipes/rmf24_ESKN.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = u'2010, Tomasz Dlugosz ' diff --git a/recipes/rmf24_fakty.recipe b/recipes/rmf24_fakty.recipe index 3ab0b8dc11..e8eb7ed359 100644 --- a/recipes/rmf24_fakty.recipe +++ b/recipes/rmf24_fakty.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = u'2010, Tomasz Dlugosz ' diff --git a/recipes/rmf24_opinie.recipe b/recipes/rmf24_opinie.recipe index 0bbe5d03a4..c77350e884 100644 --- a/recipes/rmf24_opinie.recipe +++ b/recipes/rmf24_opinie.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = u'2010, Tomasz Dlugosz ' diff --git a/recipes/romanialibera.recipe b/recipes/romanialibera.recipe index 0cb401fdf4..1c05fa1f89 100644 --- a/recipes/romanialibera.recipe +++ b/recipes/romanialibera.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/rstones.recipe b/recipes/rstones.recipe index 46b817876c..a4a4767c79 100644 --- a/recipes/rstones.recipe +++ b/recipes/rstones.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Tony Stegall' __copyright__ = '2010, Tony Stegall or Tonythebookworm on mobileread.com' diff --git a/recipes/rts.recipe b/recipes/rts.recipe index f44b7d9c01..fa5f169929 100644 --- a/recipes/rts.recipe +++ b/recipes/rts.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/rushisaband.recipe b/recipes/rushisaband.recipe index 65dda3d8f3..101f853660 100644 --- a/recipes/rushisaband.recipe +++ b/recipes/rushisaband.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'MrStefan ' diff --git a/recipes/rybinski.recipe b/recipes/rybinski.recipe index a2518f0f4a..cce111289b 100644 --- a/recipes/rybinski.recipe +++ b/recipes/rybinski.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = u'2012, Tomasz Dlugosz ' diff --git a/recipes/rynek_infrastruktury.recipe b/recipes/rynek_infrastruktury.recipe index 98529379c5..c9ad795c24 100644 --- a/recipes/rynek_infrastruktury.recipe +++ b/recipes/rynek_infrastruktury.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'teepel ' diff --git a/recipes/rynek_kolejowy.recipe b/recipes/rynek_kolejowy.recipe index 181bf5b6d3..cfc4d88875 100644 --- a/recipes/rynek_kolejowy.recipe +++ b/recipes/rynek_kolejowy.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'teepel ' diff --git a/recipes/salon.recipe b/recipes/salon.recipe index cbf3d37694..006e6606c2 100644 --- a/recipes/salon.recipe +++ b/recipes/salon.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/samcik_blox.recipe b/recipes/samcik_blox.recipe index 0db6b7e8af..84d0c920f6 100644 --- a/recipes/samcik_blox.recipe +++ b/recipes/samcik_blox.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'teepel ' diff --git a/recipes/san_fran_chronicle.recipe b/recipes/san_fran_chronicle.recipe index 37f15dbe87..9543669882 100644 --- a/recipes/san_fran_chronicle.recipe +++ b/recipes/san_fran_chronicle.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Darko Miletic ' diff --git a/recipes/sanjosemercurynews.recipe b/recipes/sanjosemercurynews.recipe index dd009d687e..bee1f10c01 100644 --- a/recipes/sanjosemercurynews.recipe +++ b/recipes/sanjosemercurynews.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/saskatoon_star_phoenix.recipe b/recipes/saskatoon_star_phoenix.recipe index e87c6adc7c..a8e3ae0cd4 100644 --- a/recipes/saskatoon_star_phoenix.recipe +++ b/recipes/saskatoon_star_phoenix.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/satkurier.recipe b/recipes/satkurier.recipe index 6c7520f47b..e01fbcc0c1 100644 --- a/recipes/satkurier.recipe +++ b/recipes/satkurier.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' diff --git a/recipes/satmagazine.recipe b/recipes/satmagazine.recipe index 3e4b1e1b19..b82eeefcdf 100644 --- a/recipes/satmagazine.recipe +++ b/recipes/satmagazine.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 ## ## Title: SatMagazine ## diff --git a/recipes/sb_nation.recipe b/recipes/sb_nation.recipe index 19b828cdb7..d4aa4647f9 100644 --- a/recipes/sb_nation.recipe +++ b/recipes/sb_nation.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = 'Zotzo' diff --git a/recipes/science_aas.recipe b/recipes/science_aas.recipe index b0c82cf060..ce4c31fdbc 100644 --- a/recipes/science_aas.recipe +++ b/recipes/science_aas.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Darko Miletic ' diff --git a/recipes/science_based_medicine.recipe b/recipes/science_based_medicine.recipe index 352f42452f..e5cb06bbf9 100644 --- a/recipes/science_based_medicine.recipe +++ b/recipes/science_based_medicine.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/science_news.recipe b/recipes/science_news.recipe index b2329899ac..c5226303ab 100644 --- a/recipes/science_news.recipe +++ b/recipes/science_news.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' ''' diff --git a/recipes/science_news_recent_issues.recipe b/recipes/science_news_recent_issues.recipe index 7eb93e0d59..1e98bf2cbc 100644 --- a/recipes/science_news_recent_issues.recipe +++ b/recipes/science_news_recent_issues.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' ''' diff --git a/recipes/sciencedaily.recipe b/recipes/sciencedaily.recipe index 08092c099a..e18756d841 100644 --- a/recipes/sciencedaily.recipe +++ b/recipes/sciencedaily.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Darko Miletic ' diff --git a/recipes/scientific_american.recipe b/recipes/scientific_american.recipe index e113b853de..92bcffe5c2 100644 --- a/recipes/scientific_american.recipe +++ b/recipes/scientific_american.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/scott_hanselman.recipe b/recipes/scott_hanselman.recipe index d3eaef0e1a..b683d3261a 100644 --- a/recipes/scott_hanselman.recipe +++ b/recipes/scott_hanselman.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/seanhannity.recipe b/recipes/seanhannity.recipe index c554dcd684..5b928423f2 100644 --- a/recipes/seanhannity.recipe +++ b/recipes/seanhannity.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 from calibre.web.feeds.recipes import BasicNewsRecipe diff --git a/recipes/seattle_times.recipe b/recipes/seattle_times.recipe index 9ae40d1f20..84f62a0aa6 100644 --- a/recipes/seattle_times.recipe +++ b/recipes/seattle_times.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/serverside.recipe b/recipes/serverside.recipe index 13a56e772e..5fc36d002a 100644 --- a/recipes/serverside.recipe +++ b/recipes/serverside.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Rick Kellogg' diff --git a/recipes/sfin.recipe b/recipes/sfin.recipe index 90c094a0c1..aca44135f9 100644 --- a/recipes/sfin.recipe +++ b/recipes/sfin.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/slashdot.recipe b/recipes/slashdot.recipe index 577582ee70..804adb0426 100644 --- a/recipes/slashdot.recipe +++ b/recipes/slashdot.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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 c7c476342b..ea9dc9b64c 100644 --- a/recipes/slate.recipe +++ b/recipes/slate.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __copyright__ = '2008, Kovid Goyal ' __license__ = 'GPL v3' diff --git a/recipes/socialdiva.recipe b/recipes/socialdiva.recipe index 1befd03d4a..514779de67 100644 --- a/recipes/socialdiva.recipe +++ b/recipes/socialdiva.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011' diff --git a/recipes/southernstar.recipe b/recipes/southernstar.recipe index 69a81e2fb6..85ed487b4f 100644 --- a/recipes/southernstar.recipe +++ b/recipes/southernstar.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2012, watou' diff --git a/recipes/spiegelde.recipe b/recipes/spiegelde.recipe index 3c16de8aa1..96f7f4ef33 100644 --- a/recipes/spiegelde.recipe +++ b/recipes/spiegelde.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/sport_pl.recipe b/recipes/sport_pl.recipe index dd7faccdb0..c06008cd71 100644 --- a/recipes/sport_pl.recipe +++ b/recipes/sport_pl.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = 'teepel 2012' diff --git a/recipes/sportowefakty.recipe b/recipes/sportowefakty.recipe index b4186d3283..fe05a62f68 100644 --- a/recipes/sportowefakty.recipe +++ b/recipes/sportowefakty.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' diff --git a/recipes/st_petersburg_times.recipe b/recipes/st_petersburg_times.recipe index e475d12db1..dae4be89e5 100644 --- a/recipes/st_petersburg_times.recipe +++ b/recipes/st_petersburg_times.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/stackoverflow.recipe b/recipes/stackoverflow.recipe index 0987c675ff..780a49dbd1 100644 --- a/recipes/stackoverflow.recipe +++ b/recipes/stackoverflow.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/standardmoney.recipe b/recipes/standardmoney.recipe index b02abde447..54da92abe9 100644 --- a/recipes/standardmoney.recipe +++ b/recipes/standardmoney.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/stiintasitehnica.recipe b/recipes/stiintasitehnica.recipe index c58a115b56..8aeab8f9c7 100644 --- a/recipes/stiintasitehnica.recipe +++ b/recipes/stiintasitehnica.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/strange_horizons.recipe b/recipes/strange_horizons.recipe index e946d97543..0898fe73ac 100644 --- a/recipes/strange_horizons.recipe +++ b/recipes/strange_horizons.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 import urlparse from collections import OrderedDict diff --git a/recipes/superbebe.recipe b/recipes/superbebe.recipe index 00433b6084..51f6e3dbe9 100644 --- a/recipes/superbebe.recipe +++ b/recipes/superbebe.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/svd_se.recipe b/recipes/svd_se.recipe index 7fa92c47f2..8c01e20d16 100644 --- a/recipes/svd_se.recipe +++ b/recipes/svd_se.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/swiatkindle.recipe b/recipes/swiatkindle.recipe index d5774898aa..68825c9d1a 100644 --- a/recipes/swiatkindle.recipe +++ b/recipes/swiatkindle.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = u'2011, Tomasz Dlugosz ' diff --git a/recipes/tabu.recipe b/recipes/tabu.recipe index 941c491c79..e7c25290aa 100644 --- a/recipes/tabu.recipe +++ b/recipes/tabu.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/tanjug.recipe b/recipes/tanjug.recipe index 1038ed20ef..6f97f90539 100644 --- a/recipes/tanjug.recipe +++ b/recipes/tanjug.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/tasfiye_dergisi.recipe b/recipes/tasfiye_dergisi.recipe index ada5303a36..eb9bdbaf06 100644 --- a/recipes/tasfiye_dergisi.recipe +++ b/recipes/tasfiye_dergisi.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/taz.recipe b/recipes/taz.recipe index b777d7ad51..0faa65ff6e 100644 --- a/recipes/taz.recipe +++ b/recipes/taz.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/tech_world.recipe b/recipes/tech_world.recipe index 9c8dc76413..c27b204767 100644 --- a/recipes/tech_world.recipe +++ b/recipes/tech_world.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/telepolis_pl.recipe b/recipes/telepolis_pl.recipe index 1aa7734c2c..13d4047c9d 100644 --- a/recipes/telepolis_pl.recipe +++ b/recipes/telepolis_pl.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' diff --git a/recipes/teleread.recipe b/recipes/teleread.recipe index d1740f39d2..98e5af5b18 100644 --- a/recipes/teleread.recipe +++ b/recipes/teleread.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 b9e59527b6..2d388df7a1 100644 --- a/recipes/the_age.recipe +++ b/recipes/the_age.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 06f168b493..9c1eac246a 100644 --- a/recipes/the_budget_fashionista.recipe +++ b/recipes/the_budget_fashionista.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/the_escapist.recipe b/recipes/the_escapist.recipe index f86a0d824b..be55a828ad 100644 --- a/recipes/the_escapist.recipe +++ b/recipes/the_escapist.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini and Tom Surace' __copyright__ = '2009, Lorenzo Vigentini , 2013 Tom Surace ' diff --git a/recipes/the_oz.recipe b/recipes/the_oz.recipe index 20cd082de4..f42494de4e 100644 --- a/recipes/the_oz.recipe +++ b/recipes/the_oz.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Matthew Briggs' __docformat__ = 'restructuredtext en' diff --git a/recipes/thedgesingapore.recipe b/recipes/thedgesingapore.recipe index e8b87a7e76..570f4b990c 100644 --- a/recipes/thedgesingapore.recipe +++ b/recipes/thedgesingapore.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/themarketticker.recipe b/recipes/themarketticker.recipe index f001f47578..23a1afe919 100644 --- a/recipes/themarketticker.recipe +++ b/recipes/themarketticker.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Darko Miletic ' diff --git a/recipes/theoldfoodie.recipe b/recipes/theoldfoodie.recipe index f3f0ba423c..9a60fa183c 100644 --- a/recipes/theoldfoodie.recipe +++ b/recipes/theoldfoodie.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/tijd.recipe b/recipes/tijd.recipe index 6ff3278db9..b0b06aed85 100644 --- a/recipes/tijd.recipe +++ b/recipes/tijd.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/time_magazine.recipe b/recipes/time_magazine.recipe index 2dbb37c03e..735c0abd7d 100644 --- a/recipes/time_magazine.recipe +++ b/recipes/time_magazine.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/recipes/timesnewroman.recipe b/recipes/timesnewroman.recipe index 79c2a9628a..4a685a988e 100644 --- a/recipes/timesnewroman.recipe +++ b/recipes/timesnewroman.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' @@ -42,7 +42,7 @@ class TimesNewRoman(BasicNewsRecipe): ] remove_tags_after = [ - dict(name='div', attrs={'class':'fb_iframe_widget'}), + dict(name='div', attrs={'class':'fb_iframe_widget'}), dict(name='div', attrs={'id':'jc'}) ] diff --git a/recipes/tnxm.recipe b/recipes/tnxm.recipe index cf60de3872..dd9f72902d 100644 --- a/recipes/tnxm.recipe +++ b/recipes/tnxm.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Wasabi ' diff --git a/recipes/todays_zaman.recipe b/recipes/todays_zaman.recipe index 047f45b1e5..14002e352e 100644 --- a/recipes/todays_zaman.recipe +++ b/recipes/todays_zaman.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' __copyright__ = '2014, spswerling' diff --git a/recipes/toronto_sun.recipe b/recipes/toronto_sun.recipe index 6fd9438c42..fa5ce6c8bf 100644 --- a/recipes/toronto_sun.recipe +++ b/recipes/toronto_sun.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/trombon.recipe b/recipes/trombon.recipe index 1a4e488a43..cd27618fad 100644 --- a/recipes/trombon.recipe +++ b/recipes/trombon.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/trystero.recipe b/recipes/trystero.recipe index 13a3d4b9db..d9c742fd80 100644 --- a/recipes/trystero.recipe +++ b/recipes/trystero.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = u'2013, Tomasz Dlugosz ' diff --git a/recipes/tuttosport.recipe b/recipes/tuttosport.recipe index cc1f27e73a..67b725d8c0 100644 --- a/recipes/tuttosport.recipe +++ b/recipes/tuttosport.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'Lorenzo Vigentini' __copyright__ = '2009, Lorenzo Vigentini ' diff --git a/recipes/tvmania.recipe b/recipes/tvmania.recipe index a2d9fcc060..d932349902 100644 --- a/recipes/tvmania.recipe +++ b/recipes/tvmania.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/tweakers.recipe b/recipes/tweakers.recipe index b8c0efc018..5e79e76135 100644 --- a/recipes/tweakers.recipe +++ b/recipes/tweakers.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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 e285d43e2e..d5af833d43 100644 --- a/recipes/tweakers_net.recipe +++ b/recipes/tweakers_net.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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 d39873e1a2..12d11cb40c 100644 --- a/recipes/tyzden.recipe +++ b/recipes/tyzden.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 # # Copyright 2014 - 2015 Martin Račák diff --git a/recipes/uncrate.recipe b/recipes/uncrate.recipe index df18475dec..bf1fe0eeae 100644 --- a/recipes/uncrate.recipe +++ b/recipes/uncrate.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/unica.recipe b/recipes/unica.recipe index b6be44a504..b916a1f116 100644 --- a/recipes/unica.recipe +++ b/recipes/unica.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/unoticias.recipe b/recipes/unoticias.recipe index f7d1c7693c..1d3ac72ac1 100644 --- a/recipes/unoticias.recipe +++ b/recipes/unoticias.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = '2013, Carlos Alves ' diff --git a/recipes/upi.recipe b/recipes/upi.recipe index 42e9bb00c9..2061e0a92a 100644 --- a/recipes/upi.recipe +++ b/recipes/upi.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/recipes/usatoday.recipe b/recipes/usatoday.recipe index 12ffec38f0..a5d50416dc 100644 --- a/recipes/usatoday.recipe +++ b/recipes/usatoday.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' diff --git a/recipes/usnews.recipe b/recipes/usnews.recipe index 96e0ee35d5..23b28d25d4 100644 --- a/recipes/usnews.recipe +++ b/recipes/usnews.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/utne.recipe b/recipes/utne.recipe index 0159dd1085..879d2ebb25 100644 --- a/recipes/utne.recipe +++ b/recipes/utne.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Darko Miletic ' diff --git a/recipes/utrinski.recipe b/recipes/utrinski.recipe index a9e8e418e2..1ec50a11f6 100644 --- a/recipes/utrinski.recipe +++ b/recipes/utrinski.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __author__ = 'Darko Spasovski' __license__ = 'GPL v3' diff --git a/recipes/vancouver_province.recipe b/recipes/vancouver_province.recipe index 9050c65673..0405e78e1f 100644 --- a/recipes/vancouver_province.recipe +++ b/recipes/vancouver_province.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/vancouver_sun.recipe b/recipes/vancouver_sun.recipe index a501c77fbf..057b1661d1 100644 --- a/recipes/vancouver_sun.recipe +++ b/recipes/vancouver_sun.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/vecernji_list.recipe b/recipes/vecernji_list.recipe index 9def2dee73..8922a20c47 100644 --- a/recipes/vecernji_list.recipe +++ b/recipes/vecernji_list.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/vedomosti.recipe b/recipes/vedomosti.recipe index f9590f8c29..795d4834bd 100644 --- a/recipes/vedomosti.recipe +++ b/recipes/vedomosti.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 u''' Ведомости diff --git a/recipes/veintitres.recipe b/recipes/veintitres.recipe index d36ac8568b..ec20d8a803 100644 --- a/recipes/veintitres.recipe +++ b/recipes/veintitres.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/vic_times.recipe b/recipes/vic_times.recipe index 8aaa6d05b3..42f9bb4b0e 100644 --- a/recipes/vic_times.recipe +++ b/recipes/vic_times.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/villagevoice.recipe b/recipes/villagevoice.recipe index 4723700817..4c77c037ad 100644 --- a/recipes/villagevoice.recipe +++ b/recipes/villagevoice.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 import re from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/viva.recipe b/recipes/viva.recipe index df697ea298..550ed6c207 100644 --- a/recipes/viva.recipe +++ b/recipes/viva.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/vnexpress.recipe b/recipes/vnexpress.recipe index 89118e65c2..40588915c7 100644 --- a/recipes/vnexpress.recipe +++ b/recipes/vnexpress.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Huan Komrade T ' diff --git a/recipes/wallstreetro.recipe b/recipes/wallstreetro.recipe index 8a66aa3673..d3f6fa9c50 100644 --- a/recipes/wallstreetro.recipe +++ b/recipes/wallstreetro.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/wash_times.recipe b/recipes/wash_times.recipe index fd29fd7396..4568392377 100644 --- a/recipes/wash_times.recipe +++ b/recipes/wash_times.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/recipes/weblogs_sl.recipe b/recipes/weblogs_sl.recipe index 7c09b79c4a..482a8604a3 100644 --- a/recipes/weblogs_sl.recipe +++ b/recipes/weblogs_sl.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '4 February 2011, desUBIKado' __author__ = 'desUBIKado' diff --git a/recipes/wenxuecity-znjy.recipe b/recipes/wenxuecity-znjy.recipe index ecce80222e..f3293049c2 100644 --- a/recipes/wenxuecity-znjy.recipe +++ b/recipes/wenxuecity-znjy.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2010, Derek Liang ' diff --git a/recipes/wikinews_en.recipe b/recipes/wikinews_en.recipe index 538ab241c2..9cb4dc1226 100644 --- a/recipes/wikinews_en.recipe +++ b/recipes/wikinews_en.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic ' diff --git a/recipes/windows_star.recipe b/recipes/windows_star.recipe index 90f296287a..f00863c295 100644 --- a/recipes/windows_star.recipe +++ b/recipes/windows_star.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' diff --git a/recipes/windsor_star.recipe b/recipes/windsor_star.recipe index 04f693d9e8..6ee9b2fa23 100644 --- a/recipes/windsor_star.recipe +++ b/recipes/windsor_star.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/recipes/winter_olympics.recipe b/recipes/winter_olympics.recipe index a7062d7930..abdd309f61 100644 --- a/recipes/winter_olympics.recipe +++ b/recipes/winter_olympics.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2010, Starson17' diff --git a/recipes/wolne_media.recipe b/recipes/wolne_media.recipe index 5f8c87a607..ba3b82c1eb 100644 --- a/recipes/wolne_media.recipe +++ b/recipes/wolne_media.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __author__ = 'teepel ' diff --git a/recipes/wprost.recipe b/recipes/wprost.recipe index d923f64a3f..38f38657c1 100644 --- a/recipes/wprost.recipe +++ b/recipes/wprost.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '''2010, matek09, matek09@gmail.com diff --git a/recipes/wprost_rss.recipe b/recipes/wprost_rss.recipe index bc57e288d4..0b2eb6f1bb 100644 --- a/recipes/wprost_rss.recipe +++ b/recipes/wprost_rss.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '''2010, matek09, matek09@gmail.com diff --git a/recipes/wvhooligan.recipe b/recipes/wvhooligan.recipe index 680ac6f244..c42ddc1175 100644 --- a/recipes/wvhooligan.recipe +++ b/recipes/wvhooligan.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL 3' __copyright__ = 'zotzo' __docformat__ = 'restructuredtext en' diff --git a/recipes/wysokie_obcasy.recipe b/recipes/wysokie_obcasy.recipe index 332bc6138d..00d3ac08f3 100644 --- a/recipes/wysokie_obcasy.recipe +++ b/recipes/wysokie_obcasy.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' from calibre.web.feeds.news import BasicNewsRecipe diff --git a/recipes/yalansavar.recipe b/recipes/yalansavar.recipe index 3e845377b7..bf1ca4e680 100644 --- a/recipes/yalansavar.recipe +++ b/recipes/yalansavar.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/zaobao.recipe b/recipes/zaobao.recipe index 0e2854c12b..eb261623ec 100644 --- a/recipes/zaobao.recipe +++ b/recipes/zaobao.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Pu Bo ' diff --git a/recipes/ziarulfinanciar.recipe b/recipes/ziarulfinanciar.recipe index 0b10d997b0..20e83cf8f0 100644 --- a/recipes/ziarulfinanciar.recipe +++ b/recipes/ziarulfinanciar.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/ziuaveche.recipe b/recipes/ziuaveche.recipe index 61df768e0a..ba50aaa158 100644 --- a/recipes/ziuaveche.recipe +++ b/recipes/ziuaveche.recipe @@ -1,5 +1,5 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- -#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = u'2011, Silviu Cotoar\u0103' diff --git a/recipes/zycie_warszawy.recipe b/recipes/zycie_warszawy.recipe index 2878d0c99d..0c8b9411de 100644 --- a/recipes/zycie_warszawy.recipe +++ b/recipes/zycie_warszawy.recipe @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- __license__ = 'GPL v3' diff --git a/resources/catalog/section_list_templates.py b/resources/catalog/section_list_templates.py index 1cf7b96bef..ff89c9e753 100644 --- a/resources/catalog/section_list_templates.py +++ b/resources/catalog/section_list_templates.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' @@ -37,4 +37,4 @@ by_recently_added_series_title_template = '{title} ({series} [{series_index}])' # By Month added by_month_added_normal_title_template = '{title} {pubyear_parens}' -by_month_added_series_title_template = '[{series_index}] {title} {pubyear_parens}' \ No newline at end of file +by_month_added_series_title_template = '[{series_index}] {title} {pubyear_parens}' diff --git a/resources/default_tweaks.py b/resources/default_tweaks.py index 4b468c3ace..3137c31936 100644 --- a/resources/default_tweaks.py +++ b/resources/default_tweaks.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal ' diff --git a/setup.py b/setup.py index 9ff70d30df..ccfdfd93c7 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/setup/__init__.py b/setup/__init__.py index e4e68a427b..ce06aab9a1 100644 --- a/setup/__init__.py +++ b/setup/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/setup/build_environment.py b/setup/build_environment.py index bcb2c08b0c..7779e66407 100644 --- a/setup/build_environment.py +++ b/setup/build_environment.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/setup/check.py b/setup/check.py index ae0056d0a0..68879eeaf0 100644 --- a/setup/check.py +++ b/setup/check.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/setup/commands.py b/setup/commands.py index 5fb10b87e6..0bed2e8e1a 100644 --- a/setup/commands.py +++ b/setup/commands.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/setup/extensions.py b/setup/extensions.py index 81dca11a9e..0fbcad8eb7 100644 --- a/setup/extensions.py +++ b/setup/extensions.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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 dbc9cb3222..f949442a68 100644 --- a/setup/file-hosting-bw.py +++ b/setup/file-hosting-bw.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/setup/git_post_checkout_hook.py b/setup/git_post_checkout_hook.py index ca1eadff6c..1d4b7213cb 100755 --- a/setup/git_post_checkout_hook.py +++ b/setup/git_post_checkout_hook.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/setup/git_post_rewrite_hook.py b/setup/git_post_rewrite_hook.py index 740d8c7bbe..a28f2a62b9 100755 --- a/setup/git_post_rewrite_hook.py +++ b/setup/git_post_rewrite_hook.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/setup/git_pre_commit_hook.py b/setup/git_pre_commit_hook.py index 68940c1eec..5a92b1f8bc 100755 --- a/setup/git_pre_commit_hook.py +++ b/setup/git_pre_commit_hook.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/setup/gui.py b/setup/gui.py index ba63aad143..3d780a52cb 100644 --- a/setup/gui.py +++ b/setup/gui.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/setup/hosting.py b/setup/hosting.py index 139528e10c..b9a4f624ce 100644 --- a/setup/hosting.py +++ b/setup/hosting.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/setup/install.py b/setup/install.py index b003af4a2f..fbb4bf4e6a 100644 --- a/setup/install.py +++ b/setup/install.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/setup/installer/__init__.py b/setup/installer/__init__.py index ec54858679..7ff3cf4980 100644 --- a/setup/installer/__init__.py +++ b/setup/installer/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/setup/installer/linux/__init__.py b/setup/installer/linux/__init__.py index 890edc825a..c2274a5a05 100644 --- a/setup/installer/linux/__init__.py +++ b/setup/installer/linux/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/setup/installer/linux/freeze2.py b/setup/installer/linux/freeze2.py index 9d0596f4eb..2cbcd23501 100644 --- a/setup/installer/linux/freeze2.py +++ b/setup/installer/linux/freeze2.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/setup/installer/osx/__init__.py b/setup/installer/osx/__init__.py index e2167a2393..59b8b3eb02 100644 --- a/setup/installer/osx/__init__.py +++ b/setup/installer/osx/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/setup/installer/osx/app/__init__.py b/setup/installer/osx/app/__init__.py index 3d1a86922e..4a7a9ab6f5 100644 --- a/setup/installer/osx/app/__init__.py +++ b/setup/installer/osx/app/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/setup/installer/osx/app/main.py b/setup/installer/osx/app/main.py index 6e711f9246..44bd8381f4 100644 --- a/setup/installer/osx/app/main.py +++ b/setup/installer/osx/app/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/setup/installer/osx/app/sign.py b/setup/installer/osx/app/sign.py index fea4f8519d..f19dd02186 100644 --- a/setup/installer/osx/app/sign.py +++ b/setup/installer/osx/app/sign.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/setup/installer/osx/fix_icu.py b/setup/installer/osx/fix_icu.py index 4a79f05359..31d6344b54 100644 --- a/setup/installer/osx/fix_icu.py +++ b/setup/installer/osx/fix_icu.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/setup/installer/windows/__init__.py b/setup/installer/windows/__init__.py index 481038c514..dee2d2275b 100644 --- a/setup/installer/windows/__init__.py +++ b/setup/installer/windows/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/setup/installer/windows/freeze.py b/setup/installer/windows/freeze.py index 2943263660..9c4615a0de 100644 --- a/setup/installer/windows/freeze.py +++ b/setup/installer/windows/freeze.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement, print_function diff --git a/setup/installer/windows/site.py b/setup/installer/windows/site.py index d2212037ee..aec3b41a90 100644 --- a/setup/installer/windows/site.py +++ b/setup/installer/windows/site.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/setup/installer/windows/wix.py b/setup/installer/windows/wix.py index b89a402641..81d071bf9f 100644 --- a/setup/installer/windows/wix.py +++ b/setup/installer/windows/wix.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/setup/linux-installer.py b/setup/linux-installer.py index 194c5408f5..46c16678dd 100644 --- a/setup/linux-installer.py +++ b/setup/linux-installer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/setup/mathjax.py b/setup/mathjax.py index 58569f8924..ca88612929 100644 --- a/setup/mathjax.py +++ b/setup/mathjax.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/setup/parallel_build.py b/setup/parallel_build.py index 0016b964eb..2883cb1605 100644 --- a/setup/parallel_build.py +++ b/setup/parallel_build.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/setup/plugins_mirror.py b/setup/plugins_mirror.py index c3ca7c406b..f055da7249 100644 --- a/setup/plugins_mirror.py +++ b/setup/plugins_mirror.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/setup/publish.py b/setup/publish.py index 4fc4b5e138..a4466bf3a2 100644 --- a/setup/publish.py +++ b/setup/publish.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/setup/pypi.py b/setup/pypi.py index 61cb8b1a29..892756b1e8 100644 --- a/setup/pypi.py +++ b/setup/pypi.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/setup/qt5-migrate.py b/setup/qt5-migrate.py index c70fc4aa98..aed37d939c 100644 --- a/setup/qt5-migrate.py +++ b/setup/qt5-migrate.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/setup/resources.py b/setup/resources.py index 38654ed79d..149e3408b3 100644 --- a/setup/resources.py +++ b/setup/resources.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/setup/server.py b/setup/server.py index 5fabd17108..370f065bba 100644 --- a/setup/server.py +++ b/setup/server.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/setup/translations.py b/setup/translations.py index 17a93457fb..0f4914ab6d 100644 --- a/setup/translations.py +++ b/setup/translations.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/setup/upload.py b/setup/upload.py index 70c4cf0438..4bc702ee98 100644 --- a/setup/upload.py +++ b/setup/upload.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/setup/vcvars.py b/setup/vcvars.py index 6314345f1a..10b2020c0f 100644 --- a/setup/vcvars.py +++ b/setup/vcvars.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/customize/zipplugin.py b/src/calibre/customize/zipplugin.py index 031b913e3e..c8ef3175f5 100644 --- a/src/calibre/customize/zipplugin.py +++ b/src/calibre/customize/zipplugin.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/db/__init__.py b/src/calibre/db/__init__.py index 03575360e5..fe43d47d06 100644 --- a/src/calibre/db/__init__.py +++ b/src/calibre/db/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/db/adding.py b/src/calibre/db/adding.py index 9a5f01d8af..2627e30761 100644 --- a/src/calibre/db/adding.py +++ b/src/calibre/db/adding.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/db/backend.py b/src/calibre/db/backend.py index 5598c13380..faa86557f7 100644 --- a/src/calibre/db/backend.py +++ b/src/calibre/db/backend.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/db/backup.py b/src/calibre/db/backup.py index 9dfda156d4..3b1227904b 100644 --- a/src/calibre/db/backup.py +++ b/src/calibre/db/backup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/db/cache.py b/src/calibre/db/cache.py index a73e569605..92e6512b90 100644 --- a/src/calibre/db/cache.py +++ b/src/calibre/db/cache.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/db/categories.py b/src/calibre/db/categories.py index 505099b78e..2e445f53f2 100644 --- a/src/calibre/db/categories.py +++ b/src/calibre/db/categories.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/db/delete_service.py b/src/calibre/db/delete_service.py index beda2ae954..1e44f0c85b 100644 --- a/src/calibre/db/delete_service.py +++ b/src/calibre/db/delete_service.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/db/errors.py b/src/calibre/db/errors.py index d2657f9904..621372bb44 100644 --- a/src/calibre/db/errors.py +++ b/src/calibre/db/errors.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/db/fields.py b/src/calibre/db/fields.py index 020327efb6..13d2cead96 100644 --- a/src/calibre/db/fields.py +++ b/src/calibre/db/fields.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/db/lazy.py b/src/calibre/db/lazy.py index 93a814be1e..4010a3b40c 100644 --- a/src/calibre/db/lazy.py +++ b/src/calibre/db/lazy.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/db/legacy.py b/src/calibre/db/legacy.py index cc69ca963e..84c2e75bb6 100644 --- a/src/calibre/db/legacy.py +++ b/src/calibre/db/legacy.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/db/locking.py b/src/calibre/db/locking.py index 706f3cb931..e30da1ab04 100644 --- a/src/calibre/db/locking.py +++ b/src/calibre/db/locking.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/db/restore.py b/src/calibre/db/restore.py index 2c942cef1b..b264639485 100644 --- a/src/calibre/db/restore.py +++ b/src/calibre/db/restore.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/db/schema_upgrades.py b/src/calibre/db/schema_upgrades.py index 0569da9031..902ade4b97 100644 --- a/src/calibre/db/schema_upgrades.py +++ b/src/calibre/db/schema_upgrades.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/db/search.py b/src/calibre/db/search.py index 01278ccaee..47482c7f7a 100644 --- a/src/calibre/db/search.py +++ b/src/calibre/db/search.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/db/tables.py b/src/calibre/db/tables.py index cb5c17f908..750714ef94 100644 --- a/src/calibre/db/tables.py +++ b/src/calibre/db/tables.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/db/tests/__init__.py b/src/calibre/db/tests/__init__.py index cc6da1e995..8d35a37f2f 100644 --- a/src/calibre/db/tests/__init__.py +++ b/src/calibre/db/tests/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/db/tests/add_remove.py b/src/calibre/db/tests/add_remove.py index 6fc81bba47..0d388f6b82 100644 --- a/src/calibre/db/tests/add_remove.py +++ b/src/calibre/db/tests/add_remove.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/db/tests/base.py b/src/calibre/db/tests/base.py index 45f3eb39a4..09af71687a 100644 --- a/src/calibre/db/tests/base.py +++ b/src/calibre/db/tests/base.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/db/tests/filesystem.py b/src/calibre/db/tests/filesystem.py index 5b84d89496..6647aafbb7 100644 --- a/src/calibre/db/tests/filesystem.py +++ b/src/calibre/db/tests/filesystem.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/db/tests/legacy.py b/src/calibre/db/tests/legacy.py index 79085789e1..17cf8ae57b 100644 --- a/src/calibre/db/tests/legacy.py +++ b/src/calibre/db/tests/legacy.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/db/tests/locking.py b/src/calibre/db/tests/locking.py index 405c8669b9..82b3d27214 100644 --- a/src/calibre/db/tests/locking.py +++ b/src/calibre/db/tests/locking.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/db/tests/main.py b/src/calibre/db/tests/main.py index 6499f27d08..e097dcb7eb 100644 --- a/src/calibre/db/tests/main.py +++ b/src/calibre/db/tests/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/db/tests/profiling.py b/src/calibre/db/tests/profiling.py index 07365b1b75..44cf4949b0 100644 --- a/src/calibre/db/tests/profiling.py +++ b/src/calibre/db/tests/profiling.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/db/tests/reading.py b/src/calibre/db/tests/reading.py index ae390c97ab..f521a6def7 100644 --- a/src/calibre/db/tests/reading.py +++ b/src/calibre/db/tests/reading.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/db/tests/utils.py b/src/calibre/db/tests/utils.py index c30264b6bb..2b27f0c15e 100644 --- a/src/calibre/db/tests/utils.py +++ b/src/calibre/db/tests/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/db/tests/writing.py b/src/calibre/db/tests/writing.py index d7afb0ca01..175043ce6a 100644 --- a/src/calibre/db/tests/writing.py +++ b/src/calibre/db/tests/writing.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/db/utils.py b/src/calibre/db/utils.py index 8de30b6eb1..f66136502c 100644 --- a/src/calibre/db/utils.py +++ b/src/calibre/db/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/db/view.py b/src/calibre/db/view.py index ff6b1cd1b0..107357e00a 100644 --- a/src/calibre/db/view.py +++ b/src/calibre/db/view.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/db/write.py b/src/calibre/db/write.py index de32517a51..edbdfdd7fe 100644 --- a/src/calibre/db/write.py +++ b/src/calibre/db/write.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/debug.py b/src/calibre/debug.py index 6f49799888..3e65a6b119 100644 --- a/src/calibre/debug.py +++ b/src/calibre/debug.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' diff --git a/src/calibre/devices/android/__init__.py b/src/calibre/devices/android/__init__.py index 3d1a86922e..4a7a9ab6f5 100644 --- a/src/calibre/devices/android/__init__.py +++ b/src/calibre/devices/android/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/devices/eslick/__init__.py b/src/calibre/devices/eslick/__init__.py index 3d1a86922e..4a7a9ab6f5 100644 --- a/src/calibre/devices/eslick/__init__.py +++ b/src/calibre/devices/eslick/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/devices/eslick/driver.py b/src/calibre/devices/eslick/driver.py index 9f2ba7d252..240e1edc92 100644 --- a/src/calibre/devices/eslick/driver.py +++ b/src/calibre/devices/eslick/driver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/devices/folder_device/__init__.py b/src/calibre/devices/folder_device/__init__.py index 3d1a86922e..4a7a9ab6f5 100644 --- a/src/calibre/devices/folder_device/__init__.py +++ b/src/calibre/devices/folder_device/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/devices/idevice/libimobiledevice.py b/src/calibre/devices/idevice/libimobiledevice.py index 7eeef51a4f..49f54f5d5c 100644 --- a/src/calibre/devices/idevice/libimobiledevice.py +++ b/src/calibre/devices/idevice/libimobiledevice.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # coding: utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/devices/idevice/parse_xml.py b/src/calibre/devices/idevice/parse_xml.py index 6982b5a213..2e909e737b 100755 --- a/src/calibre/devices/idevice/parse_xml.py +++ b/src/calibre/devices/idevice/parse_xml.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/devices/iriver/__init__.py b/src/calibre/devices/iriver/__init__.py index 3d1a86922e..4a7a9ab6f5 100644 --- a/src/calibre/devices/iriver/__init__.py +++ b/src/calibre/devices/iriver/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/devices/iriver/driver.py b/src/calibre/devices/iriver/driver.py index 1e3a4e1e37..844ae0a232 100644 --- a/src/calibre/devices/iriver/driver.py +++ b/src/calibre/devices/iriver/driver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/devices/kobo/__init__.py b/src/calibre/devices/kobo/__init__.py index 0080175bfa..9a3d842248 100644 --- a/src/calibre/devices/kobo/__init__.py +++ b/src/calibre/devices/kobo/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/devices/kobo/driver.py b/src/calibre/devices/kobo/driver.py index d4904577ad..0448f33dd6 100644 --- a/src/calibre/devices/kobo/driver.py +++ b/src/calibre/devices/kobo/driver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import division diff --git a/src/calibre/devices/misc.py b/src/calibre/devices/misc.py index f25926ede4..33ba63d39e 100644 --- a/src/calibre/devices/misc.py +++ b/src/calibre/devices/misc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/devices/mtp/__init__.py b/src/calibre/devices/mtp/__init__.py index dd9615356c..dd6cfb5909 100644 --- a/src/calibre/devices/mtp/__init__.py +++ b/src/calibre/devices/mtp/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/devices/mtp/base.py b/src/calibre/devices/mtp/base.py index 893ceebf04..1abd4cfbc7 100644 --- a/src/calibre/devices/mtp/base.py +++ b/src/calibre/devices/mtp/base.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/devices/mtp/books.py b/src/calibre/devices/mtp/books.py index 631878a02c..0682c9ab5f 100644 --- a/src/calibre/devices/mtp/books.py +++ b/src/calibre/devices/mtp/books.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/devices/mtp/defaults.py b/src/calibre/devices/mtp/defaults.py index 2b72aa77cc..e2648b4bcb 100644 --- a/src/calibre/devices/mtp/defaults.py +++ b/src/calibre/devices/mtp/defaults.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/devices/mtp/driver.py b/src/calibre/devices/mtp/driver.py index d80a7e7679..c7ca5a7b68 100644 --- a/src/calibre/devices/mtp/driver.py +++ b/src/calibre/devices/mtp/driver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/devices/mtp/filesystem_cache.py b/src/calibre/devices/mtp/filesystem_cache.py index 3acb026b77..e4207a1927 100644 --- a/src/calibre/devices/mtp/filesystem_cache.py +++ b/src/calibre/devices/mtp/filesystem_cache.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/devices/mtp/test.py b/src/calibre/devices/mtp/test.py index b0e29db566..0b9e65f98d 100644 --- a/src/calibre/devices/mtp/test.py +++ b/src/calibre/devices/mtp/test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/devices/mtp/unix/__init__.py b/src/calibre/devices/mtp/unix/__init__.py index 211ff58986..0970654e43 100644 --- a/src/calibre/devices/mtp/unix/__init__.py +++ b/src/calibre/devices/mtp/unix/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/devices/mtp/unix/driver.py b/src/calibre/devices/mtp/unix/driver.py index 10fff92127..5ff991b92d 100644 --- a/src/calibre/devices/mtp/unix/driver.py +++ b/src/calibre/devices/mtp/unix/driver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/devices/mtp/unix/sysfs.py b/src/calibre/devices/mtp/unix/sysfs.py index 737ea1916b..cc4171cb43 100644 --- a/src/calibre/devices/mtp/unix/sysfs.py +++ b/src/calibre/devices/mtp/unix/sysfs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/devices/mtp/unix/upstream/update.py b/src/calibre/devices/mtp/unix/upstream/update.py index 50ae2becd7..0fc6a2b41c 100644 --- a/src/calibre/devices/mtp/unix/upstream/update.py +++ b/src/calibre/devices/mtp/unix/upstream/update.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/devices/mtp/windows/__init__.py b/src/calibre/devices/mtp/windows/__init__.py index 743a9d0561..ae9ced197b 100644 --- a/src/calibre/devices/mtp/windows/__init__.py +++ b/src/calibre/devices/mtp/windows/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/devices/mtp/windows/driver.py b/src/calibre/devices/mtp/windows/driver.py index ca5d34b93f..c3f3c24eeb 100644 --- a/src/calibre/devices/mtp/windows/driver.py +++ b/src/calibre/devices/mtp/windows/driver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/devices/mtp/windows/remote.py b/src/calibre/devices/mtp/windows/remote.py index 628839a197..88c2b566f9 100644 --- a/src/calibre/devices/mtp/windows/remote.py +++ b/src/calibre/devices/mtp/windows/remote.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/devices/prs505/sony_cache.py b/src/calibre/devices/prs505/sony_cache.py index 86a1b50582..668ff80c54 100644 --- a/src/calibre/devices/prs505/sony_cache.py +++ b/src/calibre/devices/prs505/sony_cache.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/devices/prst1/__init__.py b/src/calibre/devices/prst1/__init__.py index 4ed1c1cbbe..44e754947e 100644 --- a/src/calibre/devices/prst1/__init__.py +++ b/src/calibre/devices/prst1/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/devices/prst1/driver.py b/src/calibre/devices/prst1/driver.py index 2d7b4c852d..6c9f365695 100644 --- a/src/calibre/devices/prst1/driver.py +++ b/src/calibre/devices/prst1/driver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/devices/smart_device_app/__init__.py b/src/calibre/devices/smart_device_app/__init__.py index 0080175bfa..9a3d842248 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/devices/smart_device_app/driver.py b/src/calibre/devices/smart_device_app/driver.py index a35807eae8..1fb84f1eab 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/devices/teclast/__init__.py b/src/calibre/devices/teclast/__init__.py index 9cc2ff9a89..ca255db6b3 100644 --- a/src/calibre/devices/teclast/__init__.py +++ b/src/calibre/devices/teclast/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/devices/udisks.py b/src/calibre/devices/udisks.py index 8156fb227b..63a1248b16 100644 --- a/src/calibre/devices/udisks.py +++ b/src/calibre/devices/udisks.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/devices/utils.py b/src/calibre/devices/utils.py index 24af74f1a6..218cedcbaa 100644 --- a/src/calibre/devices/utils.py +++ b/src/calibre/devices/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/chardet.py b/src/calibre/ebooks/chardet.py index a550b4265d..f75b7915e1 100644 --- a/src/calibre/ebooks/chardet.py +++ b/src/calibre/ebooks/chardet.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/chm/__init__.py b/src/calibre/ebooks/chm/__init__.py index d7d77da4b6..72c19ade11 100644 --- a/src/calibre/ebooks/chm/__init__.py +++ b/src/calibre/ebooks/chm/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/src/calibre/ebooks/chm/metadata.py b/src/calibre/ebooks/chm/metadata.py index ea67947231..ff8f6b63b4 100644 --- a/src/calibre/ebooks/chm/metadata.py +++ b/src/calibre/ebooks/chm/metadata.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/ebooks/comic/__init__.py b/src/calibre/ebooks/comic/__init__.py index 9ab17a060f..3055256157 100644 --- a/src/calibre/ebooks/comic/__init__.py +++ b/src/calibre/ebooks/comic/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/src/calibre/ebooks/compression/palmdoc.py b/src/calibre/ebooks/compression/palmdoc.py index 6069777fab..6525af57f5 100644 --- a/src/calibre/ebooks/compression/palmdoc.py +++ b/src/calibre/ebooks/compression/palmdoc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/ebooks/constants.py b/src/calibre/ebooks/constants.py index b01f44fa6d..bd666ed1d8 100644 --- a/src/calibre/ebooks/constants.py +++ b/src/calibre/ebooks/constants.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/conversion/config.py b/src/calibre/ebooks/conversion/config.py index 3fbb58fff7..c0731530bd 100644 --- a/src/calibre/ebooks/conversion/config.py +++ b/src/calibre/ebooks/conversion/config.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/ebooks/conversion/plugins/__init__.py b/src/calibre/ebooks/conversion/plugins/__init__.py index dd9615356c..dd6cfb5909 100644 --- a/src/calibre/ebooks/conversion/plugins/__init__.py +++ b/src/calibre/ebooks/conversion/plugins/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/conversion/plugins/docx_input.py b/src/calibre/ebooks/conversion/plugins/docx_input.py index 30a4bb3868..71e93b45fd 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/conversion/plugins/epub_output.py b/src/calibre/ebooks/conversion/plugins/epub_output.py index a05d9b044b..e803959ef6 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/ebooks/conversion/plugins/html_input.py b/src/calibre/ebooks/conversion/plugins/html_input.py index de783cfabe..5d415a5e69 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/conversion/plugins/lit_input.py b/src/calibre/ebooks/conversion/plugins/lit_input.py index 4008f15d53..e5fbdc99cb 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/ebooks/conversion/plugins/lit_output.py b/src/calibre/ebooks/conversion/plugins/lit_output.py index 0b07bc7705..1c5645aed7 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/ebooks/conversion/plugins/lrf_input.py b/src/calibre/ebooks/conversion/plugins/lrf_input.py index 2bced40c20..87cbc4a0da 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/ebooks/conversion/plugins/lrf_output.py b/src/calibre/ebooks/conversion/plugins/lrf_output.py index c6e7d19714..04f1af6786 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/ebooks/conversion/plugins/mobi_output.py b/src/calibre/ebooks/conversion/plugins/mobi_output.py index dbe52a5a08..afea62e2f3 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/ebooks/conversion/plugins/recipe_input.py b/src/calibre/ebooks/conversion/plugins/recipe_input.py index 1f7e35f10b..feeafd6c28 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/ebooks/conversion/preprocess.py b/src/calibre/ebooks/conversion/preprocess.py index 4cd233dac5..f5660b95e8 100644 --- a/src/calibre/ebooks/conversion/preprocess.py +++ b/src/calibre/ebooks/conversion/preprocess.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/ebooks/conversion/utils.py b/src/calibre/ebooks/conversion/utils.py index e626747717..fbf0821532 100644 --- a/src/calibre/ebooks/conversion/utils.py +++ b/src/calibre/ebooks/conversion/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/ebooks/covers.py b/src/calibre/ebooks/covers.py index a1574a551e..cbffa5cf62 100644 --- a/src/calibre/ebooks/covers.py +++ b/src/calibre/ebooks/covers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/djvu/__init__.py b/src/calibre/ebooks/djvu/__init__.py index fb2d53c224..e1fc2a7e9a 100644 --- a/src/calibre/ebooks/djvu/__init__.py +++ b/src/calibre/ebooks/djvu/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/djvu/djvu.py b/src/calibre/ebooks/djvu/djvu.py index 94caf31623..30b50d2df3 100644 --- a/src/calibre/ebooks/djvu/djvu.py +++ b/src/calibre/ebooks/djvu/djvu.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 # coding: utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/djvu/djvubzzdec.py b/src/calibre/ebooks/djvu/djvubzzdec.py index e921b94e5d..c4f43a7564 100644 --- a/src/calibre/ebooks/djvu/djvubzzdec.py +++ b/src/calibre/ebooks/djvu/djvubzzdec.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 # coding: utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/docx/__init__.py b/src/calibre/ebooks/docx/__init__.py index f8bda2506d..a9db462305 100644 --- a/src/calibre/ebooks/docx/__init__.py +++ b/src/calibre/ebooks/docx/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/docx/block_styles.py b/src/calibre/ebooks/docx/block_styles.py index e1706b6126..09bdae2e22 100644 --- a/src/calibre/ebooks/docx/block_styles.py +++ b/src/calibre/ebooks/docx/block_styles.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/docx/char_styles.py b/src/calibre/ebooks/docx/char_styles.py index 679add87ff..0c781004d5 100644 --- a/src/calibre/ebooks/docx/char_styles.py +++ b/src/calibre/ebooks/docx/char_styles.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/docx/cleanup.py b/src/calibre/ebooks/docx/cleanup.py index 6aec7399ab..88c0076797 100644 --- a/src/calibre/ebooks/docx/cleanup.py +++ b/src/calibre/ebooks/docx/cleanup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/docx/container.py b/src/calibre/ebooks/docx/container.py index 1f61a02c1a..7a1b80a9a4 100644 --- a/src/calibre/ebooks/docx/container.py +++ b/src/calibre/ebooks/docx/container.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/docx/dump.py b/src/calibre/ebooks/docx/dump.py index be04f02ef3..d111bc5a83 100644 --- a/src/calibre/ebooks/docx/dump.py +++ b/src/calibre/ebooks/docx/dump.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/docx/fields.py b/src/calibre/ebooks/docx/fields.py index 6fee0bd67c..7e89247db3 100644 --- a/src/calibre/ebooks/docx/fields.py +++ b/src/calibre/ebooks/docx/fields.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/docx/fonts.py b/src/calibre/ebooks/docx/fonts.py index 4ed602c71d..db7bef583e 100644 --- a/src/calibre/ebooks/docx/fonts.py +++ b/src/calibre/ebooks/docx/fonts.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/docx/footnotes.py b/src/calibre/ebooks/docx/footnotes.py index 704edc88d7..023f56ece9 100644 --- a/src/calibre/ebooks/docx/footnotes.py +++ b/src/calibre/ebooks/docx/footnotes.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/docx/images.py b/src/calibre/ebooks/docx/images.py index 859669e9ac..264fa07972 100644 --- a/src/calibre/ebooks/docx/images.py +++ b/src/calibre/ebooks/docx/images.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/docx/index.py b/src/calibre/ebooks/docx/index.py index 685475ca42..605553c0a1 100644 --- a/src/calibre/ebooks/docx/index.py +++ b/src/calibre/ebooks/docx/index.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/docx/lcid.py b/src/calibre/ebooks/docx/lcid.py index 293212ab8b..d3a461b785 100644 --- a/src/calibre/ebooks/docx/lcid.py +++ b/src/calibre/ebooks/docx/lcid.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/docx/names.py b/src/calibre/ebooks/docx/names.py index 9e2275b422..33fc8f56af 100644 --- a/src/calibre/ebooks/docx/names.py +++ b/src/calibre/ebooks/docx/names.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/docx/numbering.py b/src/calibre/ebooks/docx/numbering.py index 405c19434f..25a3b4026c 100644 --- a/src/calibre/ebooks/docx/numbering.py +++ b/src/calibre/ebooks/docx/numbering.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/docx/settings.py b/src/calibre/ebooks/docx/settings.py index be85fb9f5e..b496dd0abe 100644 --- a/src/calibre/ebooks/docx/settings.py +++ b/src/calibre/ebooks/docx/settings.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/docx/styles.py b/src/calibre/ebooks/docx/styles.py index 80be3ceb0b..49922f4332 100644 --- a/src/calibre/ebooks/docx/styles.py +++ b/src/calibre/ebooks/docx/styles.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/docx/tables.py b/src/calibre/ebooks/docx/tables.py index 2e0296bfaa..b250bcf633 100644 --- a/src/calibre/ebooks/docx/tables.py +++ b/src/calibre/ebooks/docx/tables.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/docx/theme.py b/src/calibre/ebooks/docx/theme.py index e4a75f629c..708662168c 100644 --- a/src/calibre/ebooks/docx/theme.py +++ b/src/calibre/ebooks/docx/theme.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/docx/to_html.py b/src/calibre/ebooks/docx/to_html.py index eac3aae6ee..4681508380 100644 --- a/src/calibre/ebooks/docx/to_html.py +++ b/src/calibre/ebooks/docx/to_html.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/docx/toc.py b/src/calibre/ebooks/docx/toc.py index 314dc2479d..65c66ca6db 100644 --- a/src/calibre/ebooks/docx/toc.py +++ b/src/calibre/ebooks/docx/toc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/docx/writer/__init__.py b/src/calibre/ebooks/docx/writer/__init__.py index 2dfbaa2fb8..dec2b33a58 100644 --- a/src/calibre/ebooks/docx/writer/__init__.py +++ b/src/calibre/ebooks/docx/writer/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/docx/writer/container.py b/src/calibre/ebooks/docx/writer/container.py index 620935791e..913e88ca4d 100644 --- a/src/calibre/ebooks/docx/writer/container.py +++ b/src/calibre/ebooks/docx/writer/container.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/epub/cfi/parse.py b/src/calibre/ebooks/epub/cfi/parse.py index 569e4fe70c..71188e10de 100644 --- a/src/calibre/ebooks/epub/cfi/parse.py +++ b/src/calibre/ebooks/epub/cfi/parse.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/epub/cfi/tests.py b/src/calibre/ebooks/epub/cfi/tests.py index 1787ccb108..e077640021 100644 --- a/src/calibre/ebooks/epub/cfi/tests.py +++ b/src/calibre/ebooks/epub/cfi/tests.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/epub/periodical.py b/src/calibre/ebooks/epub/periodical.py index 96576ac380..b13d970d41 100644 --- a/src/calibre/ebooks/epub/periodical.py +++ b/src/calibre/ebooks/epub/periodical.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/ebooks/fb2/__init__.py b/src/calibre/ebooks/fb2/__init__.py index 944bfdd054..e1f3863f29 100644 --- a/src/calibre/ebooks/fb2/__init__.py +++ b/src/calibre/ebooks/fb2/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/html/__init__.py b/src/calibre/ebooks/html/__init__.py index 00afa6d6b6..ecd0329f82 100644 --- a/src/calibre/ebooks/html/__init__.py +++ b/src/calibre/ebooks/html/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/ebooks/html/input.py b/src/calibre/ebooks/html/input.py index ba943a2c3c..24efdfccf3 100644 --- a/src/calibre/ebooks/html/input.py +++ b/src/calibre/ebooks/html/input.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/ebooks/html/to_zip.py b/src/calibre/ebooks/html/to_zip.py index c89ec28526..450cc09747 100644 --- a/src/calibre/ebooks/html/to_zip.py +++ b/src/calibre/ebooks/html/to_zip.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/html_entities.py b/src/calibre/ebooks/html_entities.py index aba8ba80e1..27382f3b5b 100644 --- a/src/calibre/ebooks/html_entities.py +++ b/src/calibre/ebooks/html_entities.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/iterator/__init__.py b/src/calibre/ebooks/iterator/__init__.py index 0080175bfa..9a3d842248 100644 --- a/src/calibre/ebooks/iterator/__init__.py +++ b/src/calibre/ebooks/iterator/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/ebooks/lrf/html/table_as_image.py b/src/calibre/ebooks/lrf/html/table_as_image.py index 00e381bc6c..ade08b1088 100644 --- a/src/calibre/ebooks/lrf/html/table_as_image.py +++ b/src/calibre/ebooks/lrf/html/table_as_image.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/src/calibre/ebooks/lrf/input.py b/src/calibre/ebooks/lrf/input.py index e9bf42c6bd..6a2a61778d 100644 --- a/src/calibre/ebooks/lrf/input.py +++ b/src/calibre/ebooks/lrf/input.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/ebooks/lrf/pylrs/pylrf.py b/src/calibre/ebooks/lrf/pylrs/pylrf.py index 24b53359d5..c8543540d2 100644 --- a/src/calibre/ebooks/lrf/pylrs/pylrf.py +++ b/src/calibre/ebooks/lrf/pylrs/pylrf.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 """ pylrf.py -- very low level interface to create lrf files. See pylrs for higher level interface that can use this module to render books to lrf. diff --git a/src/calibre/ebooks/metadata/__init__.py b/src/calibre/ebooks/metadata/__init__.py index 427bb042e5..1ad151d9fc 100644 --- a/src/calibre/ebooks/metadata/__init__.py +++ b/src/calibre/ebooks/metadata/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/src/calibre/ebooks/metadata/archive.py b/src/calibre/ebooks/metadata/archive.py index 7b8ecd2ca9..adbea86521 100644 --- a/src/calibre/ebooks/metadata/archive.py +++ b/src/calibre/ebooks/metadata/archive.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/ebooks/metadata/book/__init__.py b/src/calibre/ebooks/metadata/book/__init__.py index 28c69df2c5..1625a95f5a 100644 --- a/src/calibre/ebooks/metadata/book/__init__.py +++ b/src/calibre/ebooks/metadata/book/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/ebooks/metadata/book/base.py b/src/calibre/ebooks/metadata/book/base.py index 41ff2d3243..0b9317a190 100644 --- a/src/calibre/ebooks/metadata/book/base.py +++ b/src/calibre/ebooks/metadata/book/base.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/ebooks/metadata/book/formatter.py b/src/calibre/ebooks/metadata/book/formatter.py index 5d9e2ebe6c..c60bc95053 100644 --- a/src/calibre/ebooks/metadata/book/formatter.py +++ b/src/calibre/ebooks/metadata/book/formatter.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/metadata/book/render.py b/src/calibre/ebooks/metadata/book/render.py index 44ac70bc05..fd6e832393 100644 --- a/src/calibre/ebooks/metadata/book/render.py +++ b/src/calibre/ebooks/metadata/book/render.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/metadata/docx.py b/src/calibre/ebooks/metadata/docx.py index 2c8b91bc70..5d84471e08 100644 --- a/src/calibre/ebooks/metadata/docx.py +++ b/src/calibre/ebooks/metadata/docx.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/metadata/epub.py b/src/calibre/ebooks/metadata/epub.py index 1ad12a915a..6b459734a3 100644 --- a/src/calibre/ebooks/metadata/epub.py +++ b/src/calibre/ebooks/metadata/epub.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 from __future__ import with_statement __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' diff --git a/src/calibre/ebooks/metadata/fb2.py b/src/calibre/ebooks/metadata/fb2.py index 829eb7e852..786659d7b0 100644 --- a/src/calibre/ebooks/metadata/fb2.py +++ b/src/calibre/ebooks/metadata/fb2.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 __license__ = 'GPL v3' __copyright__ = '2011, Roman Mukhin , '\ diff --git a/src/calibre/ebooks/metadata/html.py b/src/calibre/ebooks/metadata/html.py index 28f5ad3a0f..13100db191 100644 --- a/src/calibre/ebooks/metadata/html.py +++ b/src/calibre/ebooks/metadata/html.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/metadata/kdl.py b/src/calibre/ebooks/metadata/kdl.py index aa2f0d7246..13d86ebb14 100644 --- a/src/calibre/ebooks/metadata/kdl.py +++ b/src/calibre/ebooks/metadata/kdl.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/ebooks/metadata/lrx.py b/src/calibre/ebooks/metadata/lrx.py index 82473e81d1..ad358ae295 100644 --- a/src/calibre/ebooks/metadata/lrx.py +++ b/src/calibre/ebooks/metadata/lrx.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/src/calibre/ebooks/metadata/odt.py b/src/calibre/ebooks/metadata/odt.py index 0c8c1105a7..8a7ae21d0e 100644 --- a/src/calibre/ebooks/metadata/odt.py +++ b/src/calibre/ebooks/metadata/odt.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # -*- coding: utf-8 -*- # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai # diff --git a/src/calibre/ebooks/metadata/opf2.py b/src/calibre/ebooks/metadata/opf2.py index 431b64d549..e2bf8c8f56 100644 --- a/src/calibre/ebooks/metadata/opf2.py +++ b/src/calibre/ebooks/metadata/opf2.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/src/calibre/ebooks/metadata/rar.py b/src/calibre/ebooks/metadata/rar.py index 39f43ca2bd..a6f968b2d9 100644 --- a/src/calibre/ebooks/metadata/rar.py +++ b/src/calibre/ebooks/metadata/rar.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/src/calibre/ebooks/metadata/sources/__init__.py b/src/calibre/ebooks/metadata/sources/__init__.py index 68dfb8d2b5..31be9f7fc6 100644 --- a/src/calibre/ebooks/metadata/sources/__init__.py +++ b/src/calibre/ebooks/metadata/sources/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/ebooks/metadata/sources/amazon.py b/src/calibre/ebooks/metadata/sources/amazon.py index 5f82c26db5..6646d8c59c 100644 --- a/src/calibre/ebooks/metadata/sources/amazon.py +++ b/src/calibre/ebooks/metadata/sources/amazon.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/metadata/sources/base.py b/src/calibre/ebooks/metadata/sources/base.py index f47adefeff..5ce8e7d6f2 100644 --- a/src/calibre/ebooks/metadata/sources/base.py +++ b/src/calibre/ebooks/metadata/sources/base.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/metadata/sources/big_book_search.py b/src/calibre/ebooks/metadata/sources/big_book_search.py index 789ef1c1aa..036afa520b 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/metadata/sources/cli.py b/src/calibre/ebooks/metadata/sources/cli.py index 59ac35d94e..aa47508890 100644 --- a/src/calibre/ebooks/metadata/sources/cli.py +++ b/src/calibre/ebooks/metadata/sources/cli.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/metadata/sources/covers.py b/src/calibre/ebooks/metadata/sources/covers.py index 33bbfba142..89326a2d11 100644 --- a/src/calibre/ebooks/metadata/sources/covers.py +++ b/src/calibre/ebooks/metadata/sources/covers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/metadata/sources/douban.py b/src/calibre/ebooks/metadata/sources/douban.py index f94e9a956d..c19676a2b5 100644 --- a/src/calibre/ebooks/metadata/sources/douban.py +++ b/src/calibre/ebooks/metadata/sources/douban.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/metadata/sources/edelweiss.py b/src/calibre/ebooks/metadata/sources/edelweiss.py index d7964339bb..f4d5d36fbe 100644 --- a/src/calibre/ebooks/metadata/sources/edelweiss.py +++ b/src/calibre/ebooks/metadata/sources/edelweiss.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/metadata/sources/google.py b/src/calibre/ebooks/metadata/sources/google.py index 07e8074760..0f9838cc5a 100644 --- a/src/calibre/ebooks/metadata/sources/google.py +++ b/src/calibre/ebooks/metadata/sources/google.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/metadata/sources/google_images.py b/src/calibre/ebooks/metadata/sources/google_images.py index 93b1e1418c..5bb9506dd6 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/metadata/sources/identify.py b/src/calibre/ebooks/metadata/sources/identify.py index 7f2fe59e54..44451bbba4 100644 --- a/src/calibre/ebooks/metadata/sources/identify.py +++ b/src/calibre/ebooks/metadata/sources/identify.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/metadata/sources/isbndb.py b/src/calibre/ebooks/metadata/sources/isbndb.py index 3004c91a37..6b9ea6c6cc 100644 --- a/src/calibre/ebooks/metadata/sources/isbndb.py +++ b/src/calibre/ebooks/metadata/sources/isbndb.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/metadata/sources/openlibrary.py b/src/calibre/ebooks/metadata/sources/openlibrary.py index b0eeb940a5..fccdff1233 100644 --- a/src/calibre/ebooks/metadata/sources/openlibrary.py +++ b/src/calibre/ebooks/metadata/sources/openlibrary.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/metadata/sources/overdrive.py b/src/calibre/ebooks/metadata/sources/overdrive.py index b232c7c9a4..0d696d11a1 100755 --- a/src/calibre/ebooks/metadata/sources/overdrive.py +++ b/src/calibre/ebooks/metadata/sources/overdrive.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/metadata/sources/prefs.py b/src/calibre/ebooks/metadata/sources/prefs.py index 0b353f4f81..543f42c2ab 100644 --- a/src/calibre/ebooks/metadata/sources/prefs.py +++ b/src/calibre/ebooks/metadata/sources/prefs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/metadata/sources/test.py b/src/calibre/ebooks/metadata/sources/test.py index ae54b07238..7861dd4985 100644 --- a/src/calibre/ebooks/metadata/sources/test.py +++ b/src/calibre/ebooks/metadata/sources/test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/metadata/sources/worker.py b/src/calibre/ebooks/metadata/sources/worker.py index ebe764c68f..8a54476875 100644 --- a/src/calibre/ebooks/metadata/sources/worker.py +++ b/src/calibre/ebooks/metadata/sources/worker.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/metadata/toc.py b/src/calibre/ebooks/metadata/toc.py index 9c19f6b59e..41ffaa25f8 100644 --- a/src/calibre/ebooks/metadata/toc.py +++ b/src/calibre/ebooks/metadata/toc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal ' diff --git a/src/calibre/ebooks/metadata/worker.py b/src/calibre/ebooks/metadata/worker.py index b8954a2023..cb9c1de179 100644 --- a/src/calibre/ebooks/metadata/worker.py +++ b/src/calibre/ebooks/metadata/worker.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/metadata/xisbn.py b/src/calibre/ebooks/metadata/xisbn.py index ff21dfd89d..ef84a49ff0 100644 --- a/src/calibre/ebooks/metadata/xisbn.py +++ b/src/calibre/ebooks/metadata/xisbn.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/ebooks/metadata/xmp.py b/src/calibre/ebooks/metadata/xmp.py index 34207de2b2..2c86dd0209 100644 --- a/src/calibre/ebooks/metadata/xmp.py +++ b/src/calibre/ebooks/metadata/xmp.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/__init__.py b/src/calibre/ebooks/mobi/__init__.py index 595e4d50a0..2f213670d8 100644 --- a/src/calibre/ebooks/mobi/__init__.py +++ b/src/calibre/ebooks/mobi/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/ebooks/mobi/debug/__init__.py b/src/calibre/ebooks/mobi/debug/__init__.py index b472bf3148..45afd69aed 100644 --- a/src/calibre/ebooks/mobi/debug/__init__.py +++ b/src/calibre/ebooks/mobi/debug/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/debug/containers.py b/src/calibre/ebooks/mobi/debug/containers.py index 37c9914f37..2d8f04d2fa 100644 --- a/src/calibre/ebooks/mobi/debug/containers.py +++ b/src/calibre/ebooks/mobi/debug/containers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/debug/headers.py b/src/calibre/ebooks/mobi/debug/headers.py index c941c42024..f66ac2a432 100644 --- a/src/calibre/ebooks/mobi/debug/headers.py +++ b/src/calibre/ebooks/mobi/debug/headers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/debug/index.py b/src/calibre/ebooks/mobi/debug/index.py index 3b03431628..11b265cdf6 100644 --- a/src/calibre/ebooks/mobi/debug/index.py +++ b/src/calibre/ebooks/mobi/debug/index.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/debug/main.py b/src/calibre/ebooks/mobi/debug/main.py index 624da65846..7860b223b0 100644 --- a/src/calibre/ebooks/mobi/debug/main.py +++ b/src/calibre/ebooks/mobi/debug/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/debug/mobi6.py b/src/calibre/ebooks/mobi/debug/mobi6.py index 99729b2ef5..2528fb4316 100644 --- a/src/calibre/ebooks/mobi/debug/mobi6.py +++ b/src/calibre/ebooks/mobi/debug/mobi6.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/debug/mobi8.py b/src/calibre/ebooks/mobi/debug/mobi8.py index 1786f9bfb6..9098ed81d3 100644 --- a/src/calibre/ebooks/mobi/debug/mobi8.py +++ b/src/calibre/ebooks/mobi/debug/mobi8.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/huffcdic.py b/src/calibre/ebooks/mobi/huffcdic.py index a8dc82cc27..2a10f9d27b 100644 --- a/src/calibre/ebooks/mobi/huffcdic.py +++ b/src/calibre/ebooks/mobi/huffcdic.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/langcodes.py b/src/calibre/ebooks/mobi/langcodes.py index 1b839dc54d..dfff5559a4 100644 --- a/src/calibre/ebooks/mobi/langcodes.py +++ b/src/calibre/ebooks/mobi/langcodes.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/src/calibre/ebooks/mobi/reader/__init__.py b/src/calibre/ebooks/mobi/reader/__init__.py index dd9615356c..dd6cfb5909 100644 --- a/src/calibre/ebooks/mobi/reader/__init__.py +++ b/src/calibre/ebooks/mobi/reader/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/reader/containers.py b/src/calibre/ebooks/mobi/reader/containers.py index 6850cb375e..93d3b893fc 100644 --- a/src/calibre/ebooks/mobi/reader/containers.py +++ b/src/calibre/ebooks/mobi/reader/containers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/reader/headers.py b/src/calibre/ebooks/mobi/reader/headers.py index 1674d7566c..f9d0332424 100644 --- a/src/calibre/ebooks/mobi/reader/headers.py +++ b/src/calibre/ebooks/mobi/reader/headers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/reader/index.py b/src/calibre/ebooks/mobi/reader/index.py index 533f395138..d0394c958e 100644 --- a/src/calibre/ebooks/mobi/reader/index.py +++ b/src/calibre/ebooks/mobi/reader/index.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/reader/markup.py b/src/calibre/ebooks/mobi/reader/markup.py index e19b481b3e..98455e960c 100644 --- a/src/calibre/ebooks/mobi/reader/markup.py +++ b/src/calibre/ebooks/mobi/reader/markup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/reader/mobi6.py b/src/calibre/ebooks/mobi/reader/mobi6.py index 384552d2c1..27f2cdaf8b 100644 --- a/src/calibre/ebooks/mobi/reader/mobi6.py +++ b/src/calibre/ebooks/mobi/reader/mobi6.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/reader/mobi8.py b/src/calibre/ebooks/mobi/reader/mobi8.py index 08c2b1e842..b3696a0abd 100644 --- a/src/calibre/ebooks/mobi/reader/mobi8.py +++ b/src/calibre/ebooks/mobi/reader/mobi8.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/reader/ncx.py b/src/calibre/ebooks/mobi/reader/ncx.py index d3747f6a8a..f16aed7765 100644 --- a/src/calibre/ebooks/mobi/reader/ncx.py +++ b/src/calibre/ebooks/mobi/reader/ncx.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/tweak.py b/src/calibre/ebooks/mobi/tweak.py index 91b31dc4c1..a85340ef2f 100644 --- a/src/calibre/ebooks/mobi/tweak.py +++ b/src/calibre/ebooks/mobi/tweak.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/utils.py b/src/calibre/ebooks/mobi/utils.py index b01e057dbb..40f039a4be 100644 --- a/src/calibre/ebooks/mobi/utils.py +++ b/src/calibre/ebooks/mobi/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/writer2/__init__.py b/src/calibre/ebooks/mobi/writer2/__init__.py index df3dcefb94..a0da8d259a 100644 --- a/src/calibre/ebooks/mobi/writer2/__init__.py +++ b/src/calibre/ebooks/mobi/writer2/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/writer2/indexer.py b/src/calibre/ebooks/mobi/writer2/indexer.py index f916ca7c7d..dad229a618 100644 --- a/src/calibre/ebooks/mobi/writer2/indexer.py +++ b/src/calibre/ebooks/mobi/writer2/indexer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/writer2/main.py b/src/calibre/ebooks/mobi/writer2/main.py index b0146daebc..f1ee31ed21 100644 --- a/src/calibre/ebooks/mobi/writer2/main.py +++ b/src/calibre/ebooks/mobi/writer2/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/writer2/resources.py b/src/calibre/ebooks/mobi/writer2/resources.py index fa5b88e7ca..1c32058ba0 100644 --- a/src/calibre/ebooks/mobi/writer2/resources.py +++ b/src/calibre/ebooks/mobi/writer2/resources.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/writer2/serializer.py b/src/calibre/ebooks/mobi/writer2/serializer.py index d3269b2d5e..e5472e9232 100644 --- a/src/calibre/ebooks/mobi/writer2/serializer.py +++ b/src/calibre/ebooks/mobi/writer2/serializer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/writer8/__init__.py b/src/calibre/ebooks/mobi/writer8/__init__.py index dd9615356c..dd6cfb5909 100644 --- a/src/calibre/ebooks/mobi/writer8/__init__.py +++ b/src/calibre/ebooks/mobi/writer8/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/writer8/cleanup.py b/src/calibre/ebooks/mobi/writer8/cleanup.py index b233ea04ba..56792be187 100644 --- a/src/calibre/ebooks/mobi/writer8/cleanup.py +++ b/src/calibre/ebooks/mobi/writer8/cleanup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/writer8/exth.py b/src/calibre/ebooks/mobi/writer8/exth.py index 31bc6edfe3..93776682cd 100644 --- a/src/calibre/ebooks/mobi/writer8/exth.py +++ b/src/calibre/ebooks/mobi/writer8/exth.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/writer8/header.py b/src/calibre/ebooks/mobi/writer8/header.py index 19e64ecc09..f09babc7e6 100644 --- a/src/calibre/ebooks/mobi/writer8/header.py +++ b/src/calibre/ebooks/mobi/writer8/header.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/writer8/index.py b/src/calibre/ebooks/mobi/writer8/index.py index 69b1d60855..e554afed1f 100644 --- a/src/calibre/ebooks/mobi/writer8/index.py +++ b/src/calibre/ebooks/mobi/writer8/index.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/writer8/main.py b/src/calibre/ebooks/mobi/writer8/main.py index 723010f784..94377b9b40 100644 --- a/src/calibre/ebooks/mobi/writer8/main.py +++ b/src/calibre/ebooks/mobi/writer8/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/writer8/mobi.py b/src/calibre/ebooks/mobi/writer8/mobi.py index f12f1d682e..639376fee2 100644 --- a/src/calibre/ebooks/mobi/writer8/mobi.py +++ b/src/calibre/ebooks/mobi/writer8/mobi.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/writer8/skeleton.py b/src/calibre/ebooks/mobi/writer8/skeleton.py index 94f7bfc673..a34ed36270 100644 --- a/src/calibre/ebooks/mobi/writer8/skeleton.py +++ b/src/calibre/ebooks/mobi/writer8/skeleton.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/writer8/tbs.py b/src/calibre/ebooks/mobi/writer8/tbs.py index b338f4be2c..21f78b29f0 100644 --- a/src/calibre/ebooks/mobi/writer8/tbs.py +++ b/src/calibre/ebooks/mobi/writer8/tbs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/mobi/writer8/toc.py b/src/calibre/ebooks/mobi/writer8/toc.py index 640e8bec5f..1d064b2068 100644 --- a/src/calibre/ebooks/mobi/writer8/toc.py +++ b/src/calibre/ebooks/mobi/writer8/toc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/odt/__init__.py b/src/calibre/ebooks/odt/__init__.py index d5fc74348c..da901ade3e 100644 --- a/src/calibre/ebooks/odt/__init__.py +++ b/src/calibre/ebooks/odt/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/src/calibre/ebooks/oeb/display/__init__.py b/src/calibre/ebooks/oeb/display/__init__.py index dd9615356c..dd6cfb5909 100644 --- a/src/calibre/ebooks/oeb/display/__init__.py +++ b/src/calibre/ebooks/oeb/display/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/display/test-cfi/run.py b/src/calibre/ebooks/oeb/display/test-cfi/run.py index 17af70bf22..86f4c26aee 100644 --- a/src/calibre/ebooks/oeb/display/test-cfi/run.py +++ b/src/calibre/ebooks/oeb/display/test-cfi/run.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/display/webview.py b/src/calibre/ebooks/oeb/display/webview.py index c6ac427037..116b1c906b 100644 --- a/src/calibre/ebooks/oeb/display/webview.py +++ b/src/calibre/ebooks/oeb/display/webview.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/iterator/__init__.py b/src/calibre/ebooks/oeb/iterator/__init__.py index 391c314cdf..7045364e82 100644 --- a/src/calibre/ebooks/oeb/iterator/__init__.py +++ b/src/calibre/ebooks/oeb/iterator/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/iterator/book.py b/src/calibre/ebooks/oeb/iterator/book.py index c290fc4861..11cf19d7f9 100644 --- a/src/calibre/ebooks/oeb/iterator/book.py +++ b/src/calibre/ebooks/oeb/iterator/book.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/iterator/bookmarks.py b/src/calibre/ebooks/oeb/iterator/bookmarks.py index 3ef110caaa..0e2d97da55 100644 --- a/src/calibre/ebooks/oeb/iterator/bookmarks.py +++ b/src/calibre/ebooks/oeb/iterator/bookmarks.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/iterator/spine.py b/src/calibre/ebooks/oeb/iterator/spine.py index 1d436aa820..31b076f1d0 100644 --- a/src/calibre/ebooks/oeb/iterator/spine.py +++ b/src/calibre/ebooks/oeb/iterator/spine.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/normalize_css.py b/src/calibre/ebooks/oeb/normalize_css.py index 944f63cf7d..3db3cadf53 100644 --- a/src/calibre/ebooks/oeb/normalize_css.py +++ b/src/calibre/ebooks/oeb/normalize_css.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/parse_utils.py b/src/calibre/ebooks/oeb/parse_utils.py index 1f87bf5672..a095018c1a 100644 --- a/src/calibre/ebooks/oeb/parse_utils.py +++ b/src/calibre/ebooks/oeb/parse_utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/polish/__init__.py b/src/calibre/ebooks/oeb/polish/__init__.py index 07138c49b8..fa7b4ccc1c 100644 --- a/src/calibre/ebooks/oeb/polish/__init__.py +++ b/src/calibre/ebooks/oeb/polish/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/oeb/polish/check/__init__.py b/src/calibre/ebooks/oeb/polish/check/__init__.py index 2dfbaa2fb8..dec2b33a58 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/polish/check/base.py b/src/calibre/ebooks/oeb/polish/check/base.py index 84594c97cc..3046a33c23 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/polish/check/fonts.py b/src/calibre/ebooks/oeb/polish/check/fonts.py index b7afc6a352..e6293ad4fc 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/polish/check/images.py b/src/calibre/ebooks/oeb/polish/check/images.py index 2f6f0fff2d..e27f3cbfc0 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/polish/check/links.py b/src/calibre/ebooks/oeb/polish/check/links.py index 4c649b2341..997be4bb8f 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/polish/check/main.py b/src/calibre/ebooks/oeb/polish/check/main.py index 51e2e222cf..bc135621e2 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/polish/check/opf.py b/src/calibre/ebooks/oeb/polish/check/opf.py index ea7ff1960a..a76ade90b3 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/polish/check/parsing.py b/src/calibre/ebooks/oeb/polish/check/parsing.py index 80fbd62d94..9d4d61b630 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/polish/container.py b/src/calibre/ebooks/oeb/polish/container.py index 7899e79bdd..eea5ade353 100644 --- a/src/calibre/ebooks/oeb/polish/container.py +++ b/src/calibre/ebooks/oeb/polish/container.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/oeb/polish/cover.py b/src/calibre/ebooks/oeb/polish/cover.py index 9c35591f88..c1f290ef49 100644 --- a/src/calibre/ebooks/oeb/polish/cover.py +++ b/src/calibre/ebooks/oeb/polish/cover.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/oeb/polish/create.py b/src/calibre/ebooks/oeb/polish/create.py index f6b01edd40..52e4372745 100644 --- a/src/calibre/ebooks/oeb/polish/create.py +++ b/src/calibre/ebooks/oeb/polish/create.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/polish/css.py b/src/calibre/ebooks/oeb/polish/css.py index 439e4f2adb..f8a7385f2f 100644 --- a/src/calibre/ebooks/oeb/polish/css.py +++ b/src/calibre/ebooks/oeb/polish/css.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/polish/embed.py b/src/calibre/ebooks/oeb/polish/embed.py index 3276c3242c..ccdc434983 100644 --- a/src/calibre/ebooks/oeb/polish/embed.py +++ b/src/calibre/ebooks/oeb/polish/embed.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/oeb/polish/errors.py b/src/calibre/ebooks/oeb/polish/errors.py index 6165524075..e59bd28ba3 100644 --- a/src/calibre/ebooks/oeb/polish/errors.py +++ b/src/calibre/ebooks/oeb/polish/errors.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/oeb/polish/fonts.py b/src/calibre/ebooks/oeb/polish/fonts.py index 9b385445a6..c63abfcc34 100644 --- a/src/calibre/ebooks/oeb/polish/fonts.py +++ b/src/calibre/ebooks/oeb/polish/fonts.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/polish/import_book.py b/src/calibre/ebooks/oeb/polish/import_book.py index 9ecf1d7e9d..9ea49a6f23 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/polish/jacket.py b/src/calibre/ebooks/oeb/polish/jacket.py index 0787857c36..6eeee295c1 100644 --- a/src/calibre/ebooks/oeb/polish/jacket.py +++ b/src/calibre/ebooks/oeb/polish/jacket.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/oeb/polish/main.py b/src/calibre/ebooks/oeb/polish/main.py index 662432409b..40c0824eda 100644 --- a/src/calibre/ebooks/oeb/polish/main.py +++ b/src/calibre/ebooks/oeb/polish/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/oeb/polish/opf.py b/src/calibre/ebooks/oeb/polish/opf.py index 45af043cf0..cb796f675a 100644 --- a/src/calibre/ebooks/oeb/polish/opf.py +++ b/src/calibre/ebooks/oeb/polish/opf.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/polish/parsing.py b/src/calibre/ebooks/oeb/polish/parsing.py index a216eb2d29..eb54259a6b 100644 --- a/src/calibre/ebooks/oeb/polish/parsing.py +++ b/src/calibre/ebooks/oeb/polish/parsing.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/polish/pretty.py b/src/calibre/ebooks/oeb/polish/pretty.py index 59bbe7668f..f8a0b4fc8b 100644 --- a/src/calibre/ebooks/oeb/polish/pretty.py +++ b/src/calibre/ebooks/oeb/polish/pretty.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/polish/replace.py b/src/calibre/ebooks/oeb/polish/replace.py index 79e12f8acf..4248ecef05 100644 --- a/src/calibre/ebooks/oeb/polish/replace.py +++ b/src/calibre/ebooks/oeb/polish/replace.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/oeb/polish/report.py b/src/calibre/ebooks/oeb/polish/report.py index 36f9f49ba8..01a9ea1811 100644 --- a/src/calibre/ebooks/oeb/polish/report.py +++ b/src/calibre/ebooks/oeb/polish/report.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/polish/spell.py b/src/calibre/ebooks/oeb/polish/spell.py index 08f3a40fe7..3571555d33 100644 --- a/src/calibre/ebooks/oeb/polish/spell.py +++ b/src/calibre/ebooks/oeb/polish/spell.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/polish/split.py b/src/calibre/ebooks/oeb/polish/split.py index f8eec193bf..3cedea644f 100644 --- a/src/calibre/ebooks/oeb/polish/split.py +++ b/src/calibre/ebooks/oeb/polish/split.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/polish/stats.py b/src/calibre/ebooks/oeb/polish/stats.py index 4de3f6a4f3..4f9db22e83 100644 --- a/src/calibre/ebooks/oeb/polish/stats.py +++ b/src/calibre/ebooks/oeb/polish/stats.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/oeb/polish/subset.py b/src/calibre/ebooks/oeb/polish/subset.py index 6eccf6eb2c..a0b144edd8 100644 --- a/src/calibre/ebooks/oeb/polish/subset.py +++ b/src/calibre/ebooks/oeb/polish/subset.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/oeb/polish/tests/__init__.py b/src/calibre/ebooks/oeb/polish/tests/__init__.py index 2dfbaa2fb8..dec2b33a58 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/polish/tests/base.py b/src/calibre/ebooks/oeb/polish/tests/base.py index e6646d1607..111a4c82b0 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/polish/tests/container.py b/src/calibre/ebooks/oeb/polish/tests/container.py index c612e37090..0548e8c07b 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/polish/tests/main.py b/src/calibre/ebooks/oeb/polish/tests/main.py index 6c347b2419..8243474f36 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/polish/tests/parsing.py b/src/calibre/ebooks/oeb/polish/tests/parsing.py index ce4b431201..b6f09853f2 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/polish/toc.py b/src/calibre/ebooks/oeb/polish/toc.py index 0ff396fc43..6e56c39550 100644 --- a/src/calibre/ebooks/oeb/polish/toc.py +++ b/src/calibre/ebooks/oeb/polish/toc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/oeb/polish/utils.py b/src/calibre/ebooks/oeb/polish/utils.py index a43ecf5e54..12671dbd2f 100644 --- a/src/calibre/ebooks/oeb/polish/utils.py +++ b/src/calibre/ebooks/oeb/polish/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/transforms/__init__.py b/src/calibre/ebooks/oeb/transforms/__init__.py index 3d1a86922e..4a7a9ab6f5 100644 --- a/src/calibre/ebooks/oeb/transforms/__init__.py +++ b/src/calibre/ebooks/oeb/transforms/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/ebooks/oeb/transforms/cover.py b/src/calibre/ebooks/oeb/transforms/cover.py index 30bbec79a0..964b9b40a9 100644 --- a/src/calibre/ebooks/oeb/transforms/cover.py +++ b/src/calibre/ebooks/oeb/transforms/cover.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/ebooks/oeb/transforms/data_url.py b/src/calibre/ebooks/oeb/transforms/data_url.py index 2ee62455c0..c560d5adc5 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/transforms/embed_fonts.py b/src/calibre/ebooks/oeb/transforms/embed_fonts.py index 879e05da8f..66a8e39d01 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/transforms/filenames.py b/src/calibre/ebooks/oeb/transforms/filenames.py index ddf4def30c..088a95450e 100644 --- a/src/calibre/ebooks/oeb/transforms/filenames.py +++ b/src/calibre/ebooks/oeb/transforms/filenames.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/ebooks/oeb/transforms/guide.py b/src/calibre/ebooks/oeb/transforms/guide.py index 20269531f8..29c5f2a93a 100644 --- a/src/calibre/ebooks/oeb/transforms/guide.py +++ b/src/calibre/ebooks/oeb/transforms/guide.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/ebooks/oeb/transforms/jacket.py b/src/calibre/ebooks/oeb/transforms/jacket.py index cf138e84f3..e273580875 100644 --- a/src/calibre/ebooks/oeb/transforms/jacket.py +++ b/src/calibre/ebooks/oeb/transforms/jacket.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/ebooks/oeb/transforms/linearize_tables.py b/src/calibre/ebooks/oeb/transforms/linearize_tables.py index 351db70704..e724d0ec14 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/ebooks/oeb/transforms/metadata.py b/src/calibre/ebooks/oeb/transforms/metadata.py index b7eca72c2f..a9e416707d 100644 --- a/src/calibre/ebooks/oeb/transforms/metadata.py +++ b/src/calibre/ebooks/oeb/transforms/metadata.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/ebooks/oeb/transforms/page_margin.py b/src/calibre/ebooks/oeb/transforms/page_margin.py index 382f0c8f53..2ebff552c7 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/oeb/transforms/rescale.py b/src/calibre/ebooks/oeb/transforms/rescale.py index 1cf3289974..4820364bdb 100644 --- a/src/calibre/ebooks/oeb/transforms/rescale.py +++ b/src/calibre/ebooks/oeb/transforms/rescale.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/ebooks/oeb/transforms/structure.py b/src/calibre/ebooks/oeb/transforms/structure.py index 3c8f0e5efd..ce939a4fc3 100644 --- a/src/calibre/ebooks/oeb/transforms/structure.py +++ b/src/calibre/ebooks/oeb/transforms/structure.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/ebooks/oeb/transforms/subset.py b/src/calibre/ebooks/oeb/transforms/subset.py index a079f1d4fc..fb3b92488e 100644 --- a/src/calibre/ebooks/oeb/transforms/subset.py +++ b/src/calibre/ebooks/oeb/transforms/subset.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/pdb/haodoo/__init__.py b/src/calibre/ebooks/pdb/haodoo/__init__.py index dd9615356c..dd6cfb5909 100644 --- a/src/calibre/ebooks/pdb/haodoo/__init__.py +++ b/src/calibre/ebooks/pdb/haodoo/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/pdf/__init__.py b/src/calibre/ebooks/pdf/__init__.py index 3b55c26564..26990d63bc 100644 --- a/src/calibre/ebooks/pdf/__init__.py +++ b/src/calibre/ebooks/pdf/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/src/calibre/ebooks/pdf/outline_writer.py b/src/calibre/ebooks/pdf/outline_writer.py index 64d11f0208..9eacbdc25c 100644 --- a/src/calibre/ebooks/pdf/outline_writer.py +++ b/src/calibre/ebooks/pdf/outline_writer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/pdf/reflow.py b/src/calibre/ebooks/pdf/reflow.py index 584d631d0b..f50c396eba 100644 --- a/src/calibre/ebooks/pdf/reflow.py +++ b/src/calibre/ebooks/pdf/reflow.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/ebooks/pdf/render/__init__.py b/src/calibre/ebooks/pdf/render/__init__.py index 743a9d0561..ae9ced197b 100644 --- a/src/calibre/ebooks/pdf/render/__init__.py +++ b/src/calibre/ebooks/pdf/render/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/pdf/render/common.py b/src/calibre/ebooks/pdf/render/common.py index a887e045d7..f00e13639f 100644 --- a/src/calibre/ebooks/pdf/render/common.py +++ b/src/calibre/ebooks/pdf/render/common.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/pdf/render/engine.py b/src/calibre/ebooks/pdf/render/engine.py index ab817ea7a9..15f4316d0f 100644 --- a/src/calibre/ebooks/pdf/render/engine.py +++ b/src/calibre/ebooks/pdf/render/engine.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/pdf/render/fonts.py b/src/calibre/ebooks/pdf/render/fonts.py index ea8fd03c10..750b3c3851 100644 --- a/src/calibre/ebooks/pdf/render/fonts.py +++ b/src/calibre/ebooks/pdf/render/fonts.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/pdf/render/from_html.py b/src/calibre/ebooks/pdf/render/from_html.py index 60183e3718..a4cbe71c00 100644 --- a/src/calibre/ebooks/pdf/render/from_html.py +++ b/src/calibre/ebooks/pdf/render/from_html.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/pdf/render/gradients.py b/src/calibre/ebooks/pdf/render/gradients.py index 6f3f9300a1..10c2817d99 100644 --- a/src/calibre/ebooks/pdf/render/gradients.py +++ b/src/calibre/ebooks/pdf/render/gradients.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/pdf/render/graphics.py b/src/calibre/ebooks/pdf/render/graphics.py index d533d67986..996ed5d376 100644 --- a/src/calibre/ebooks/pdf/render/graphics.py +++ b/src/calibre/ebooks/pdf/render/graphics.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/pdf/render/links.py b/src/calibre/ebooks/pdf/render/links.py index 2f2b179ff4..42eec636a0 100644 --- a/src/calibre/ebooks/pdf/render/links.py +++ b/src/calibre/ebooks/pdf/render/links.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/pdf/render/serialize.py b/src/calibre/ebooks/pdf/render/serialize.py index 773689c78e..959b62fd4b 100644 --- a/src/calibre/ebooks/pdf/render/serialize.py +++ b/src/calibre/ebooks/pdf/render/serialize.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/pdf/render/test.py b/src/calibre/ebooks/pdf/render/test.py index 555069c94e..211c453dfd 100644 --- a/src/calibre/ebooks/pdf/render/test.py +++ b/src/calibre/ebooks/pdf/render/test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/ebooks/pdf/render/toc.py b/src/calibre/ebooks/pdf/render/toc.py index f1a812ce6f..8da02edf33 100644 --- a/src/calibre/ebooks/pdf/render/toc.py +++ b/src/calibre/ebooks/pdf/render/toc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/readability/readability.py b/src/calibre/ebooks/readability/readability.py index 028a4d6ede..26368248ab 100644 --- a/src/calibre/ebooks/readability/readability.py +++ b/src/calibre/ebooks/readability/readability.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/rtf/preprocess.py b/src/calibre/ebooks/rtf/preprocess.py index a3076651fd..a61497cac6 100644 --- a/src/calibre/ebooks/rtf/preprocess.py +++ b/src/calibre/ebooks/rtf/preprocess.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/ebooks/rtf2xml/ParseRtf.py b/src/calibre/ebooks/rtf2xml/ParseRtf.py index 9c1ae0d00e..b3ba8d75ca 100755 --- a/src/calibre/ebooks/rtf2xml/ParseRtf.py +++ b/src/calibre/ebooks/rtf2xml/ParseRtf.py @@ -28,7 +28,7 @@ from calibre.ebooks.rtf2xml.old_rtf import OldRtf """ Here is an example script using the ParseRTF module directly -#!/usr/bin/env python +#!/usr/bin/env python2 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 f424e9ff12..19ee724106 100755 --- a/src/calibre/ebooks/rtf2xml/check_encoding.py +++ b/src/calibre/ebooks/rtf2xml/check_encoding.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 import sys class CheckEncoding: diff --git a/src/calibre/ebooks/snb/__init__.py b/src/calibre/ebooks/snb/__init__.py index d83022b362..3d97812b9b 100644 --- a/src/calibre/ebooks/snb/__init__.py +++ b/src/calibre/ebooks/snb/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2010, Li Fanxi ' __docformat__ = 'restructuredtext en' diff --git a/src/calibre/ebooks/textile/functions.py b/src/calibre/ebooks/textile/functions.py index 7380b10d1f..c29ef4494b 100755 --- a/src/calibre/ebooks/textile/functions.py +++ b/src/calibre/ebooks/textile/functions.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ diff --git a/src/calibre/ebooks/tweak.py b/src/calibre/ebooks/tweak.py index 2cb85cca65..58653c012c 100644 --- a/src/calibre/ebooks/tweak.py +++ b/src/calibre/ebooks/tweak.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/ebooks/txt/__init__.py b/src/calibre/ebooks/txt/__init__.py index dfdbbdb5e2..20d59c5939 100644 --- a/src/calibre/ebooks/txt/__init__.py +++ b/src/calibre/ebooks/txt/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, John Schember john@nachtimwald.com' __docformat__ = 'restructuredtext en' diff --git a/src/calibre/gui2/actions/__init__.py b/src/calibre/gui2/actions/__init__.py index e57e36b810..f472ebebf2 100644 --- a/src/calibre/gui2/actions/__init__.py +++ b/src/calibre/gui2/actions/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/add.py b/src/calibre/gui2/actions/add.py index fde60224de..c6ac65cffc 100644 --- a/src/calibre/gui2/actions/add.py +++ b/src/calibre/gui2/actions/add.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/add_to_library.py b/src/calibre/gui2/actions/add_to_library.py index 9f517402bd..e1cdf8fba5 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/annotate.py b/src/calibre/gui2/actions/annotate.py index 8ba5c0a253..0266d76f78 100644 --- a/src/calibre/gui2/actions/annotate.py +++ b/src/calibre/gui2/actions/annotate.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/catalog.py b/src/calibre/gui2/actions/catalog.py index bf9b050848..6ad18a1445 100644 --- a/src/calibre/gui2/actions/catalog.py +++ b/src/calibre/gui2/actions/catalog.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/choose_library.py b/src/calibre/gui2/actions/choose_library.py index 92a6b494e6..b75100da43 100644 --- a/src/calibre/gui2/actions/choose_library.py +++ b/src/calibre/gui2/actions/choose_library.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/convert.py b/src/calibre/gui2/actions/convert.py index 2fd556fe44..959dd49e71 100644 --- a/src/calibre/gui2/actions/convert.py +++ b/src/calibre/gui2/actions/convert.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/copy_to_library.py b/src/calibre/gui2/actions/copy_to_library.py index fd8b85b298..305f5848d6 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/delete.py b/src/calibre/gui2/actions/delete.py index 2bf3e6d336..82a7cb817e 100644 --- a/src/calibre/gui2/actions/delete.py +++ b/src/calibre/gui2/actions/delete.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/device.py b/src/calibre/gui2/actions/device.py index 1d928ba7ab..19284345ab 100644 --- a/src/calibre/gui2/actions/device.py +++ b/src/calibre/gui2/actions/device.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/edit_collections.py b/src/calibre/gui2/actions/edit_collections.py index 5d0fbbcf12..f92cdc1758 100644 --- a/src/calibre/gui2/actions/edit_collections.py +++ b/src/calibre/gui2/actions/edit_collections.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/edit_metadata.py b/src/calibre/gui2/actions/edit_metadata.py index a13aed2677..4e80bf622e 100644 --- a/src/calibre/gui2/actions/edit_metadata.py +++ b/src/calibre/gui2/actions/edit_metadata.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/embed.py b/src/calibre/gui2/actions/embed.py index d436f3d4cc..88eb0994e2 100644 --- a/src/calibre/gui2/actions/embed.py +++ b/src/calibre/gui2/actions/embed.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/actions/fetch_news.py b/src/calibre/gui2/actions/fetch_news.py index 10d4859a40..e8a9ed1397 100644 --- a/src/calibre/gui2/actions/fetch_news.py +++ b/src/calibre/gui2/actions/fetch_news.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/help.py b/src/calibre/gui2/actions/help.py index 7f7cb2610f..9f2639d36e 100644 --- a/src/calibre/gui2/actions/help.py +++ b/src/calibre/gui2/actions/help.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/mark_books.py b/src/calibre/gui2/actions/mark_books.py index 9398be95aa..1fcd7e4bf6 100644 --- a/src/calibre/gui2/actions/mark_books.py +++ b/src/calibre/gui2/actions/mark_books.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/actions/match_books.py b/src/calibre/gui2/actions/match_books.py index 26969e58ce..f2a9ad1360 100644 --- a/src/calibre/gui2/actions/match_books.py +++ b/src/calibre/gui2/actions/match_books.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/actions/next_match.py b/src/calibre/gui2/actions/next_match.py index 005fb6c928..4581093707 100644 --- a/src/calibre/gui2/actions/next_match.py +++ b/src/calibre/gui2/actions/next_match.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/open.py b/src/calibre/gui2/actions/open.py index bf8c8335bb..2f21dd3236 100644 --- a/src/calibre/gui2/actions/open.py +++ b/src/calibre/gui2/actions/open.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/plugin_updates.py b/src/calibre/gui2/actions/plugin_updates.py index 32c895e2a1..83ab5a3e15 100644 --- a/src/calibre/gui2/actions/plugin_updates.py +++ b/src/calibre/gui2/actions/plugin_updates.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/actions/polish.py b/src/calibre/gui2/actions/polish.py index 35454ffac3..8750dfdc89 100644 --- a/src/calibre/gui2/actions/polish.py +++ b/src/calibre/gui2/actions/polish.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/actions/preferences.py b/src/calibre/gui2/actions/preferences.py index 69de52897e..b660cb7b79 100644 --- a/src/calibre/gui2/actions/preferences.py +++ b/src/calibre/gui2/actions/preferences.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/random.py b/src/calibre/gui2/actions/random.py index 03d1dedd82..40f37060aa 100644 --- a/src/calibre/gui2/actions/random.py +++ b/src/calibre/gui2/actions/random.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/actions/restart.py b/src/calibre/gui2/actions/restart.py index c3453868b3..635a7af8a1 100644 --- a/src/calibre/gui2/actions/restart.py +++ b/src/calibre/gui2/actions/restart.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/save_to_disk.py b/src/calibre/gui2/actions/save_to_disk.py index 7d1f7c454c..45c93de635 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/show_book_details.py b/src/calibre/gui2/actions/show_book_details.py index 6e82c4ffbd..457ff54fd2 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/show_quickview.py b/src/calibre/gui2/actions/show_quickview.py index a34d758f71..bc2dc82b0c 100644 --- a/src/calibre/gui2/actions/show_quickview.py +++ b/src/calibre/gui2/actions/show_quickview.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/show_template_tester.py b/src/calibre/gui2/actions/show_template_tester.py index e55bd3aef6..e0b9043a23 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/similar_books.py b/src/calibre/gui2/actions/similar_books.py index 347e1d1afd..3edb37fd29 100644 --- a/src/calibre/gui2/actions/similar_books.py +++ b/src/calibre/gui2/actions/similar_books.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/sort.py b/src/calibre/gui2/actions/sort.py index c89b822bbb..4fdb77b0f2 100644 --- a/src/calibre/gui2/actions/sort.py +++ b/src/calibre/gui2/actions/sort.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/actions/toc_edit.py b/src/calibre/gui2/actions/toc_edit.py index 15937b2263..104229caea 100644 --- a/src/calibre/gui2/actions/toc_edit.py +++ b/src/calibre/gui2/actions/toc_edit.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/actions/tweak_epub.py b/src/calibre/gui2/actions/tweak_epub.py index d5de66704b..f991710e5c 100755 --- a/src/calibre/gui2/actions/tweak_epub.py +++ b/src/calibre/gui2/actions/tweak_epub.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/unpack_book.py b/src/calibre/gui2/actions/unpack_book.py index 9a37a10819..28df0b0129 100644 --- a/src/calibre/gui2/actions/unpack_book.py +++ b/src/calibre/gui2/actions/unpack_book.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/actions/view.py b/src/calibre/gui2/actions/view.py index 29d09bb8b5..4a78c373a8 100644 --- a/src/calibre/gui2/actions/view.py +++ b/src/calibre/gui2/actions/view.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/add.py b/src/calibre/gui2/add.py index 7dea376ab8..8ccdb8aa2a 100644 --- a/src/calibre/gui2/add.py +++ b/src/calibre/gui2/add.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/auto_add.py b/src/calibre/gui2/auto_add.py index 31cae04579..db5c4ca947 100644 --- a/src/calibre/gui2/auto_add.py +++ b/src/calibre/gui2/auto_add.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/bars.py b/src/calibre/gui2/bars.py index 889059c81f..ea854a54a6 100644 --- a/src/calibre/gui2/bars.py +++ b/src/calibre/gui2/bars.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/book_details.py b/src/calibre/gui2/book_details.py index 099f56e7de..76da38b7ee 100644 --- a/src/calibre/gui2/book_details.py +++ b/src/calibre/gui2/book_details.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/catalog/catalog_bibtex.py b/src/calibre/gui2/catalog/catalog_bibtex.py index c8053ddd1e..578749d449 100644 --- a/src/calibre/gui2/catalog/catalog_bibtex.py +++ b/src/calibre/gui2/catalog/catalog_bibtex.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/catalog/catalog_csv_xml.py b/src/calibre/gui2/catalog/catalog_csv_xml.py index 4af77444da..3f0f85647e 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/catalog/catalog_epub_mobi.py b/src/calibre/gui2/catalog/catalog_epub_mobi.py index 066388cf38..4f96ab89f2 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/comments_editor.py b/src/calibre/gui2/comments_editor.py index 689f041b70..d768c0caa7 100644 --- a/src/calibre/gui2/comments_editor.py +++ b/src/calibre/gui2/comments_editor.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/complete2.py b/src/calibre/gui2/complete2.py index e7e6046e13..5539d6edd3 100644 --- a/src/calibre/gui2/complete2.py +++ b/src/calibre/gui2/complete2.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/convert/__init__.py b/src/calibre/gui2/convert/__init__.py index a642bc6cca..23d9275182 100644 --- a/src/calibre/gui2/convert/__init__.py +++ b/src/calibre/gui2/convert/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/convert/azw3_output.py b/src/calibre/gui2/convert/azw3_output.py index 264b7ae92b..9b35f93360 100644 --- a/src/calibre/gui2/convert/azw3_output.py +++ b/src/calibre/gui2/convert/azw3_output.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/convert/comic_input.py b/src/calibre/gui2/convert/comic_input.py index ed8053b8e6..094f3aa06c 100644 --- a/src/calibre/gui2/convert/comic_input.py +++ b/src/calibre/gui2/convert/comic_input.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/convert/debug.py b/src/calibre/gui2/convert/debug.py index 4dabbba6b2..3b382de47a 100644 --- a/src/calibre/gui2/convert/debug.py +++ b/src/calibre/gui2/convert/debug.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/convert/docx_input.py b/src/calibre/gui2/convert/docx_input.py index 46234c6a36..79f2a07ecb 100644 --- a/src/calibre/gui2/convert/docx_input.py +++ b/src/calibre/gui2/convert/docx_input.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/convert/epub_output.py b/src/calibre/gui2/convert/epub_output.py index 5fbfd74d05..df5896307c 100644 --- a/src/calibre/gui2/convert/epub_output.py +++ b/src/calibre/gui2/convert/epub_output.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/convert/font_key.py b/src/calibre/gui2/convert/font_key.py index 4b1655b944..85a8256b32 100644 --- a/src/calibre/gui2/convert/font_key.py +++ b/src/calibre/gui2/convert/font_key.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/convert/look_and_feel.py b/src/calibre/gui2/convert/look_and_feel.py index 2095d39a96..8131051481 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/convert/lrf_output.py b/src/calibre/gui2/convert/lrf_output.py index a643da6ed0..13340cf7f6 100644 --- a/src/calibre/gui2/convert/lrf_output.py +++ b/src/calibre/gui2/convert/lrf_output.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/convert/metadata.py b/src/calibre/gui2/convert/metadata.py index 6e8316f2e5..0ca3246e1b 100644 --- a/src/calibre/gui2/convert/metadata.py +++ b/src/calibre/gui2/convert/metadata.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/convert/mobi_output.py b/src/calibre/gui2/convert/mobi_output.py index 6a5c4120a0..7d6312c5a9 100644 --- a/src/calibre/gui2/convert/mobi_output.py +++ b/src/calibre/gui2/convert/mobi_output.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/convert/page_setup.py b/src/calibre/gui2/convert/page_setup.py index ccbd8486f0..d5029d0e8b 100644 --- a/src/calibre/gui2/convert/page_setup.py +++ b/src/calibre/gui2/convert/page_setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/convert/rtf_input.py b/src/calibre/gui2/convert/rtf_input.py index b0ac163b55..e6ce35b0f1 100644 --- a/src/calibre/gui2/convert/rtf_input.py +++ b/src/calibre/gui2/convert/rtf_input.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/convert/single.py b/src/calibre/gui2/convert/single.py index 90fc990a38..82136e857d 100644 --- a/src/calibre/gui2/convert/single.py +++ b/src/calibre/gui2/convert/single.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/convert/structure_detection.py b/src/calibre/gui2/convert/structure_detection.py index 0946d13e46..0bf5ab7cd7 100644 --- a/src/calibre/gui2/convert/structure_detection.py +++ b/src/calibre/gui2/convert/structure_detection.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/convert/toc.py b/src/calibre/gui2/convert/toc.py index c52c893ab7..db56862eb5 100644 --- a/src/calibre/gui2/convert/toc.py +++ b/src/calibre/gui2/convert/toc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/convert/xpath_wizard.py b/src/calibre/gui2/convert/xpath_wizard.py index 3c252a834d..44b1ae7ee1 100644 --- a/src/calibre/gui2/convert/xpath_wizard.py +++ b/src/calibre/gui2/convert/xpath_wizard.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/cover_flow.py b/src/calibre/gui2/cover_flow.py index 58eeebdb7a..c0d651258b 100644 --- a/src/calibre/gui2/cover_flow.py +++ b/src/calibre/gui2/cover_flow.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/src/calibre/gui2/covers.py b/src/calibre/gui2/covers.py index 7e6a969a9e..fcf05aa892 100644 --- a/src/calibre/gui2/covers.py +++ b/src/calibre/gui2/covers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/custom_column_widgets.py b/src/calibre/gui2/custom_column_widgets.py index c8901fe7d8..0b621ea1aa 100644 --- a/src/calibre/gui2/custom_column_widgets.py +++ b/src/calibre/gui2/custom_column_widgets.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/dbus_export/__init__.py b/src/calibre/gui2/dbus_export/__init__.py index 3adfa10d58..1d91bf41f6 100644 --- a/src/calibre/gui2/dbus_export/__init__.py +++ b/src/calibre/gui2/dbus_export/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/dbus_export/demo.py b/src/calibre/gui2/dbus_export/demo.py index 1c01a1a407..808419a3a3 100644 --- a/src/calibre/gui2/dbus_export/demo.py +++ b/src/calibre/gui2/dbus_export/demo.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/dbus_export/gtk.py b/src/calibre/gui2/dbus_export/gtk.py index 4f66ccaae7..6b361a3994 100644 --- a/src/calibre/gui2/dbus_export/gtk.py +++ b/src/calibre/gui2/dbus_export/gtk.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/dbus_export/menu.py b/src/calibre/gui2/dbus_export/menu.py index c12ae91a5b..5a99a9688e 100644 --- a/src/calibre/gui2/dbus_export/menu.py +++ b/src/calibre/gui2/dbus_export/menu.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/dbus_export/menu2.py b/src/calibre/gui2/dbus_export/menu2.py index 2d69f1d6bf..bf52d9aff8 100644 --- a/src/calibre/gui2/dbus_export/menu2.py +++ b/src/calibre/gui2/dbus_export/menu2.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/dbus_export/tray.py b/src/calibre/gui2/dbus_export/tray.py index b0610c358c..4fd26bb187 100644 --- a/src/calibre/gui2/dbus_export/tray.py +++ b/src/calibre/gui2/dbus_export/tray.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/dbus_export/utils.py b/src/calibre/gui2/dbus_export/utils.py index 48a443cd2b..ea5f442279 100644 --- a/src/calibre/gui2/dbus_export/utils.py +++ b/src/calibre/gui2/dbus_export/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/dbus_export/widgets.py b/src/calibre/gui2/dbus_export/widgets.py index 0fd725b2de..4459267766 100644 --- a/src/calibre/gui2/dbus_export/widgets.py +++ b/src/calibre/gui2/dbus_export/widgets.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/device_drivers/mtp_config.py b/src/calibre/gui2/device_drivers/mtp_config.py index 76bcedddeb..d65e51d1a6 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 python +#!/usr/bin/env python2 # 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/device_drivers/mtp_folder_browser.py b/src/calibre/gui2/device_drivers/mtp_folder_browser.py index 467fe38fe0..98ad08b072 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 python +#!/usr/bin/env python2 # 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 401bdf7b39..dcc01f984c 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 python +#!/usr/bin/env python2 __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' __license__ = 'GPL v3' diff --git a/src/calibre/gui2/dialogs/add_from_isbn.py b/src/calibre/gui2/dialogs/add_from_isbn.py index e9c898ba00..76dc1cb60b 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/dialogs/authors_edit.py b/src/calibre/gui2/dialogs/authors_edit.py index 03a09d00a7..62e53327a1 100644 --- a/src/calibre/gui2/dialogs/authors_edit.py +++ b/src/calibre/gui2/dialogs/authors_edit.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/dialogs/book_info.py b/src/calibre/gui2/dialogs/book_info.py index 86dccc787a..2893bc3142 100644 --- a/src/calibre/gui2/dialogs/book_info.py +++ b/src/calibre/gui2/dialogs/book_info.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 from __future__ import (unicode_literals, division, absolute_import, print_function) __license__ = 'GPL v3' diff --git a/src/calibre/gui2/dialogs/catalog.py b/src/calibre/gui2/dialogs/catalog.py index d2263bdd98..35eff5ee06 100644 --- a/src/calibre/gui2/dialogs/catalog.py +++ b/src/calibre/gui2/dialogs/catalog.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/dialogs/check_library.py b/src/calibre/gui2/dialogs/check_library.py index 8517b31209..3ebd3f02c3 100644 --- a/src/calibre/gui2/dialogs/check_library.py +++ b/src/calibre/gui2/dialogs/check_library.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' __license__ = 'GPL v3' diff --git a/src/calibre/gui2/dialogs/choose_library.py b/src/calibre/gui2/dialogs/choose_library.py index b66795f3d4..27a9003c05 100644 --- a/src/calibre/gui2/dialogs/choose_library.py +++ b/src/calibre/gui2/dialogs/choose_library.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/dialogs/choose_plugin_toolbars.py b/src/calibre/gui2/dialogs/choose_plugin_toolbars.py index cb432cfd5b..7f730b880c 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, diff --git a/src/calibre/gui2/dialogs/comments_dialog.py b/src/calibre/gui2/dialogs/comments_dialog.py index c262b33ff7..324a621292 100644 --- a/src/calibre/gui2/dialogs/comments_dialog.py +++ b/src/calibre/gui2/dialogs/comments_dialog.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' __license__ = 'GPL v3' diff --git a/src/calibre/gui2/dialogs/confirm_delete.py b/src/calibre/gui2/dialogs/confirm_delete.py index 2edfc934c3..0e11d5d562 100644 --- a/src/calibre/gui2/dialogs/confirm_delete.py +++ b/src/calibre/gui2/dialogs/confirm_delete.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/src/calibre/gui2/dialogs/confirm_delete_location.py b/src/calibre/gui2/dialogs/confirm_delete_location.py index 8d12cd2d68..5383179afb 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 python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' \ '2010, John Schember ' diff --git a/src/calibre/gui2/dialogs/custom_recipes.py b/src/calibre/gui2/dialogs/custom_recipes.py index 87a5e27e1e..e284f2fec4 100644 --- a/src/calibre/gui2/dialogs/custom_recipes.py +++ b/src/calibre/gui2/dialogs/custom_recipes.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) @@ -133,7 +133,7 @@ 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 python + #!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from calibre.web.feeds.news import {base} diff --git a/src/calibre/gui2/dialogs/delete_matching_from_device.py b/src/calibre/gui2/dialogs/delete_matching_from_device.py index 6f9b9847cd..8d67140ddf 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 python +#!/usr/bin/env python2 __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' __license__ = 'GPL v3' diff --git a/src/calibre/gui2/dialogs/drm_error.py b/src/calibre/gui2/dialogs/drm_error.py index b346ca2141..81ee082945 100644 --- a/src/calibre/gui2/dialogs/drm_error.py +++ b/src/calibre/gui2/dialogs/drm_error.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/dialogs/duplicates.py b/src/calibre/gui2/dialogs/duplicates.py index 0d1c5580ab..7cbc3fb003 100644 --- a/src/calibre/gui2/dialogs/duplicates.py +++ b/src/calibre/gui2/dialogs/duplicates.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/edit_authors_dialog.py b/src/calibre/gui2/dialogs/edit_authors_dialog.py index 7adf06c99f..80c8ee510b 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 python +#!/usr/bin/env python2 __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' __license__ = 'GPL v3' diff --git a/src/calibre/gui2/dialogs/match_books.py b/src/calibre/gui2/dialogs/match_books.py index 62eee7502e..60e752dd6f 100644 --- a/src/calibre/gui2/dialogs/match_books.py +++ b/src/calibre/gui2/dialogs/match_books.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/dialogs/message_box.py b/src/calibre/gui2/dialogs/message_box.py index fb1f62ea74..d1e58ef770 100644 --- a/src/calibre/gui2/dialogs/message_box.py +++ b/src/calibre/gui2/dialogs/message_box.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/dialogs/opml.py b/src/calibre/gui2/dialogs/opml.py index 2832d60da9..8e4debfa9c 100644 --- a/src/calibre/gui2/dialogs/opml.py +++ b/src/calibre/gui2/dialogs/opml.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/dialogs/plugin_updater.py b/src/calibre/gui2/dialogs/plugin_updater.py index 342927328c..6c735c429e 100644 --- a/src/calibre/gui2/dialogs/plugin_updater.py +++ b/src/calibre/gui2/dialogs/plugin_updater.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/dialogs/progress.py b/src/calibre/gui2/dialogs/progress.py index 964f836f78..1e19c41235 100644 --- a/src/calibre/gui2/dialogs/progress.py +++ b/src/calibre/gui2/dialogs/progress.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2009, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/src/calibre/gui2/dialogs/quickview.py b/src/calibre/gui2/dialogs/quickview.py index 5e1cd78d58..9df7200fbe 100644 --- a/src/calibre/gui2/dialogs/quickview.py +++ b/src/calibre/gui2/dialogs/quickview.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/src/calibre/gui2/dialogs/restore_library.py b/src/calibre/gui2/dialogs/restore_library.py index 411318944c..f3ae0fbaab 100644 --- a/src/calibre/gui2/dialogs/restore_library.py +++ b/src/calibre/gui2/dialogs/restore_library.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/dialogs/select_formats.py b/src/calibre/gui2/dialogs/select_formats.py index 374c80a13a..61bb0b40f1 100644 --- a/src/calibre/gui2/dialogs/select_formats.py +++ b/src/calibre/gui2/dialogs/select_formats.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/dialogs/smartdevice.py b/src/calibre/gui2/dialogs/smartdevice.py index c95fd4a181..015256c51f 100644 --- a/src/calibre/gui2/dialogs/smartdevice.py +++ b/src/calibre/gui2/dialogs/smartdevice.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/dialogs/template_dialog.py b/src/calibre/gui2/dialogs/template_dialog.py index a067f74a88..4305f3a333 100644 --- a/src/calibre/gui2/dialogs/template_dialog.py +++ b/src/calibre/gui2/dialogs/template_dialog.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' __license__ = 'GPL v3' diff --git a/src/calibre/gui2/dialogs/template_line_editor.py b/src/calibre/gui2/dialogs/template_line_editor.py index f8ebd766dc..7c31394842 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/dialogs/trim_image.py b/src/calibre/gui2/dialogs/trim_image.py index 80cac9198a..eeea3e8a23 100644 --- a/src/calibre/gui2/dialogs/trim_image.py +++ b/src/calibre/gui2/dialogs/trim_image.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/dnd.py b/src/calibre/gui2/dnd.py index 38b3d79f7c..245e87129f 100644 --- a/src/calibre/gui2/dnd.py +++ b/src/calibre/gui2/dnd.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/email.py b/src/calibre/gui2/email.py index 4b6a5b78fd..725ffaeb12 100644 --- a/src/calibre/gui2/email.py +++ b/src/calibre/gui2/email.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import print_function diff --git a/src/calibre/gui2/font_family_chooser.py b/src/calibre/gui2/font_family_chooser.py index f554afdd7d..7d5e318315 100644 --- a/src/calibre/gui2/font_family_chooser.py +++ b/src/calibre/gui2/font_family_chooser.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/init.py b/src/calibre/gui2/init.py index 008d946011..840c4c5ab8 100644 --- a/src/calibre/gui2/init.py +++ b/src/calibre/gui2/init.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/job_indicator.py b/src/calibre/gui2/job_indicator.py index ee19705871..13dbf962ec 100644 --- a/src/calibre/gui2/job_indicator.py +++ b/src/calibre/gui2/job_indicator.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/jobs.py b/src/calibre/gui2/jobs.py index 7063bd6db6..71c8c2e05c 100644 --- a/src/calibre/gui2/jobs.py +++ b/src/calibre/gui2/jobs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/src/calibre/gui2/keyboard.py b/src/calibre/gui2/keyboard.py index 5c0a60301e..db9c9eaa86 100644 --- a/src/calibre/gui2/keyboard.py +++ b/src/calibre/gui2/keyboard.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/languages.py b/src/calibre/gui2/languages.py index 5b5ad6bb07..27aa76fa6b 100644 --- a/src/calibre/gui2/languages.py +++ b/src/calibre/gui2/languages.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/layout.py b/src/calibre/gui2/layout.py index a4e06152d1..b009d3fa2c 100644 --- a/src/calibre/gui2/layout.py +++ b/src/calibre/gui2/layout.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/library/__init__.py b/src/calibre/gui2/library/__init__.py index a40195e72e..0dfc895552 100644 --- a/src/calibre/gui2/library/__init__.py +++ b/src/calibre/gui2/library/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/library/alternate_views.py b/src/calibre/gui2/library/alternate_views.py index 590affa4fd..c39eb23b37 100644 --- a/src/calibre/gui2/library/alternate_views.py +++ b/src/calibre/gui2/library/alternate_views.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/library/caches.py b/src/calibre/gui2/library/caches.py index a31fa2924c..a7a5c082d5 100644 --- a/src/calibre/gui2/library/caches.py +++ b/src/calibre/gui2/library/caches.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/library/delegates.py b/src/calibre/gui2/library/delegates.py index 270fffde82..4ce8fff84d 100644 --- a/src/calibre/gui2/library/delegates.py +++ b/src/calibre/gui2/library/delegates.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/library/models.py b/src/calibre/gui2/library/models.py index 45d7cfdfdc..7e5b681bc4 100644 --- a/src/calibre/gui2/library/models.py +++ b/src/calibre/gui2/library/models.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/library/views.py b/src/calibre/gui2/library/views.py index 66e9cb36f1..866faf6f8c 100644 --- a/src/calibre/gui2/library/views.py +++ b/src/calibre/gui2/library/views.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/metadata/__init__.py b/src/calibre/gui2/metadata/__init__.py index 68dfb8d2b5..31be9f7fc6 100644 --- a/src/calibre/gui2/metadata/__init__.py +++ b/src/calibre/gui2/metadata/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/metadata/basic_widgets.py b/src/calibre/gui2/metadata/basic_widgets.py index 2a2b8c12f5..49cfe2ce10 100644 --- a/src/calibre/gui2/metadata/basic_widgets.py +++ b/src/calibre/gui2/metadata/basic_widgets.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/metadata/bulk_download.py b/src/calibre/gui2/metadata/bulk_download.py index f85acdea63..0dec25ed10 100644 --- a/src/calibre/gui2/metadata/bulk_download.py +++ b/src/calibre/gui2/metadata/bulk_download.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/metadata/config.py b/src/calibre/gui2/metadata/config.py index 340f23f271..73c3a16245 100644 --- a/src/calibre/gui2/metadata/config.py +++ b/src/calibre/gui2/metadata/config.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/metadata/diff.py b/src/calibre/gui2/metadata/diff.py index 0f03c9ac54..1bd3a11d0f 100644 --- a/src/calibre/gui2/metadata/diff.py +++ b/src/calibre/gui2/metadata/diff.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/metadata/pdf_covers.py b/src/calibre/gui2/metadata/pdf_covers.py index d48c0181e3..64ada866a4 100644 --- a/src/calibre/gui2/metadata/pdf_covers.py +++ b/src/calibre/gui2/metadata/pdf_covers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/metadata/single.py b/src/calibre/gui2/metadata/single.py index 4d6f856403..0def0c427d 100644 --- a/src/calibre/gui2/metadata/single.py +++ b/src/calibre/gui2/metadata/single.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/metadata/single_download.py b/src/calibre/gui2/metadata/single_download.py index b6c1bc86e3..1dbbb74471 100644 --- a/src/calibre/gui2/metadata/single_download.py +++ b/src/calibre/gui2/metadata/single_download.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/notify.py b/src/calibre/gui2/notify.py index 755606e609..828f609d5f 100644 --- a/src/calibre/gui2/notify.py +++ b/src/calibre/gui2/notify.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/preferences/__init__.py b/src/calibre/gui2/preferences/__init__.py index ac415dae81..0ca646af78 100644 --- a/src/calibre/gui2/preferences/__init__.py +++ b/src/calibre/gui2/preferences/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/preferences/adding.py b/src/calibre/gui2/preferences/adding.py index 688abde70a..b468c1c3bc 100644 --- a/src/calibre/gui2/preferences/adding.py +++ b/src/calibre/gui2/preferences/adding.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/preferences/behavior.py b/src/calibre/gui2/preferences/behavior.py index 82d26cdbaa..82247774df 100644 --- a/src/calibre/gui2/preferences/behavior.py +++ b/src/calibre/gui2/preferences/behavior.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/preferences/coloring.py b/src/calibre/gui2/preferences/coloring.py index a855216065..5baff03bda 100644 --- a/src/calibre/gui2/preferences/coloring.py +++ b/src/calibre/gui2/preferences/coloring.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/preferences/columns.py b/src/calibre/gui2/preferences/columns.py index 6a88fa2b15..6060f3aa89 100644 --- a/src/calibre/gui2/preferences/columns.py +++ b/src/calibre/gui2/preferences/columns.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/preferences/conversion.py b/src/calibre/gui2/preferences/conversion.py index c76bcb7875..c8b539d593 100644 --- a/src/calibre/gui2/preferences/conversion.py +++ b/src/calibre/gui2/preferences/conversion.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/preferences/device_debug.py b/src/calibre/gui2/preferences/device_debug.py index 5fd36e0985..02a58423a6 100644 --- a/src/calibre/gui2/preferences/device_debug.py +++ b/src/calibre/gui2/preferences/device_debug.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/preferences/device_user_defined.py b/src/calibre/gui2/preferences/device_user_defined.py index 96f1fb067c..e08a726fdc 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 python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/preferences/emailp.py b/src/calibre/gui2/preferences/emailp.py index 6d9956cdcd..14002cd9bd 100644 --- a/src/calibre/gui2/preferences/emailp.py +++ b/src/calibre/gui2/preferences/emailp.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/preferences/history.py b/src/calibre/gui2/preferences/history.py index 8a8b24ada9..975f3f838e 100644 --- a/src/calibre/gui2/preferences/history.py +++ b/src/calibre/gui2/preferences/history.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/preferences/ignored_devices.py b/src/calibre/gui2/preferences/ignored_devices.py index db9e9224bd..f8c2411b4c 100644 --- a/src/calibre/gui2/preferences/ignored_devices.py +++ b/src/calibre/gui2/preferences/ignored_devices.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/preferences/keyboard.py b/src/calibre/gui2/preferences/keyboard.py index c7f3cd7bdb..22c22d1a6c 100644 --- a/src/calibre/gui2/preferences/keyboard.py +++ b/src/calibre/gui2/preferences/keyboard.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/preferences/look_feel.py b/src/calibre/gui2/preferences/look_feel.py index 3d200b89bb..53db9e4031 100644 --- a/src/calibre/gui2/preferences/look_feel.py +++ b/src/calibre/gui2/preferences/look_feel.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/preferences/main.py b/src/calibre/gui2/preferences/main.py index 45117286d6..3be5c96647 100644 --- a/src/calibre/gui2/preferences/main.py +++ b/src/calibre/gui2/preferences/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/preferences/metadata_sources.py b/src/calibre/gui2/preferences/metadata_sources.py index 52dc3a19e1..14b8cf62af 100644 --- a/src/calibre/gui2/preferences/metadata_sources.py +++ b/src/calibre/gui2/preferences/metadata_sources.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/preferences/misc.py b/src/calibre/gui2/preferences/misc.py index 1052430f8a..15351e7aac 100644 --- a/src/calibre/gui2/preferences/misc.py +++ b/src/calibre/gui2/preferences/misc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/preferences/plugboard.py b/src/calibre/gui2/preferences/plugboard.py index 6a309f2b5a..6c367eb0c5 100644 --- a/src/calibre/gui2/preferences/plugboard.py +++ b/src/calibre/gui2/preferences/plugboard.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/preferences/plugins.py b/src/calibre/gui2/preferences/plugins.py index 7ca1e0a267..adbc7c7059 100644 --- a/src/calibre/gui2/preferences/plugins.py +++ b/src/calibre/gui2/preferences/plugins.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/preferences/save_template.py b/src/calibre/gui2/preferences/save_template.py index be19fa3be4..ceb9f1c8e9 100644 --- a/src/calibre/gui2/preferences/save_template.py +++ b/src/calibre/gui2/preferences/save_template.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/preferences/saving.py b/src/calibre/gui2/preferences/saving.py index bd9f755a64..ab61710f95 100644 --- a/src/calibre/gui2/preferences/saving.py +++ b/src/calibre/gui2/preferences/saving.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/preferences/search.py b/src/calibre/gui2/preferences/search.py index e0a41b2a73..5d889ad0f2 100644 --- a/src/calibre/gui2/preferences/search.py +++ b/src/calibre/gui2/preferences/search.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/preferences/sending.py b/src/calibre/gui2/preferences/sending.py index 7bf354d22e..5eaaacb230 100644 --- a/src/calibre/gui2/preferences/sending.py +++ b/src/calibre/gui2/preferences/sending.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/preferences/server.py b/src/calibre/gui2/preferences/server.py index 28e7a3b6be..6b616971bc 100644 --- a/src/calibre/gui2/preferences/server.py +++ b/src/calibre/gui2/preferences/server.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/preferences/template_functions.py b/src/calibre/gui2/preferences/template_functions.py index 7c667cec1d..7c3809dcab 100644 --- a/src/calibre/gui2/preferences/template_functions.py +++ b/src/calibre/gui2/preferences/template_functions.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/preferences/texture_chooser.py b/src/calibre/gui2/preferences/texture_chooser.py index 7f125d1ba8..5edbeb592d 100644 --- a/src/calibre/gui2/preferences/texture_chooser.py +++ b/src/calibre/gui2/preferences/texture_chooser.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/preferences/toolbar.py b/src/calibre/gui2/preferences/toolbar.py index b892ed5ebc..3716e119ef 100644 --- a/src/calibre/gui2/preferences/toolbar.py +++ b/src/calibre/gui2/preferences/toolbar.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/preferences/tweaks.py b/src/calibre/gui2/preferences/tweaks.py index c98007c125..1c566b1e8a 100644 --- a/src/calibre/gui2/preferences/tweaks.py +++ b/src/calibre/gui2/preferences/tweaks.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/proceed.py b/src/calibre/gui2/proceed.py index 82fff3a986..f7e2064cf4 100644 --- a/src/calibre/gui2/proceed.py +++ b/src/calibre/gui2/proceed.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/progress_indicator/__init__.py b/src/calibre/gui2/progress_indicator/__init__.py index 5890b26e99..163add1313 100644 --- a/src/calibre/gui2/progress_indicator/__init__.py +++ b/src/calibre/gui2/progress_indicator/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/save.py b/src/calibre/gui2/save.py index 5536ee5b6d..a0362d6fd2 100644 --- a/src/calibre/gui2/save.py +++ b/src/calibre/gui2/save.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/search_box.py b/src/calibre/gui2/search_box.py index 5a09e3e25e..9f739fe6f9 100644 --- a/src/calibre/gui2/search_box.py +++ b/src/calibre/gui2/search_box.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/search_restriction_mixin.py b/src/calibre/gui2/search_restriction_mixin.py index 91bdd69136..eb3af9f7ec 100644 --- a/src/calibre/gui2/search_restriction_mixin.py +++ b/src/calibre/gui2/search_restriction_mixin.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/shortcuts.py b/src/calibre/gui2/shortcuts.py index c51789cabc..ec686d453f 100644 --- a/src/calibre/gui2/shortcuts.py +++ b/src/calibre/gui2/shortcuts.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/splash.py b/src/calibre/gui2/splash.py index 04c111ed62..d2f2f48666 100644 --- a/src/calibre/gui2/splash.py +++ b/src/calibre/gui2/splash.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/store/loader.py b/src/calibre/gui2/store/loader.py index ba21289c19..0c1efe8479 100644 --- a/src/calibre/gui2/store/loader.py +++ b/src/calibre/gui2/store/loader.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/store/stores/sony_au_plugin.py b/src/calibre/gui2/store/stores/sony_au_plugin.py index 5608e2714c..301687c997 100644 --- a/src/calibre/gui2/store/stores/sony_au_plugin.py +++ b/src/calibre/gui2/store/stores/sony_au_plugin.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/store/stores/sony_plugin.py b/src/calibre/gui2/store/stores/sony_plugin.py index 5916e620d5..8d00904539 100644 --- a/src/calibre/gui2/store/stores/sony_plugin.py +++ b/src/calibre/gui2/store/stores/sony_plugin.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/tag_browser/__init__.py b/src/calibre/gui2/tag_browser/__init__.py index cc6da1e995..8d35a37f2f 100644 --- a/src/calibre/gui2/tag_browser/__init__.py +++ b/src/calibre/gui2/tag_browser/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tag_browser/model.py b/src/calibre/gui2/tag_browser/model.py index 6f73c3daf3..ccdd807e77 100644 --- a/src/calibre/gui2/tag_browser/model.py +++ b/src/calibre/gui2/tag_browser/model.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tag_browser/ui.py b/src/calibre/gui2/tag_browser/ui.py index de6c6aeca4..c46809db52 100644 --- a/src/calibre/gui2/tag_browser/ui.py +++ b/src/calibre/gui2/tag_browser/ui.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tag_browser/view.py b/src/calibre/gui2/tag_browser/view.py index 9cc022171b..3eb3aa3373 100644 --- a/src/calibre/gui2/tag_browser/view.py +++ b/src/calibre/gui2/tag_browser/view.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/threaded_jobs.py b/src/calibre/gui2/threaded_jobs.py index 9e16f88a1a..455bc51e43 100644 --- a/src/calibre/gui2/threaded_jobs.py +++ b/src/calibre/gui2/threaded_jobs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/throbber.py b/src/calibre/gui2/throbber.py index d945354d32..6afdfbda3a 100644 --- a/src/calibre/gui2/throbber.py +++ b/src/calibre/gui2/throbber.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/toc/__init__.py b/src/calibre/gui2/toc/__init__.py index 07138c49b8..fa7b4ccc1c 100644 --- a/src/calibre/gui2/toc/__init__.py +++ b/src/calibre/gui2/toc/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/toc/location.py b/src/calibre/gui2/toc/location.py index 3f3a0c4ff9..c4fbc04189 100644 --- a/src/calibre/gui2/toc/location.py +++ b/src/calibre/gui2/toc/location.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/toc/main.py b/src/calibre/gui2/toc/main.py index 6f7ad7f82e..12ecc8b1db 100644 --- a/src/calibre/gui2/toc/main.py +++ b/src/calibre/gui2/toc/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/tools.py b/src/calibre/gui2/tools.py index 617f1e578f..4e73726a93 100644 --- a/src/calibre/gui2/tools.py +++ b/src/calibre/gui2/tools.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/src/calibre/gui2/tweak_book/__init__.py b/src/calibre/gui2/tweak_book/__init__.py index 5e8b852ca7..4051bff500 100644 --- a/src/calibre/gui2/tweak_book/__init__.py +++ b/src/calibre/gui2/tweak_book/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/boss.py b/src/calibre/gui2/tweak_book/boss.py index 7a75eebf9f..f0d163f721 100644 --- a/src/calibre/gui2/tweak_book/boss.py +++ b/src/calibre/gui2/tweak_book/boss.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/char_select.py b/src/calibre/gui2/tweak_book/char_select.py index 5b1cc22dd1..0fc2d1ab7b 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/check.py b/src/calibre/gui2/tweak_book/check.py index f381ef13cf..185712ea8a 100644 --- a/src/calibre/gui2/tweak_book/check.py +++ b/src/calibre/gui2/tweak_book/check.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/completion/basic.py b/src/calibre/gui2/tweak_book/completion/basic.py index b0d4df6079..e68b16e91f 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/completion/popup.py b/src/calibre/gui2/tweak_book/completion/popup.py index 45eb18c517..eb6b65c07c 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/completion/utils.py b/src/calibre/gui2/tweak_book/completion/utils.py index 919269df4e..57fd374f45 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/completion/worker.py b/src/calibre/gui2/tweak_book/completion/worker.py index 8e25630d02..a9d75f6bff 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/diff/__init__.py b/src/calibre/gui2/tweak_book/diff/__init__.py index b7746fecce..2388e25ee3 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/diff/highlight.py b/src/calibre/gui2/tweak_book/diff/highlight.py index add2dcffa7..db28583b13 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/diff/main.py b/src/calibre/gui2/tweak_book/diff/main.py index e747184780..9db5ac7ba2 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/diff/view.py b/src/calibre/gui2/tweak_book/diff/view.py index bd7423ac17..8050c4e3e9 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/editor/__init__.py b/src/calibre/gui2/tweak_book/editor/__init__.py index 18c9ca3359..2b84917582 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/editor/canvas.py b/src/calibre/gui2/tweak_book/editor/canvas.py index 4eccfc146b..a12681b302 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/editor/help.py b/src/calibre/gui2/tweak_book/editor/help.py index f6baa03734..eca1b4d997 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/editor/image.py b/src/calibre/gui2/tweak_book/editor/image.py index 00a93f79b9..6e7fef1f1f 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/editor/insert_resource.py b/src/calibre/gui2/tweak_book/editor/insert_resource.py index baf146c485..03a48bd2cd 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/editor/smarts/__init__.py b/src/calibre/gui2/tweak_book/editor/smarts/__init__.py index 4815f2a139..ca22a0f782 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/editor/smarts/css.py b/src/calibre/gui2/tweak_book/editor/smarts/css.py index c0c99ddba0..b0374caa79 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/editor/smarts/html.py b/src/calibre/gui2/tweak_book/editor/smarts/html.py index d790539c4b..f548d7bb01 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/editor/smarts/python.py b/src/calibre/gui2/tweak_book/editor/smarts/python.py index f726e16d38..c1a9332691 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/editor/smarts/utils.py b/src/calibre/gui2/tweak_book/editor/smarts/utils.py index faf7fecb1b..eff06f73ff 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/editor/snippets.py b/src/calibre/gui2/tweak_book/editor/snippets.py index 0e13b17a6d..7105b84216 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/editor/syntax/__init__.py b/src/calibre/gui2/tweak_book/editor/syntax/__init__.py index 2dfbaa2fb8..dec2b33a58 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/editor/syntax/base.py b/src/calibre/gui2/tweak_book/editor/syntax/base.py index 752d4e8ab4..1e897c0f2f 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/editor/syntax/css.py b/src/calibre/gui2/tweak_book/editor/syntax/css.py index 2b00e3192f..a0652c4b33 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/editor/syntax/html.py b/src/calibre/gui2/tweak_book/editor/syntax/html.py index 6ee188c9f5..97900be8a6 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/editor/syntax/javascript.py b/src/calibre/gui2/tweak_book/editor/syntax/javascript.py index 7f6ab91fae..6c2e707fc1 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) 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 41755c3bd0..a0a6b89668 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/editor/syntax/python.py b/src/calibre/gui2/tweak_book/editor/syntax/python.py index 92fa63f26b..c1c47291c6 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/editor/syntax/utils.py b/src/calibre/gui2/tweak_book/editor/syntax/utils.py index 57c0be96e0..60bcc0f6ad 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/editor/syntax/xml.py b/src/calibre/gui2/tweak_book/editor/syntax/xml.py index 5c67c57333..b25ba499ed 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/editor/text.py b/src/calibre/gui2/tweak_book/editor/text.py index 6ccd00c359..2170ef36d8 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/editor/themes.py b/src/calibre/gui2/tweak_book/editor/themes.py index 68cd76c709..90d71a56bf 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/editor/widget.py b/src/calibre/gui2/tweak_book/editor/widget.py index ee1dd71770..2ebee670ec 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/file_list.py b/src/calibre/gui2/tweak_book/file_list.py index 663ab51b3f..70c6dab384 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/function_replace.py b/src/calibre/gui2/tweak_book/function_replace.py index 69ababc18d..ce8487418a 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/job.py b/src/calibre/gui2/tweak_book/job.py index c54a4d5cbc..bc0edb3493 100644 --- a/src/calibre/gui2/tweak_book/job.py +++ b/src/calibre/gui2/tweak_book/job.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/live_css.py b/src/calibre/gui2/tweak_book/live_css.py index e730f19a66..d6d14fa2fc 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/main.py b/src/calibre/gui2/tweak_book/main.py index 4f2b1904f8..7b269f7eca 100644 --- a/src/calibre/gui2/tweak_book/main.py +++ b/src/calibre/gui2/tweak_book/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/manage_fonts.py b/src/calibre/gui2/tweak_book/manage_fonts.py index d2e8c553a4..4c52d473e0 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 python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/plugin.py b/src/calibre/gui2/tweak_book/plugin.py index 3c40bf8893..f7f6b59be9 100644 --- a/src/calibre/gui2/tweak_book/plugin.py +++ b/src/calibre/gui2/tweak_book/plugin.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/polish.py b/src/calibre/gui2/tweak_book/polish.py index abf51bf04a..f6a65bda75 100644 --- a/src/calibre/gui2/tweak_book/polish.py +++ b/src/calibre/gui2/tweak_book/polish.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/preferences.py b/src/calibre/gui2/tweak_book/preferences.py index e861e8e07f..f57bbb9448 100644 --- a/src/calibre/gui2/tweak_book/preferences.py +++ b/src/calibre/gui2/tweak_book/preferences.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/preview.py b/src/calibre/gui2/tweak_book/preview.py index e0ed80c8a8..a35ed827a2 100644 --- a/src/calibre/gui2/tweak_book/preview.py +++ b/src/calibre/gui2/tweak_book/preview.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/reports.py b/src/calibre/gui2/tweak_book/reports.py index d2ab433c88..f1e20ecec5 100644 --- a/src/calibre/gui2/tweak_book/reports.py +++ b/src/calibre/gui2/tweak_book/reports.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/save.py b/src/calibre/gui2/tweak_book/save.py index 00075c839f..da3691474d 100644 --- a/src/calibre/gui2/tweak_book/save.py +++ b/src/calibre/gui2/tweak_book/save.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/search.py b/src/calibre/gui2/tweak_book/search.py index dc587b7e81..6e02c3efa4 100644 --- a/src/calibre/gui2/tweak_book/search.py +++ b/src/calibre/gui2/tweak_book/search.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/spell.py b/src/calibre/gui2/tweak_book/spell.py index 8b9dbc68e6..0e197931e3 100644 --- a/src/calibre/gui2/tweak_book/spell.py +++ b/src/calibre/gui2/tweak_book/spell.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/templates.py b/src/calibre/gui2/tweak_book/templates.py index 69bd18fdb9..04272d42ef 100644 --- a/src/calibre/gui2/tweak_book/templates.py +++ b/src/calibre/gui2/tweak_book/templates.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/toc.py b/src/calibre/gui2/tweak_book/toc.py index 250ddb3731..6b8d3aa8f3 100644 --- a/src/calibre/gui2/tweak_book/toc.py +++ b/src/calibre/gui2/tweak_book/toc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/ui.py b/src/calibre/gui2/tweak_book/ui.py index 81043a778b..3e244f3194 100644 --- a/src/calibre/gui2/tweak_book/ui.py +++ b/src/calibre/gui2/tweak_book/ui.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/undo.py b/src/calibre/gui2/tweak_book/undo.py index 15d2e9ae9d..579c276993 100644 --- a/src/calibre/gui2/tweak_book/undo.py +++ b/src/calibre/gui2/tweak_book/undo.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/tweak_book/widgets.py b/src/calibre/gui2/tweak_book/widgets.py index 0c0bd04dee..f21571a878 100644 --- a/src/calibre/gui2/tweak_book/widgets.py +++ b/src/calibre/gui2/tweak_book/widgets.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/ui.py b/src/calibre/gui2/ui.py index 8e1ac6cf53..6b8cef2b8e 100644 --- a/src/calibre/gui2/ui.py +++ b/src/calibre/gui2/ui.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/viewer/bookmarkmanager.py b/src/calibre/gui2/viewer/bookmarkmanager.py index 0f9bc4e0af..24ed6a0ec1 100644 --- a/src/calibre/gui2/viewer/bookmarkmanager.py +++ b/src/calibre/gui2/viewer/bookmarkmanager.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/viewer/config.py b/src/calibre/gui2/viewer/config.py index 9b9644101b..21c986cf2c 100644 --- a/src/calibre/gui2/viewer/config.py +++ b/src/calibre/gui2/viewer/config.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/viewer/documentview.py b/src/calibre/gui2/viewer/documentview.py index b436adb395..e8e1d831ac 100644 --- a/src/calibre/gui2/viewer/documentview.py +++ b/src/calibre/gui2/viewer/documentview.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/src/calibre/gui2/viewer/flip.py b/src/calibre/gui2/viewer/flip.py index b5094fe0d3..c0f90b597e 100644 --- a/src/calibre/gui2/viewer/flip.py +++ b/src/calibre/gui2/viewer/flip.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/gui2/viewer/footnote.py b/src/calibre/gui2/viewer/footnote.py index 3fd33f8dda..0f484200e2 100644 --- a/src/calibre/gui2/viewer/footnote.py +++ b/src/calibre/gui2/viewer/footnote.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/viewer/gestures.py b/src/calibre/gui2/viewer/gestures.py index 94e963aa1a..e2dc963a06 100644 --- a/src/calibre/gui2/viewer/gestures.py +++ b/src/calibre/gui2/viewer/gestures.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/viewer/image_popup.py b/src/calibre/gui2/viewer/image_popup.py index d0236d4e40..f7cd14259a 100644 --- a/src/calibre/gui2/viewer/image_popup.py +++ b/src/calibre/gui2/viewer/image_popup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/viewer/inspector.py b/src/calibre/gui2/viewer/inspector.py index 40ba9b0693..c0c293d49f 100644 --- a/src/calibre/gui2/viewer/inspector.py +++ b/src/calibre/gui2/viewer/inspector.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/viewer/javascript.py b/src/calibre/gui2/viewer/javascript.py index 0f05a804dc..491ad53fa9 100644 --- a/src/calibre/gui2/viewer/javascript.py +++ b/src/calibre/gui2/viewer/javascript.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/viewer/keys.py b/src/calibre/gui2/viewer/keys.py index f5d60af260..1a83e9f37d 100644 --- a/src/calibre/gui2/viewer/keys.py +++ b/src/calibre/gui2/viewer/keys.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/viewer/position.py b/src/calibre/gui2/viewer/position.py index c7f1b03b7e..2bcc849821 100644 --- a/src/calibre/gui2/viewer/position.py +++ b/src/calibre/gui2/viewer/position.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/viewer/printing.py b/src/calibre/gui2/viewer/printing.py index 87661e6b1d..23c0626a99 100644 --- a/src/calibre/gui2/viewer/printing.py +++ b/src/calibre/gui2/viewer/printing.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/viewer/table_popup.py b/src/calibre/gui2/viewer/table_popup.py index 5c8a01fdf7..4177a935ea 100644 --- a/src/calibre/gui2/viewer/table_popup.py +++ b/src/calibre/gui2/viewer/table_popup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/viewer/toc.py b/src/calibre/gui2/viewer/toc.py index 2da1dc63b9..3b2d08eeae 100644 --- a/src/calibre/gui2/viewer/toc.py +++ b/src/calibre/gui2/viewer/toc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/viewer/ui.py b/src/calibre/gui2/viewer/ui.py index 36ab5b8e91..24809afb89 100644 --- a/src/calibre/gui2/viewer/ui.py +++ b/src/calibre/gui2/viewer/ui.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/widgets2.py b/src/calibre/gui2/widgets2.py index e74c18c60f..9765724754 100644 --- a/src/calibre/gui2/widgets2.py +++ b/src/calibre/gui2/widgets2.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/gui2/wizard/__init__.py b/src/calibre/gui2/wizard/__init__.py index eaa6183f68..010dd2bc1b 100644 --- a/src/calibre/gui2/wizard/__init__.py +++ b/src/calibre/gui2/wizard/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui2/wizard/send_email.py b/src/calibre/gui2/wizard/send_email.py index 79dc572856..dfe4889e97 100644 --- a/src/calibre/gui2/wizard/send_email.py +++ b/src/calibre/gui2/wizard/send_email.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/gui_launch.py b/src/calibre/gui_launch.py index 5972c1097f..28ef8eaea3 100644 --- a/src/calibre/gui_launch.py +++ b/src/calibre/gui_launch.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/library/add_to_library.py b/src/calibre/library/add_to_library.py index a453423a3c..1c85375f3f 100644 --- a/src/calibre/library/add_to_library.py +++ b/src/calibre/library/add_to_library.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/library/caches.py b/src/calibre/library/caches.py index 43de66bcb8..858cbd828f 100644 --- a/src/calibre/library/caches.py +++ b/src/calibre/library/caches.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/library/catalogs/__init__.py b/src/calibre/library/catalogs/__init__.py index de96493f75..a09874c377 100644 --- a/src/calibre/library/catalogs/__init__.py +++ b/src/calibre/library/catalogs/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/library/catalogs/bibtex.py b/src/calibre/library/catalogs/bibtex.py index 6d1c2609cf..8812906aec 100644 --- a/src/calibre/library/catalogs/bibtex.py +++ b/src/calibre/library/catalogs/bibtex.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/library/catalogs/csv_xml.py b/src/calibre/library/catalogs/csv_xml.py index 4f7283deab..fa64512f05 100644 --- a/src/calibre/library/catalogs/csv_xml.py +++ b/src/calibre/library/catalogs/csv_xml.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/library/catalogs/epub_mobi.py b/src/calibre/library/catalogs/epub_mobi.py index 8006d53531..15e2427aaf 100644 --- a/src/calibre/library/catalogs/epub_mobi.py +++ b/src/calibre/library/catalogs/epub_mobi.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/library/catalogs/utils.py b/src/calibre/library/catalogs/utils.py index 7818268ded..14afbd15e6 100644 --- a/src/calibre/library/catalogs/utils.py +++ b/src/calibre/library/catalogs/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/library/check_library.py b/src/calibre/library/check_library.py index 024fe9a5bd..ade62ec749 100644 --- a/src/calibre/library/check_library.py +++ b/src/calibre/library/check_library.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/library/cli.py b/src/calibre/library/cli.py index 41bc786f61..43b7fa1573 100644 --- a/src/calibre/library/cli.py +++ b/src/calibre/library/cli.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/src/calibre/library/coloring.py b/src/calibre/library/coloring.py index eb4e8e5aec..671ef84771 100644 --- a/src/calibre/library/coloring.py +++ b/src/calibre/library/coloring.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/library/comments.py b/src/calibre/library/comments.py index 622528722e..e48c4a76ab 100644 --- a/src/calibre/library/comments.py +++ b/src/calibre/library/comments.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/library/custom_columns.py b/src/calibre/library/custom_columns.py index 415bd35559..1a8e73448b 100644 --- a/src/calibre/library/custom_columns.py +++ b/src/calibre/library/custom_columns.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/library/move.py b/src/calibre/library/move.py index 5423216a80..5cbf7c811b 100644 --- a/src/calibre/library/move.py +++ b/src/calibre/library/move.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/library/prefs.py b/src/calibre/library/prefs.py index 8be69461b7..fe92756d30 100644 --- a/src/calibre/library/prefs.py +++ b/src/calibre/library/prefs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/library/restore.py b/src/calibre/library/restore.py index f703451d2d..fbcdf39529 100644 --- a/src/calibre/library/restore.py +++ b/src/calibre/library/restore.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/library/save_to_disk.py b/src/calibre/library/save_to_disk.py index 247f66e55b..8ac29a9f8e 100644 --- a/src/calibre/library/save_to_disk.py +++ b/src/calibre/library/save_to_disk.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/library/schema_upgrades.py b/src/calibre/library/schema_upgrades.py index a9cd36a588..82eb27483a 100644 --- a/src/calibre/library/schema_upgrades.py +++ b/src/calibre/library/schema_upgrades.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/library/server/__init__.py b/src/calibre/library/server/__init__.py index cdfffe7d22..d54441cf16 100644 --- a/src/calibre/library/server/__init__.py +++ b/src/calibre/library/server/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/library/server/ajax.py b/src/calibre/library/server/ajax.py index eb0e60baae..865712fef6 100644 --- a/src/calibre/library/server/ajax.py +++ b/src/calibre/library/server/ajax.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/library/server/base.py b/src/calibre/library/server/base.py index 69d187dfa3..2043f412a3 100644 --- a/src/calibre/library/server/base.py +++ b/src/calibre/library/server/base.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/library/server/browse.py b/src/calibre/library/server/browse.py index 3836015582..c89280ea91 100644 --- a/src/calibre/library/server/browse.py +++ b/src/calibre/library/server/browse.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/library/server/cache.py b/src/calibre/library/server/cache.py index 4133e4d31d..e40d05625a 100644 --- a/src/calibre/library/server/cache.py +++ b/src/calibre/library/server/cache.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/library/server/content.py b/src/calibre/library/server/content.py index 7e2f22d9f2..ef7a7a7b0c 100644 --- a/src/calibre/library/server/content.py +++ b/src/calibre/library/server/content.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/library/server/main.py b/src/calibre/library/server/main.py index f85584d5f8..208370cfd0 100644 --- a/src/calibre/library/server/main.py +++ b/src/calibre/library/server/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/library/server/mobile.py b/src/calibre/library/server/mobile.py index 1b6468f710..8f355da9c7 100644 --- a/src/calibre/library/server/mobile.py +++ b/src/calibre/library/server/mobile.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/library/server/opds.py b/src/calibre/library/server/opds.py index 00d45a3f10..5733683bba 100644 --- a/src/calibre/library/server/opds.py +++ b/src/calibre/library/server/opds.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/library/server/utils.py b/src/calibre/library/server/utils.py index 57337d4c88..a3598441f5 100644 --- a/src/calibre/library/server/utils.py +++ b/src/calibre/library/server/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/library/server/xml.py b/src/calibre/library/server/xml.py index 9808f8d9a8..86130890b7 100644 --- a/src/calibre/library/server/xml.py +++ b/src/calibre/library/server/xml.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/library/test.py b/src/calibre/library/test.py index 86363b439c..7667d032b4 100644 --- a/src/calibre/library/test.py +++ b/src/calibre/library/test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/src/calibre/libunzip.py b/src/calibre/libunzip.py index 09681bd325..86dc2de4a4 100644 --- a/src/calibre/libunzip.py +++ b/src/calibre/libunzip.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/src/calibre/rpdb.py b/src/calibre/rpdb.py index 61eed1c646..d9a14b52a3 100644 --- a/src/calibre/rpdb.py +++ b/src/calibre/rpdb.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/spell/__init__.py b/src/calibre/spell/__init__.py index 2ca92243f3..5dfda22f25 100644 --- a/src/calibre/spell/__init__.py +++ b/src/calibre/spell/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/spell/break_iterator.py b/src/calibre/spell/break_iterator.py index a615a5fced..e88c15bcde 100644 --- a/src/calibre/spell/break_iterator.py +++ b/src/calibre/spell/break_iterator.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/spell/dictionary.py b/src/calibre/spell/dictionary.py index e948dab824..dea0647905 100644 --- a/src/calibre/spell/dictionary.py +++ b/src/calibre/spell/dictionary.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/spell/import_from.py b/src/calibre/spell/import_from.py index 70e3811030..9748dc948e 100644 --- a/src/calibre/spell/import_from.py +++ b/src/calibre/spell/import_from.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/test_build.py b/src/calibre/test_build.py index 4c42024391..f8acf78c90 100644 --- a/src/calibre/test_build.py +++ b/src/calibre/test_build.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/translations/msgfmt.py b/src/calibre/translations/msgfmt.py index cd3c890cf0..aa8e3b806c 100644 --- a/src/calibre/translations/msgfmt.py +++ b/src/calibre/translations/msgfmt.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 # Written by Martin v. Loewis """Generate binary message catalog from textual translation description. diff --git a/src/calibre/utils/__init__.py b/src/calibre/utils/__init__.py index ae68ee3b9b..c46b374080 100644 --- a/src/calibre/utils/__init__.py +++ b/src/calibre/utils/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/src/calibre/utils/apsw_shell.py b/src/calibre/utils/apsw_shell.py index 586781ad03..e35f9ed6c5 100644 --- a/src/calibre/utils/apsw_shell.py +++ b/src/calibre/utils/apsw_shell.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # This is a patched version of sheel.py to fix # https://code.google.com/p/apsw/issues/detail?id=142 diff --git a/src/calibre/utils/browser.py b/src/calibre/utils/browser.py index 4ee1478d73..ea1b1d9fca 100644 --- a/src/calibre/utils/browser.py +++ b/src/calibre/utils/browser.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/utils/complete.py b/src/calibre/utils/complete.py index d196a9521b..d90b839523 100644 --- a/src/calibre/utils/complete.py +++ b/src/calibre/utils/complete.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/utils/config_base.py b/src/calibre/utils/config_base.py index 1de7550fcb..85e15d36e3 100644 --- a/src/calibre/utils/config_base.py +++ b/src/calibre/utils/config_base.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/utils/date.py b/src/calibre/utils/date.py index 5ec475c7cf..54f6fbf281 100644 --- a/src/calibre/utils/date.py +++ b/src/calibre/utils/date.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/utils/file_associations.py b/src/calibre/utils/file_associations.py index c954418039..b1cda4a3c3 100644 --- a/src/calibre/utils/file_associations.py +++ b/src/calibre/utils/file_associations.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/utils/fonts/__init__.py b/src/calibre/utils/fonts/__init__.py index 3af92bd6a0..1f83450b67 100644 --- a/src/calibre/utils/fonts/__init__.py +++ b/src/calibre/utils/fonts/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/utils/fonts/free_type.py b/src/calibre/utils/fonts/free_type.py index b5059ea19b..ba604bbad2 100644 --- a/src/calibre/utils/fonts/free_type.py +++ b/src/calibre/utils/fonts/free_type.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/utils/fonts/metadata.py b/src/calibre/utils/fonts/metadata.py index b85a65a9d2..a552503c21 100644 --- a/src/calibre/utils/fonts/metadata.py +++ b/src/calibre/utils/fonts/metadata.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/utils/fonts/scanner.py b/src/calibre/utils/fonts/scanner.py index 653aec2cdc..079f358d5a 100644 --- a/src/calibre/utils/fonts/scanner.py +++ b/src/calibre/utils/fonts/scanner.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/utils/fonts/sfnt/__init__.py b/src/calibre/utils/fonts/sfnt/__init__.py index f3e0a2eae8..a87b8504b9 100644 --- a/src/calibre/utils/fonts/sfnt/__init__.py +++ b/src/calibre/utils/fonts/sfnt/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/utils/fonts/sfnt/cff/__init__.py b/src/calibre/utils/fonts/sfnt/cff/__init__.py index 743a9d0561..ae9ced197b 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 python +#!/usr/bin/env python2 # 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/utils/fonts/sfnt/cff/constants.py b/src/calibre/utils/fonts/sfnt/cff/constants.py index 20aa984344..0e7b7074c1 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 python +#!/usr/bin/env python2 # 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/utils/fonts/sfnt/cff/dict_data.py b/src/calibre/utils/fonts/sfnt/cff/dict_data.py index 3889a7cb13..244fcdef13 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 python +#!/usr/bin/env python2 # 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/utils/fonts/sfnt/cff/table.py b/src/calibre/utils/fonts/sfnt/cff/table.py index 8dd9013e53..952c588a42 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 python +#!/usr/bin/env python2 # 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/utils/fonts/sfnt/cff/writer.py b/src/calibre/utils/fonts/sfnt/cff/writer.py index 0e229c8938..5daa755b15 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 python +#!/usr/bin/env python2 # 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/utils/fonts/sfnt/cmap.py b/src/calibre/utils/fonts/sfnt/cmap.py index 94c13e0f68..7ffa88795a 100644 --- a/src/calibre/utils/fonts/sfnt/cmap.py +++ b/src/calibre/utils/fonts/sfnt/cmap.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/utils/fonts/sfnt/common.py b/src/calibre/utils/fonts/sfnt/common.py index 49ba77a28e..26e391cd84 100644 --- a/src/calibre/utils/fonts/sfnt/common.py +++ b/src/calibre/utils/fonts/sfnt/common.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/utils/fonts/sfnt/container.py b/src/calibre/utils/fonts/sfnt/container.py index 0987869610..a9ddc6a48c 100644 --- a/src/calibre/utils/fonts/sfnt/container.py +++ b/src/calibre/utils/fonts/sfnt/container.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/utils/fonts/sfnt/errors.py b/src/calibre/utils/fonts/sfnt/errors.py index c2a918d78b..bbce08fa83 100644 --- a/src/calibre/utils/fonts/sfnt/errors.py +++ b/src/calibre/utils/fonts/sfnt/errors.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/utils/fonts/sfnt/glyf.py b/src/calibre/utils/fonts/sfnt/glyf.py index decf9dc576..6ab86a752c 100644 --- a/src/calibre/utils/fonts/sfnt/glyf.py +++ b/src/calibre/utils/fonts/sfnt/glyf.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/utils/fonts/sfnt/gsub.py b/src/calibre/utils/fonts/sfnt/gsub.py index 826a26657e..0eff9b4575 100644 --- a/src/calibre/utils/fonts/sfnt/gsub.py +++ b/src/calibre/utils/fonts/sfnt/gsub.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/utils/fonts/sfnt/head.py b/src/calibre/utils/fonts/sfnt/head.py index 0297e8e7c8..7aa64a32bf 100644 --- a/src/calibre/utils/fonts/sfnt/head.py +++ b/src/calibre/utils/fonts/sfnt/head.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/utils/fonts/sfnt/kern.py b/src/calibre/utils/fonts/sfnt/kern.py index 11a8402e6d..88faa61953 100644 --- a/src/calibre/utils/fonts/sfnt/kern.py +++ b/src/calibre/utils/fonts/sfnt/kern.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/utils/fonts/sfnt/loca.py b/src/calibre/utils/fonts/sfnt/loca.py index 062cf561aa..557c31c500 100644 --- a/src/calibre/utils/fonts/sfnt/loca.py +++ b/src/calibre/utils/fonts/sfnt/loca.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/utils/fonts/sfnt/maxp.py b/src/calibre/utils/fonts/sfnt/maxp.py index 443d01b79e..6c8d3b81be 100644 --- a/src/calibre/utils/fonts/sfnt/maxp.py +++ b/src/calibre/utils/fonts/sfnt/maxp.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/utils/fonts/sfnt/metrics.py b/src/calibre/utils/fonts/sfnt/metrics.py index 2c9b3b98d5..b5774102e3 100644 --- a/src/calibre/utils/fonts/sfnt/metrics.py +++ b/src/calibre/utils/fonts/sfnt/metrics.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/utils/fonts/sfnt/subset.py b/src/calibre/utils/fonts/sfnt/subset.py index ca9964aa5f..ab43571ea4 100644 --- a/src/calibre/utils/fonts/sfnt/subset.py +++ b/src/calibre/utils/fonts/sfnt/subset.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/utils/fonts/utils.py b/src/calibre/utils/fonts/utils.py index 7678503e7f..11154057fd 100644 --- a/src/calibre/utils/fonts/utils.py +++ b/src/calibre/utils/fonts/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/utils/fonts/win_fonts.py b/src/calibre/utils/fonts/win_fonts.py index e00f2b0fd6..8bf7456058 100644 --- a/src/calibre/utils/fonts/win_fonts.py +++ b/src/calibre/utils/fonts/win_fonts.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/utils/fonts/woff/__init__.py b/src/calibre/utils/fonts/woff/__init__.py index 8684c03489..73bbc59c2b 100644 --- a/src/calibre/utils/fonts/woff/__init__.py +++ b/src/calibre/utils/fonts/woff/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/utils/formatter_functions.py b/src/calibre/utils/formatter_functions.py index d3aacb96b9..3970df12b5 100644 --- a/src/calibre/utils/formatter_functions.py +++ b/src/calibre/utils/formatter_functions.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 ''' diff --git a/src/calibre/utils/html2text.py b/src/calibre/utils/html2text.py index b581612eb7..56f4ee50cf 100644 --- a/src/calibre/utils/html2text.py +++ b/src/calibre/utils/html2text.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- """html2text: Turn HTML into equivalent Markdown-structured text.""" diff --git a/src/calibre/utils/https.py b/src/calibre/utils/https.py index c2afe7fee1..426cc6e5c3 100644 --- a/src/calibre/utils/https.py +++ b/src/calibre/utils/https.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/utils/icu.py b/src/calibre/utils/icu.py index b645a9d395..051c1592b1 100644 --- a/src/calibre/utils/icu.py +++ b/src/calibre/utils/icu.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/utils/icu_test.py b/src/calibre/utils/icu_test.py index c299b93a10..5fe0b9536e 100644 --- a/src/calibre/utils/icu_test.py +++ b/src/calibre/utils/icu_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/utils/ipc/__init__.py b/src/calibre/utils/ipc/__init__.py index 9735478a40..109362a62a 100644 --- a/src/calibre/utils/ipc/__init__.py +++ b/src/calibre/utils/ipc/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/utils/ipc/job.py b/src/calibre/utils/ipc/job.py index d99f2ae792..23ff3d16d2 100644 --- a/src/calibre/utils/ipc/job.py +++ b/src/calibre/utils/ipc/job.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/utils/ipc/launch.py b/src/calibre/utils/ipc/launch.py index 28cdeb4df8..2c3352d15d 100644 --- a/src/calibre/utils/ipc/launch.py +++ b/src/calibre/utils/ipc/launch.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/utils/ipc/pool.py b/src/calibre/utils/ipc/pool.py index dbe3e0d9d9..f37104c2ee 100644 --- a/src/calibre/utils/ipc/pool.py +++ b/src/calibre/utils/ipc/pool.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/utils/ipc/proxy.py b/src/calibre/utils/ipc/proxy.py index 897d79b423..9b56b57450 100644 --- a/src/calibre/utils/ipc/proxy.py +++ b/src/calibre/utils/ipc/proxy.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/utils/ipc/server.py b/src/calibre/utils/ipc/server.py index d0b14ac77e..2c31f89ce4 100644 --- a/src/calibre/utils/ipc/server.py +++ b/src/calibre/utils/ipc/server.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/utils/ipc/simple_worker.py b/src/calibre/utils/ipc/simple_worker.py index 0a0e0cbcaf..5d23118731 100644 --- a/src/calibre/utils/ipc/simple_worker.py +++ b/src/calibre/utils/ipc/simple_worker.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/utils/ipc/worker.py b/src/calibre/utils/ipc/worker.py index 4227f7e9d8..0c1e251cd4 100644 --- a/src/calibre/utils/ipc/worker.py +++ b/src/calibre/utils/ipc/worker.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/utils/ipython.py b/src/calibre/utils/ipython.py index d31d6e0dfd..63da1241f5 100644 --- a/src/calibre/utils/ipython.py +++ b/src/calibre/utils/ipython.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/utils/linux_trash.py b/src/calibre/utils/linux_trash.py index 9c1559435b..a74ac7d865 100644 --- a/src/calibre/utils/linux_trash.py +++ b/src/calibre/utils/linux_trash.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/utils/localization.py b/src/calibre/utils/localization.py index 1d07a95a70..f316607f1d 100644 --- a/src/calibre/utils/localization.py +++ b/src/calibre/utils/localization.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import absolute_import diff --git a/src/calibre/utils/localunzip.py b/src/calibre/utils/localunzip.py index 289b9d46c0..2b7165385b 100644 --- a/src/calibre/utils/localunzip.py +++ b/src/calibre/utils/localunzip.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/utils/magick/__init__.py b/src/calibre/utils/magick/__init__.py index b8ebabe0c1..0b9a6088f4 100644 --- a/src/calibre/utils/magick/__init__.py +++ b/src/calibre/utils/magick/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/utils/magick/draw.py b/src/calibre/utils/magick/draw.py index 73832a1371..8b9243e7dd 100644 --- a/src/calibre/utils/magick/draw.py +++ b/src/calibre/utils/magick/draw.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/utils/magick/generate.py b/src/calibre/utils/magick/generate.py index a881912ffb..186c6b89ee 100644 --- a/src/calibre/utils/magick/generate.py +++ b/src/calibre/utils/magick/generate.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/utils/matcher.py b/src/calibre/utils/matcher.py index 895d29082a..04e9d08ee7 100644 --- a/src/calibre/utils/matcher.py +++ b/src/calibre/utils/matcher.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/utils/mem.py b/src/calibre/utils/mem.py index 3bc1f29636..d2bed39fa7 100644 --- a/src/calibre/utils/mem.py +++ b/src/calibre/utils/mem.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/utils/network.py b/src/calibre/utils/network.py index c47eacbe3f..081d7a811b 100644 --- a/src/calibre/utils/network.py +++ b/src/calibre/utils/network.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/utils/ordered_dict.py b/src/calibre/utils/ordered_dict.py index e871913987..4f64e5e131 100644 --- a/src/calibre/utils/ordered_dict.py +++ b/src/calibre/utils/ordered_dict.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/utils/pdftk.py b/src/calibre/utils/pdftk.py index f4fcb8a2e3..71d096b1a4 100644 --- a/src/calibre/utils/pdftk.py +++ b/src/calibre/utils/pdftk.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/utils/podofo/__init__.py b/src/calibre/utils/podofo/__init__.py index 455d388c1d..ee7a02a4be 100644 --- a/src/calibre/utils/podofo/__init__.py +++ b/src/calibre/utils/podofo/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/utils/pyconsole/__init__.py b/src/calibre/utils/pyconsole/__init__.py index 6ef9f04d4b..5a59e1509d 100644 --- a/src/calibre/utils/pyconsole/__init__.py +++ b/src/calibre/utils/pyconsole/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/utils/pyconsole/console.py b/src/calibre/utils/pyconsole/console.py index 92d49e8188..1e68366b6d 100644 --- a/src/calibre/utils/pyconsole/console.py +++ b/src/calibre/utils/pyconsole/console.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/utils/pyconsole/controller.py b/src/calibre/utils/pyconsole/controller.py index 075b275fde..329e9eb8f0 100644 --- a/src/calibre/utils/pyconsole/controller.py +++ b/src/calibre/utils/pyconsole/controller.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/utils/pyconsole/formatter.py b/src/calibre/utils/pyconsole/formatter.py index ef842a04d5..ded6787ad2 100644 --- a/src/calibre/utils/pyconsole/formatter.py +++ b/src/calibre/utils/pyconsole/formatter.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/utils/pyconsole/history.py b/src/calibre/utils/pyconsole/history.py index 5440e57153..63e85dec92 100644 --- a/src/calibre/utils/pyconsole/history.py +++ b/src/calibre/utils/pyconsole/history.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/utils/pyconsole/interpreter.py b/src/calibre/utils/pyconsole/interpreter.py index 1c06f8102e..8168cc7054 100644 --- a/src/calibre/utils/pyconsole/interpreter.py +++ b/src/calibre/utils/pyconsole/interpreter.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/utils/pyconsole/main.py b/src/calibre/utils/pyconsole/main.py index ec89d5ea88..77d727f663 100644 --- a/src/calibre/utils/pyconsole/main.py +++ b/src/calibre/utils/pyconsole/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/utils/pyparsing.py b/src/calibre/utils/pyparsing.py index 8c3521f69f..33b0afffdf 100644 --- a/src/calibre/utils/pyparsing.py +++ b/src/calibre/utils/pyparsing.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/utils/recycle_bin.py b/src/calibre/utils/recycle_bin.py index 0838ff4745..35f334b171 100644 --- a/src/calibre/utils/recycle_bin.py +++ b/src/calibre/utils/recycle_bin.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import print_function diff --git a/src/calibre/utils/resources.py b/src/calibre/utils/resources.py index c2dc580b3f..ab794b6186 100644 --- a/src/calibre/utils/resources.py +++ b/src/calibre/utils/resources.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/utils/search_query_parser.py b/src/calibre/utils/search_query_parser.py index d3950577d2..4c0870652e 100644 --- a/src/calibre/utils/search_query_parser.py +++ b/src/calibre/utils/search_query_parser.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # encoding: utf-8 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' diff --git a/src/calibre/utils/serve_coffee.py b/src/calibre/utils/serve_coffee.py index 5f40792a1c..647da57a5f 100644 --- a/src/calibre/utils/serve_coffee.py +++ b/src/calibre/utils/serve_coffee.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/utils/sftp.py b/src/calibre/utils/sftp.py index 84f38f3f4b..0eead7f06c 100644 --- a/src/calibre/utils/sftp.py +++ b/src/calibre/utils/sftp.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' diff --git a/src/calibre/utils/smartypants.py b/src/calibre/utils/smartypants.py index 1bc45b15e4..a7e4038bdd 100644 --- a/src/calibre/utils/smartypants.py +++ b/src/calibre/utils/smartypants.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # vim:fileencoding=utf-8 __author__ = "Chad Miller , Kovid Goyal " diff --git a/src/calibre/utils/socket_inheritance.py b/src/calibre/utils/socket_inheritance.py index 6e42301c0f..439977d1c5 100644 --- a/src/calibre/utils/socket_inheritance.py +++ b/src/calibre/utils/socket_inheritance.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/utils/spell/__init__.py b/src/calibre/utils/spell/__init__.py index 2dfbaa2fb8..dec2b33a58 100644 --- a/src/calibre/utils/spell/__init__.py +++ b/src/calibre/utils/spell/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/utils/terminal.py b/src/calibre/utils/terminal.py index 19c67b1520..0b589c0a9b 100644 --- a/src/calibre/utils/terminal.py +++ b/src/calibre/utils/terminal.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/utils/text2int.py b/src/calibre/utils/text2int.py index df33248357..87a2239ad1 100755 --- a/src/calibre/utils/text2int.py +++ b/src/calibre/utils/text2int.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __author__ = "stackoverflow community" __docformat__ = 'restructuredtext en' """ diff --git a/src/calibre/utils/titlecase.py b/src/calibre/utils/titlecase.py index 1877b2c248..2e188dac17 100755 --- a/src/calibre/utils/titlecase.py +++ b/src/calibre/utils/titlecase.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ diff --git a/src/calibre/utils/unrar.py b/src/calibre/utils/unrar.py index 3aeb9cb8c8..a7b46b1f5d 100644 --- a/src/calibre/utils/unrar.py +++ b/src/calibre/utils/unrar.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # 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/utils/wmf/__init__.py b/src/calibre/utils/wmf/__init__.py index 436c4ff68e..c6ac6c7f20 100644 --- a/src/calibre/utils/wmf/__init__.py +++ b/src/calibre/utils/wmf/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/utils/wmf/emf.py b/src/calibre/utils/wmf/emf.py index 53b154a00b..d7f400c93a 100644 --- a/src/calibre/utils/wmf/emf.py +++ b/src/calibre/utils/wmf/emf.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/utils/wmf/parse.py b/src/calibre/utils/wmf/parse.py index a330ae5ef2..8e04f02ab2 100644 --- a/src/calibre/utils/wmf/parse.py +++ b/src/calibre/utils/wmf/parse.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai __license__ = 'GPL v3' diff --git a/src/calibre/utils/wordcount.py b/src/calibre/utils/wordcount.py index cd0058fb2f..ae17481c89 100644 --- a/src/calibre/utils/wordcount.py +++ b/src/calibre/utils/wordcount.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai """ Get word, character, and Asian character counts diff --git a/src/calibre/web/feeds/__init__.py b/src/calibre/web/feeds/__init__.py index c44936a479..145d769a6a 100644 --- a/src/calibre/web/feeds/__init__.py +++ b/src/calibre/web/feeds/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' diff --git a/src/calibre/web/feeds/jsnews.py b/src/calibre/web/feeds/jsnews.py index c7b4a53e0f..cd29f87c3a 100644 --- a/src/calibre/web/feeds/jsnews.py +++ b/src/calibre/web/feeds/jsnews.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/web/feeds/recipes/__init__.py b/src/calibre/web/feeds/recipes/__init__.py index 09965324c5..20d96116ac 100644 --- a/src/calibre/web/feeds/recipes/__init__.py +++ b/src/calibre/web/feeds/recipes/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __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 6edb131af1..263cc4f5b5 100644 --- a/src/calibre/web/feeds/recipes/collection.py +++ b/src/calibre/web/feeds/recipes/collection.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/web/feeds/recipes/model.py b/src/calibre/web/feeds/recipes/model.py index c8db39f869..22bcc878b2 100644 --- a/src/calibre/web/feeds/recipes/model.py +++ b/src/calibre/web/feeds/recipes/model.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import with_statement diff --git a/src/calibre/web/feeds/templates.py b/src/calibre/web/feeds/templates.py index 3ee90c43a6..840baa1d4e 100644 --- a/src/calibre/web/feeds/templates.py +++ b/src/calibre/web/feeds/templates.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' diff --git a/src/calibre/web/fetch/javascript.py b/src/calibre/web/fetch/javascript.py index c9127d0926..ae9dd31101 100644 --- a/src/calibre/web/fetch/javascript.py +++ b/src/calibre/web/fetch/javascript.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/web/fetch/simple.py b/src/calibre/web/fetch/simple.py index fd9a1ce13b..8c7f32c750 100644 --- a/src/calibre/web/fetch/simple.py +++ b/src/calibre/web/fetch/simple.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 from __future__ import with_statement __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' diff --git a/src/calibre/web/jsbrowser/__init__.py b/src/calibre/web/jsbrowser/__init__.py index 6e45b0e9e6..987304b4a8 100644 --- a/src/calibre/web/jsbrowser/__init__.py +++ b/src/calibre/web/jsbrowser/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/web/jsbrowser/browser.py b/src/calibre/web/jsbrowser/browser.py index f16deb22df..58f55c1610 100644 --- a/src/calibre/web/jsbrowser/browser.py +++ b/src/calibre/web/jsbrowser/browser.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/web/jsbrowser/forms.py b/src/calibre/web/jsbrowser/forms.py index 52273abc21..e71f1698fa 100644 --- a/src/calibre/web/jsbrowser/forms.py +++ b/src/calibre/web/jsbrowser/forms.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/web/jsbrowser/login.py b/src/calibre/web/jsbrowser/login.py index 24876b4bae..67fb9e0d03 100644 --- a/src/calibre/web/jsbrowser/login.py +++ b/src/calibre/web/jsbrowser/login.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/calibre/web/jsbrowser/test.py b/src/calibre/web/jsbrowser/test.py index 6f18d7b850..98adba58bd 100644 --- a/src/calibre/web/jsbrowser/test.py +++ b/src/calibre/web/jsbrowser/test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/templite/__init__.py b/src/templite/__init__.py index 3586709b7b..a54bf0a484 100644 --- a/src/templite/__init__.py +++ b/src/templite/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # Templite+ # A light-weight, fully functional, general purpose templating engine diff --git a/src/tinycss/fonts3.py b/src/tinycss/fonts3.py index 9a53c1b55d..d9fa043aff 100644 --- a/src/tinycss/fonts3.py +++ b/src/tinycss/fonts3.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/tinycss/media3.py b/src/tinycss/media3.py index 1baba30c99..5d91c9f080 100644 --- a/src/tinycss/media3.py +++ b/src/tinycss/media3.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/tinycss/tests/__init__.py b/src/tinycss/tests/__init__.py index e76516f625..bbdfb51d47 100644 --- a/src/tinycss/tests/__init__.py +++ b/src/tinycss/tests/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/tinycss/tests/color3.py b/src/tinycss/tests/color3.py index 9e7c55eac7..f32a79a436 100644 --- a/src/tinycss/tests/color3.py +++ b/src/tinycss/tests/color3.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/tinycss/tests/css21.py b/src/tinycss/tests/css21.py index 4231e66b85..09f6691a9e 100644 --- a/src/tinycss/tests/css21.py +++ b/src/tinycss/tests/css21.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/tinycss/tests/decoding.py b/src/tinycss/tests/decoding.py index f893c32b4c..3b0010d61a 100644 --- a/src/tinycss/tests/decoding.py +++ b/src/tinycss/tests/decoding.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/tinycss/tests/fonts3.py b/src/tinycss/tests/fonts3.py index 5ed4d9381b..dfe27225cd 100644 --- a/src/tinycss/tests/fonts3.py +++ b/src/tinycss/tests/fonts3.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/tinycss/tests/main.py b/src/tinycss/tests/main.py index 208ad7f095..cc2f45a9d4 100644 --- a/src/tinycss/tests/main.py +++ b/src/tinycss/tests/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/tinycss/tests/media3.py b/src/tinycss/tests/media3.py index 44369546af..59a5db800c 100644 --- a/src/tinycss/tests/media3.py +++ b/src/tinycss/tests/media3.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/tinycss/tests/page3.py b/src/tinycss/tests/page3.py index bfc24d7043..010b34c517 100644 --- a/src/tinycss/tests/page3.py +++ b/src/tinycss/tests/page3.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) diff --git a/src/tinycss/tests/tokenizing.py b/src/tinycss/tests/tokenizing.py index d6f91f651d..88ca90a59d 100644 --- a/src/tinycss/tests/tokenizing.py +++ b/src/tinycss/tests/tokenizing.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function)