1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-07 00:58:40 +03:00

r2736: Fix bug in Python printerdata wraper found by Daniel Jarboe.

(This used to be commit 8ec28d613d6dcade135b314c6764fbafcc8ed79c)
This commit is contained in:
Tim Potter 2004-09-28 21:30:54 +00:00 committed by Gerald (Jerry) Carter
parent 11c15472f8
commit 8ffb8bf944

View File

@ -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)