r25598: Add missing become_root/unbecome_root around calls of add_aliases.
[samba.git] / source / python / examples / spoolss / psec.py
index f3fdb7bccd602eec03a6843c23a46f97a7d7d890..498a0ef1744e2d3a9d470ef70f8c369bb023eed8 100755 (executable)
@@ -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"