[MOBY-guts] biomoby commit
Eddie Kawas
kawas at dev.open-bio.org
Fri Oct 9 17:37:49 UTC 2009
kawas
Fri Oct 9 13:37:49 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-serv13825/MOSES-MOBY/lib/MOSES/MOBY/Generators/templates
Modified Files:
service.tt
Log Message:
updated the use statement IF block and fixed typo in update_percentage_event
moby-live/Perl/MOSES-MOBY/lib/MOSES/MOBY/Generators/templates service.tt,1.7,1.8
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOSES-MOBY/lib/MOSES/MOBY/Generators/templates/service.tt,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- /home/repository/moby/moby-live/Perl/MOSES-MOBY/lib/MOSES/MOBY/Generators/templates/service.tt 2009/10/09 17:32:39 1.7
+++ /home/repository/moby/moby-live/Perl/MOSES-MOBY/lib/MOSES/MOBY/Generators/templates/service.tt 2009/10/09 17:37:49 1.8
@@ -206,7 +206,7 @@
@ISA = qw( [% base.module_name %] );
use MOSES::MOBY::Package;
use MOSES::MOBY::ServiceException;
-[%- IF is_async(base.category) -%]
+[% IF is_async(base.category) -%]
use MOBY::Async::LSAE;
[%- END %]
use strict;
@@ -431,7 +431,7 @@
my ( $self, $request, $percentage, $msg ) = @_;
$msg = '' unless defined $msg;
- $state = 1 unless defined $percentage;
+ $percentage = 1 unless defined $percentage;
# validate the state of the event ...
$percentage = 1 unless $percentage >= 0 and $percentage <=100;
More information about the MOBY-guts
mailing list