summaryrefslogtreecommitdiffstats
path: root/source/python/examples/spoolss/psec.py
diff options
context:
space:
mode:
Diffstat (limited to 'source/python/examples/spoolss/psec.py')
-rwxr-xr-xsource/python/examples/spoolss/psec.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/python/examples/spoolss/psec.py b/source/python/examples/spoolss/psec.py
index f3fdb7bccd6..498a0ef1744 100755
--- a/source/python/examples/spoolss/psec.py
+++ b/source/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"