summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
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)