summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-09-28 21:30:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:50 -0500
commit8ffb8bf944d1fafa2b01a0adb9f60d87b962aef9 (patch)
treef91a6fbafcf5f61bdd3f849c65ba1c9823c8161c /source3
parent11c15472f88da041b6b632b8b6dfca28875d82f7 (diff)
downloadsamba-8ffb8bf944d1fafa2b01a0adb9f60d87b962aef9.tar.gz
samba-8ffb8bf944d1fafa2b01a0adb9f60d87b962aef9.tar.bz2
samba-8ffb8bf944d1fafa2b01a0adb9f60d87b962aef9.zip
r2736: Fix bug in Python printerdata wraper found by Daniel Jarboe.
(This used to be commit 8ec28d613d6dcade135b314c6764fbafcc8ed79c)
Diffstat (limited to 'source3')
-rw-r--r--source3/python/samba/printerdata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/python/samba/printerdata.py b/source3/python/samba/printerdata.py
index 0b53a3dfb5..81575fecb2 100644
--- a/source3/python/samba/printerdata.py
+++ b/source3/python/samba/printerdata.py
@@ -62,4 +62,4 @@ class printerdata_ex:
return self.hnd.getprinterdataex(self.key, key)['data']
def __getitem__(self, key):
- return self.printerdata_ex_subkey(self.host, key, creds, access)
+ return self.printerdata_ex_subkey(self.host, key, self.creds, access)