Re: [SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha8-901-gaa6dc21

2009-09-22 Thread Jelmer Vernooij
Hi Matthias, I would expect it to be KeyError. This is easy to verify using Python: ganieda:~% python Python 2.5.4 (r254:67916, Feb 17 2009, 20:16:45) [GCC 4.3.3] on linux2 Type help, copyright, credits or license for more information. import ldb x = ldb.Message() x[foo] Traceback (most

Re: [SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha8-901-gaa6dc21

2009-09-22 Thread Matthias Dieter Wallnöfer
Fixed in my personal branch. Jelmer Vernooij schrieb: Hi Matthias, I would expect it to be KeyError. This is easy to verify using Python: ganieda:~% python Python 2.5.4 (r254:67916, Feb 17 2009, 20:16:45) [GCC 4.3.3] on linux2 Type help, copyright, credits or license for more information.

Re: [SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha8-901-gaa6dc21

2009-09-21 Thread Jelmer Vernooij
Hi Matthias, Matthias Dieter Wallnöfer wrote: +try: + pwd_props = int(res[0][pwdProperties][0]) + pwd_hist_len = int(res[0][pwdHistoryLength][0]) + min_pwd_len = int(res[0][minPwdLength][0]) + min_pwd_age = int(res[0][minPwdAge][0]) + max_pwd_age =

Re: [SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha8-901-gaa6dc21

2009-09-21 Thread Matthias Dieter Wallnöfer
What exception should I use if an attribute doesn't exist? Matthias Jelmer Vernooij schrieb: Hi Matthias, Matthias Dieter Wallnöfer wrote: +try: + pwd_props = int(res[0][pwdProperties][0]) + pwd_hist_len = int(res[0][pwdHistoryLength][0]) + min_pwd_len =

[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha8-901-gaa6dc21

2009-08-07 Thread Matthias Dieter Wallnöfer
The branch, master has been updated via aa6dc21fa304943ad70afd14f84cea720f3f2d27 (commit) from aef96af916eab4c29656d3ff6426618f331b7400 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit