summaryrefslogtreecommitdiff
path: root/scripts/make-version-file
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/make-version-file
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/make-version-file')
-rwxr-xr-xscripts/make-version-file4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/make-version-file b/scripts/make-version-file
index 6c597090..3bb33319 100755
--- a/scripts/make-version-file
+++ b/scripts/make-version-file
@@ -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
@@ -19,7 +20,6 @@
# that is included in the image and used by 'show version' command
# and install/upgrade scripts.
-from __future__ import print_function
import os
import datetime
import json