summaryrefslogtreecommitdiff
path: root/scripts/query-json
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2017-01-25 17:01:16 -0500
committerDaniil Baturin <daniil@baturin.org>2017-01-25 17:01:16 -0500
commitea48b7bd747df4ae5c8ee64c72cdc67e31ddcd5a (patch)
tree629c314afb8af9df59c106553b5296d21cf0aa1d /scripts/query-json
parentb7cbda3bffcc45c329759907f9665375df90d161 (diff)
downloadvyos-build-ea48b7bd747df4ae5c8ee64c72cdc67e31ddcd5a.tar.gz
vyos-build-ea48b7bd747df4ae5c8ee64c72cdc67e31ddcd5a.zip
Switch all build scripts to python3.
Since we only support jessie as build host, and jessie knowingly does have python3 (although not by default), we don't really need to worry about being both 2 and 3 compatible.
Diffstat (limited to 'scripts/query-json')
-rwxr-xr-xscripts/query-json5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/query-json b/scripts/query-json
index 23e64ef7..2f1ea32f 100755
--- a/scripts/query-json
+++ b/scripts/query-json
@@ -1,4 +1,5 @@
-#!/usr/bin/python
+#!/usr/bin/python3
+#
# Copyright (C) 2016 VyOS maintainers and contributors
#
# This program is free software; you can redistribute it and/or modify
@@ -14,7 +15,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# File: query-config
-# Purpose: Extracts field values a flat JSON file,
+# Purpose: Extracts field values from a flat JSON file,
# for use in languages that can't handle JSON easily,
# (I'm looking at you, Bourne shell!)