summaryrefslogtreecommitdiff
path: root/gio/data-to-c.py
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2017-11-10 00:54:36 +0000
committerPhilip Withnall <withnall@endlessm.com>2017-11-10 11:47:57 +0000
commit1897e66dce271027512497bd9db70f155d9bf9d7 (patch)
tree51dbbf96c294428eae3e9873e586535f85a3ea8f /gio/data-to-c.py
parent63e9d109fd3705067ef3b6a73062965856802bde (diff)
downloadglib-1897e66dce271027512497bd9db70f155d9bf9d7.tar.gz
build: Drop data-to-c.pl in favour of data-to-c.py
The Python version was added for the Meson build, but we might as well use it from autotools too, since it does exactly the same thing as the Perl version (modulo not including a trailing linebreak, but that doesn’t matter). Works fine with Python 2.7 or Python 3. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=790147
Diffstat (limited to 'gio/data-to-c.py')
-rwxr-xr-x[-rw-r--r--]gio/data-to-c.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/data-to-c.py b/gio/data-to-c.py
index 7a8d8a865..f226220ed 100644..100755
--- a/gio/data-to-c.py
+++ b/gio/data-to-c.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/env python
import sys