xmltv/grab/ch_search tv_grab_ch_search.in, 1.17, 1.18

Daniel Bittel <[email protected]>
Newsgroups gmane.comp.tv.xmltv.cvs
Message-ID <[email protected]>
Update of /cvsroot/xmltv/xmltv/grab/ch_search
In directory vz-cvs-3.sog:/tmp/cvs-serv1571

Modified Files:
	tv_grab_ch_search.in 
Log Message:
tv.search.ch introduced some div-tags with no class attributes leading to uninitialized strings in eq comparisons

Index: tv_grab_ch_search.in
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/ch_search/tv_grab_ch_search.in,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** tv_grab_ch_search.in	1 May 2012 16:18:23 -0000	1.17
--- tv_grab_ch_search.in	24 Oct 2012 08:17:11 -0000	1.18
***************
*** 434,438 ****
       foreach my $div ( $tv_show->look_down('_tag' => 'div', 
       		sub {
!      			( ( $_[0]->attr ('class') eq "tv_tooltip") || ( $_[0]->attr ('class') eq "tv_tr_notooltip" ) )
       		    } )
       	     )
--- 434,438 ----
       foreach my $div ( $tv_show->look_down('_tag' => 'div', 
       		sub {
!      			( defined $_[0]->attr('class') && ( ( $_[0]->attr ('class') eq "tv_tooltip") || ( $_[0]->attr ('class') eq "tv_tr_notooltip" ) ) )
       		    } )
       	     )


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.