From 7427823be5dd2d3f8f3dbfd354512de239b91031 Mon Sep 17 00:00:00 2001 From: Doug Newgard Date: Sun, 12 Jul 2015 12:41:28 -0500 Subject: [PATCH] Change rest of the shebangs to use python2 --- src/calibre/ebooks/conversion/plugins/docx_output.py | 2 +- src/calibre/ebooks/docx/writer/from_html.py | 2 +- src/calibre/ebooks/docx/writer/utils.py | 2 +- src/cherrypy/process/servers.py | 2 +- src/odf/element.py | 2 +- src/odf/elementtypes.py | 2 +- src/odf/load.py | 2 +- src/odf/manifest.py | 2 +- src/odf/odf2xhtml.py | 2 +- src/odf/odfmanifest.py | 2 +- src/odf/thumbnail.py | 2 +- src/odf/userfield.py | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/calibre/ebooks/conversion/plugins/docx_output.py b/src/calibre/ebooks/conversion/plugins/docx_output.py index c3d20ddafe..4c1b751196 100644 --- a/src/calibre/ebooks/conversion/plugins/docx_output.py +++ b/src/calibre/ebooks/conversion/plugins/docx_output.py @@ -1,4 +1,4 @@ -#!/usr/bin/env 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/from_html.py b/src/calibre/ebooks/docx/writer/from_html.py index 6d269efd21..a1f93d87d1 100644 --- a/src/calibre/ebooks/docx/writer/from_html.py +++ b/src/calibre/ebooks/docx/writer/from_html.py @@ -1,4 +1,4 @@ -#!/usr/bin/env 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/utils.py b/src/calibre/ebooks/docx/writer/utils.py index 5194557ed7..ed8bb1a8f4 100644 --- a/src/calibre/ebooks/docx/writer/utils.py +++ b/src/calibre/ebooks/docx/writer/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/cherrypy/process/servers.py b/src/cherrypy/process/servers.py index 456da1e5f5..0294518604 100644 --- a/src/cherrypy/process/servers.py +++ b/src/cherrypy/process/servers.py @@ -52,7 +52,7 @@ CherryPy code hello.py:: - #!/usr/bin/python + #!/usr/bin/python2 import cherrypy class HelloWorld: diff --git a/src/odf/element.py b/src/odf/element.py index aad698045e..c9e88d1d7c 100644 --- a/src/odf/element.py +++ b/src/odf/element.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # -*- coding: utf-8 -*- # Copyright (C) 2007-2010 Søren Roug, European Environment Agency # diff --git a/src/odf/elementtypes.py b/src/odf/elementtypes.py index 7c19412e6c..345e61556a 100644 --- a/src/odf/elementtypes.py +++ b/src/odf/elementtypes.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # -*- coding: utf-8 -*- # Copyright (C) 2008 Søren Roug, European Environment Agency # diff --git a/src/odf/load.py b/src/odf/load.py index 04915fdf84..5d2f3d5040 100644 --- a/src/odf/load.py +++ b/src/odf/load.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # -*- coding: utf-8 -*- # Copyright (C) 2007-2008 Søren Roug, European Environment Agency # diff --git a/src/odf/manifest.py b/src/odf/manifest.py index de59048b91..82073987a9 100644 --- a/src/odf/manifest.py +++ b/src/odf/manifest.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # -*- coding: utf-8 -*- # Copyright (C) 2006-2007 Søren Roug, European Environment Agency # diff --git a/src/odf/odf2xhtml.py b/src/odf/odf2xhtml.py index d38d064190..17c8ac021e 100644 --- a/src/odf/odf2xhtml.py +++ b/src/odf/odf2xhtml.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # -*- coding: utf-8 -*- # Copyright (C) 2006-2010 Søren Roug, European Environment Agency # diff --git a/src/odf/odfmanifest.py b/src/odf/odfmanifest.py index a8f1655e88..c25a028bbf 100644 --- a/src/odf/odfmanifest.py +++ b/src/odf/odfmanifest.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # -*- coding: utf-8 -*- # Copyright (C) 2006-2007 Søren Roug, European Environment Agency # diff --git a/src/odf/thumbnail.py b/src/odf/thumbnail.py index d6388ccb70..f4d9698019 100644 --- a/src/odf/thumbnail.py +++ b/src/odf/thumbnail.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # -*- coding: utf-8 -*- # This contains a 128x128 px thumbnail in PNG format # Taken from http://www.zwahlendesign.ch/en/node/20 diff --git a/src/odf/userfield.py b/src/odf/userfield.py index 196bae17b3..a0f6b1641d 100644 --- a/src/odf/userfield.py +++ b/src/odf/userfield.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # -*- coding: utf-8 -*- # Copyright (C) 2006-2009 Søren Roug, European Environment Agency #