r25598: Add missing become_root/unbecome_root around calls of add_aliases.
[samba.git] / source / python / examples / spoolss / changeid.py
index b2345094edcbdaa147a960a3362c3570a8b92ce2..85fe0efe8a4c534e29816d19a4f2511a680c8dde 100755 (executable)
@@ -2,8 +2,13 @@
 #
 # Display the changeid for a list of printers given on the command line
 #
+# Sample usage:
+#
+#     changeid.py '\\win2kdc1\magpie'
+#
 
-import sys, spoolss
+import sys
+from samba import spoolss
 
 if len(sys.argv) == 1:
     print "Usage: changeid.py <printername>"