Skip to content

Commit

Permalink
Use uniform shebang in all demos
Browse files Browse the repository at this point in the history
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 <cheimes@redhat.com>
  • Loading branch information
Christian Heimes authored and Petr Viktorin committed Dec 5, 2017
1 parent ed0f6ed commit 4657710
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Demo/pyasn1/sessiontrack.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
demo_track_ldap_session.py
Expand Down
2 changes: 1 addition & 1 deletion Demo/pyasn1/syncrepl.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Demo/simplebrowse.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! python
#!/usr/bin/env python

#
# simple LDAP server browsing example
Expand Down

0 comments on commit 4657710

Please sign in to comment.