Re: [PATCH] hda-analyzer: Avoid AttributeError when codec has no nodes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux