From 861e62aa5d7c1cb7eeb7d01fcf6530fb25e56b4a Mon Sep 17 00:00:00 2001 From: Sharif Olorin Date: Tue, 11 Mar 2014 20:44:54 +1100 Subject: [PATCH] Update Python hashbang to respect environment The /usr/bin/python hashbang causes doc builds to fail when Python3 is the default Python and Python2 is being used from within a virtualenv or Pythonbrew environment. Signed-off-by: Sharif Olorin --- doc/scripts/gen_state_diagram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/scripts/gen_state_diagram.py b/doc/scripts/gen_state_diagram.py index 603cb9c821e1..a1830826500f 100755 --- a/doc/scripts/gen_state_diagram.py +++ b/doc/scripts/gen_state_diagram.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import re import sys -- 2.47.3