From 4657710b445dcc54112034b1907acea64f2e9b98 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Tue, 5 Dec 2017 13:40:48 +0100 Subject: [PATCH] Use uniform shebang in all demos Demo scripts used different style of shebangs. The shebang "#!/usr/bin/env python" is preferred because it works nicely in virtual envs. https://github.com/python-ldap/python-ldap/pull/97 Signed-off-by: Christian Heimes --- Demo/pyasn1/sessiontrack.py | 2 +- Demo/pyasn1/syncrepl.py | 2 +- Demo/simplebrowse.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Demo/pyasn1/sessiontrack.py b/Demo/pyasn1/sessiontrack.py index 91909a3..33dddda 100644 --- a/Demo/pyasn1/sessiontrack.py +++ b/Demo/pyasn1/sessiontrack.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- """ demo_track_ldap_session.py diff --git a/Demo/pyasn1/syncrepl.py b/Demo/pyasn1/syncrepl.py index e4c62e8..3614792 100644 --- a/Demo/pyasn1/syncrepl.py +++ b/Demo/pyasn1/syncrepl.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- """ This script implements a syncrepl consumer which syncs data from an OpenLDAP diff --git a/Demo/simplebrowse.py b/Demo/simplebrowse.py index aa88f67..d13c368 100644 --- a/Demo/simplebrowse.py +++ b/Demo/simplebrowse.py @@ -1,4 +1,4 @@ -#! python +#!/usr/bin/env python # # simple LDAP server browsing example