Matthew White wrote:
> Hello,
>
>>From a general style and/or programmatic perspective, which is a "better"
> way to write this bit of code?
Hmm, neither?
>
> try:
> (dn, attrs) = conn.search_s(search_base, search_scope, search_filter,
> search_attrs):
> except Exception, e:
> warn_
Hello,
>From a general style and/or programmatic perspective, which is a "better"
way to write this bit of code?
try:
(dn, attrs) = conn.search_s(search_base, search_scope, search_filter,
search_attrs):
except Exception, e:
warn_the_user(e)
do_something_useful()
for (name, d