[alsa-devel] [PATCH] hda-analyzer: Avoid AttributeError when codec has no nodes
Jaroslav Kysela
perex at perex.cz
Thu Feb 4 20:22:00 CET 2010
On Thu, 4 Feb 2010, Ozan Çağlayan wrote:
> When traversing card/codec/nodes during treewidget creation, it's quite
> possible that codec.nodes raises an AttributeError if the current codec
> doesn't seem to have a nodes dictionary.
>
> Simply initialize it to an empty dictionary in the beginning of
> analyze().
Thank you for your patch. I had already this change in my local tree.
I pushed it to git.alsa-project.org now.
Jaroslav
-----
Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.
More information about the Alsa-devel
mailing list