From: Tim Potter Date: Tue, 28 Sep 2004 21:30:54 +0000 (+0000) Subject: r2736: Fix bug in Python printerdata wraper found by Daniel Jarboe. X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5745 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8ec28d613d6dcade135b314c6764fbafcc8ed79c;p=thirdparty%2Fsamba.git r2736: Fix bug in Python printerdata wraper found by Daniel Jarboe. --- 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)