[anjuta] project-wizard: Move python shebang to the first line of the template
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] project-wizard: Move python shebang to the first line of the template
- Date: Mon, 25 Nov 2013 14:58:25 +0000 (UTC)
commit 36f1f73c0d1a3ccbe91054d1e9ae282d6f1181fb
Author: Johannes Schmid <jhs gnome org>
Date: Mon Nov 25 15:35:22 2013 +0100
project-wizard: Move python shebang to the first line of the template
Fixes rh#1030156
plugins/project-wizard/templates/pygtk/src/main.py | 4 ++--
.../project-wizard/templates/python/src/main.py | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/project-wizard/templates/pygtk/src/main.py
b/plugins/project-wizard/templates/pygtk/src/main.py
index bb88a06..461ef58 100644
--- a/plugins/project-wizard/templates/pygtk/src/main.py
+++ b/plugins/project-wizard/templates/pygtk/src/main.py
@@ -1,8 +1,8 @@
[+ autogen5 template +]
+#!/usr/bin/env python
+# [+INVOKE EMACS-MODELINE MODE="Python; coding: utf-8" +]
[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
[+INCLUDE (string-append "indent.tpl") \+]
-#!/usr/bin/python
-# [+INVOKE EMACS-MODELINE MODE="Python; coding: utf-8" +]
[+INVOKE START-INDENT\+]
#
# main.py
diff --git a/plugins/project-wizard/templates/python/src/main.py
b/plugins/project-wizard/templates/python/src/main.py
index 63ae240..149f762 100644
--- a/plugins/project-wizard/templates/python/src/main.py
+++ b/plugins/project-wizard/templates/python/src/main.py
@@ -1,8 +1,8 @@
[+ autogen5 template +]
+#!/usr/bin/env python
+# [+INVOKE EMACS-MODELINE MODE="Python; coding: utf-8" +]
[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
[+INCLUDE (string-append "indent.tpl") \+]
-#!/usr/bin/python
-# [+INVOKE EMACS-MODELINE MODE="Python; coding: utf-8" +]
[+INVOKE START-INDENT\+]
#
# main.py
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]