[MOBY-guts] biomoby commit

Eddie Kawas kawas at dev.open-bio.org
Thu Aug 27 19:37:37 UTC 2009


kawas
Thu Aug 27 15:37:37 EDT 2009
Update of /home/repository/moby/moby-live/Perl/MOSES-MOBY/lib/MOSES/MOBY/Generators/templates
In directory dev.open-bio.org:/tmp/cvs-serv5776/MOSES-MOBY/lib/MOSES/MOBY/Generators/templates

Modified Files:
	service-base.tt 
Log Message:
fix the warning 'unsuccesful stat on file containing newline' when sending raw data
moby-live/Perl/MOSES-MOBY/lib/MOSES/MOBY/Generators/templates service-base.tt,1.3,1.4
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOSES-MOBY/lib/MOSES/MOBY/Generators/templates/service-base.tt,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Perl/MOSES-MOBY/lib/MOSES/MOBY/Generators/templates/service-base.tt	2008/02/21 00:12:55	1.3
+++ /home/repository/moby/moby-live/Perl/MOSES-MOBY/lib/MOSES/MOBY/Generators/templates/service-base.tt	2009/08/27 19:37:37	1.4
@@ -112,7 +112,9 @@
     Log::Log4perl::NDC->push ($$);
     $LOG->info ('*** REQUEST START *** ' . $self->log_request);
 
+    no warnings 'newline';
     my $in_testing_mode = (-f $data);
+    use warnings 'newline';
     if ($LOG->is_debug) {
        if ($in_testing_mode) {
 	   open (RAWXML, "<$data") or $LOG->logdie ("Cannot open $data: $!\n");




More information about the MOBY-guts mailing list