diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-09-18 21:32:30 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-09-18 21:32:30 +0200 |
commit | a48f19b6c2c954e743438e9f2814289247ba3fc6 (patch) | |
tree | 976daa7aee05212ff3cf4156a5b2a03aa3681468 /source4/scripting/bin/epdump | |
parent | acffa3ddbfe982ee0c2f8d1eb45993fd655db674 (diff) | |
download | samba-a48f19b6c2c954e743438e9f2814289247ba3fc6.tar.gz samba-a48f19b6c2c954e743438e9f2814289247ba3fc6.tar.bz2 samba-a48f19b6c2c954e743438e9f2814289247ba3fc6.zip |
Remove python extension, simplify some code.
Diffstat (limited to 'source4/scripting/bin/epdump')
-rwxr-xr-x | source4/scripting/bin/epdump | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/source4/scripting/bin/epdump b/source4/scripting/bin/epdump new file mode 100755 index 0000000000..15dee33774 --- /dev/null +++ b/source4/scripting/bin/epdump @@ -0,0 +1,24 @@ +#!/usr/bin/python + +# Unix SMB/CIFS implementation. +# Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2008 +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# + +import sys + +if len(sys.argv) < 2: + print "Usage: %s <binding-string>" % sys.argv[0] + sys.exit(1) |