xmltv/grab/uk_atlas tv_grab_uk_atlas,1.3,1.4

Geoff <[email protected]>
Newsgroups gmane.comp.tv.xmltv.cvs
Message-ID <[email protected]>
Update of /cvsroot/xmltv/xmltv/grab/uk_atlas
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv4715

Modified Files:
	tv_grab_uk_atlas 
Log Message:
Fix error in 'platform' selection

Index: tv_grab_uk_atlas
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/uk_atlas/tv_grab_uk_atlas,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** tv_grab_uk_atlas	19 Oct 2013 09:04:22 -0000	1.3
--- tv_grab_uk_atlas	19 Oct 2013 19:26:30 -0000	1.4
***************
*** 1001,1005 ****
  				
  						# may not be a regionalised platform (e.g. Saorview)
! 						if (scalar (keys %{$platform{'regions'}}) == 0) {		
  			
  									$writer->write_option( {
--- 1001,1005 ----
  				
  						# may not be a regionalised platform (e.g. Saorview)
! 						if ( (!defined $platform{'regions'}) || (scalar @{$platform{'regions'}} == 0) ) {	
  			
  									$writer->write_option( {
***************
*** 1041,1044 ****
--- 1041,1045 ----
  						#$conf->{'platform-title'} = [ $platform{'title'} ];
  						$platform_title = $platform{'title'};
+ 						$region_title = '';
  						
  						foreach my $r (@{$platform{'regions'}}) {


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
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.