git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r25598: Add missing become_root/unbecome_root around calls of add_aliases.
[samba.git]
/
source
/
python
/
examples
/
spoolss
/
changeid.py
diff --git
a/source/python/examples/spoolss/changeid.py
b/source/python/examples/spoolss/changeid.py
index b2345094edcbdaa147a960a3362c3570a8b92ce2..85fe0efe8a4c534e29816d19a4f2511a680c8dde 100755
(executable)
--- a/
source/python/examples/spoolss/changeid.py
+++ b/
source/python/examples/spoolss/changeid.py
@@
-2,8
+2,13
@@
#
# Display the changeid for a list of printers given on the command line
#
#
# 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>"
if len(sys.argv) == 1:
print "Usage: changeid.py <printername>"