summaryrefslogtreecommitdiff
path: root/source3/python/examples/spoolss/psec.py
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-09-10 06:41:27 +0000
committerTim Potter <tpot@samba.org>2002-09-10 06:41:27 +0000
commitd4b6d5db9145ae62c99e2432cf524f83fdc72277 (patch)
tree980bd903a0c2618587817d249cc3f72af1b29240 /source3/python/examples/spoolss/psec.py
parent5793e15a27bf9f3bd00120ab0ff000b3935b19bf (diff)
downloadsamba-d4b6d5db9145ae62c99e2432cf524f83fdc72277.tar.gz
samba-d4b6d5db9145ae62c99e2432cf524f83fdc72277.tar.bz2
samba-d4b6d5db9145ae62c99e2432cf524f83fdc72277.zip
Updated examples for new top level module layout.
Fixed some bugs also. (This used to be commit 3e19e3afdb6fd1f63dee9ca52a5d33090670832e)
Diffstat (limited to 'source3/python/examples/spoolss/psec.py')
-rwxr-xr-xsource3/python/examples/spoolss/psec.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/python/examples/spoolss/psec.py b/source3/python/examples/spoolss/psec.py
index f3fdb7bccd..498a0ef174 100755
--- a/source3/python/examples/spoolss/psec.py
+++ b/source3/python/examples/spoolss/psec.py
@@ -3,7 +3,8 @@
# Get or set the security descriptor on a printer
#
-import sys, spoolss, re, string
+import sys, re, string
+from samba import spoolss
if len(sys.argv) != 3:
print "Usage: psec.py getsec|setsec printername"