summaryrefslogtreecommitdiffstats
path: root/source/python/samba
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
commit8ec28d613d6dcade135b314c6764fbafcc8ed79c (patch)
tree4fa44796314e83d09e2a425c12bb081ed06a7484 /source/python/samba
parent8521891ee87551e62fedecef2f5efa49f6c90a99 (diff)
downloadsamba-8ec28d613d6dcade135b314c6764fbafcc8ed79c.tar.gz
samba-8ec28d613d6dcade135b314c6764fbafcc8ed79c.tar.xz
samba-8ec28d613d6dcade135b314c6764fbafcc8ed79c.zip
r2736: Fix bug in Python printerdata wraper found by Daniel Jarboe.
Diffstat (limited to 'source/python/samba')
-rw-r--r--source/python/samba/printerdata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/python/samba/printerdata.py b/source/python/samba/printerdata.py
index 0b53a3dfb52..81575fecb2d 100644
--- a/source/python/samba/printerdata.py
+++ b/source/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)