Skip to content

Commit 4657710

Browse files
tiranencukou
authored andcommitted
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. python-ldap#97 Signed-off-by: Christian Heimes <cheimes@redhat.com>
1 parent ed0f6ed commit 4657710

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Demo/pyasn1/sessiontrack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python
1+
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
"""
44
demo_track_ldap_session.py

Demo/pyasn1/syncrepl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python
1+
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
"""
44
This script implements a syncrepl consumer which syncs data from an OpenLDAP

Demo/simplebrowse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! python
1+
#!/usr/bin/env python
22

33
#
44
# simple LDAP server browsing example

0 commit comments

Comments
 (0)