[MOBY-guts] biomoby commit

Eddie Kawas kawas at dev.open-bio.org
Fri Jun 20 19:50:55 UTC 2008


kawas
Fri Jun 20 15:50:55 EDT 2008
Update of /home/repository/moby/moby-live/Perl/MOBY-Server/lib/MOBY
In directory dev.open-bio.org:/tmp/cvs-serv23485/Perl/MOBY-Server/lib/MOBY

Modified Files:
	dbConfig.pm 
Log Message:
fixed bug that causes readSections to ignore a section if a field is empty
moby-live/Perl/MOBY-Server/lib/MOBY dbConfig.pm,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY-Server/lib/MOBY/dbConfig.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Perl/MOBY-Server/lib/MOBY/dbConfig.pm	2008/02/21 00:21:27	1.1
+++ /home/repository/moby/moby-live/Perl/MOBY-Server/lib/MOBY/dbConfig.pm	2008/06/20 19:50:55	1.2
@@ -96,7 +96,7 @@
 				chomp $l2;
 				last unless ( $l2 =~ /\S/ );
 				my @terms = shellwords($l2);
-				last unless ( scalar @terms > 2 );
+				last unless ( scalar @terms >= 2 );
 				$self->{ $terms[0] } = $terms[2];
 			}
 		}




More information about the MOBY-guts mailing list