[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm
bisitz
bisitz at source.lon-capa.org
Fri Aug 23 13:00:38 EDT 2013
bisitz Fri Aug 23 17:00:38 2013 EDT
Modified files:
/loncom/interface lonprintout.pm
Log:
Ignore empty rows and rows which are commented out in bubblesheet format file.
Consistent row handling like in bubblesheet grading selection, introduced in grades.pm 1.518 (bug #5650)
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.635 loncom/interface/lonprintout.pm:1.636
--- loncom/interface/lonprintout.pm:1.635 Wed Jul 24 18:21:39 2013
+++ loncom/interface/lonprintout.pm Fri Aug 23 17:00:38 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.635 2013/07/24 18:21:39 bisitz Exp $
+# $Id: lonprintout.pm,v 1.636 2013/08/23 17:00:38 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -4449,6 +4449,7 @@
my @lines = &Apache::grades::get_scantronformat_file();
my $codechoice='';
foreach my $line (@lines) {
+ next if (($line =~ /^\#/) || ($line eq ''));
my ($name,$description,$code_type,$code_length)=
(split(/:/,$line))[0,1,2,4];
if ($code_length > 0 &&
More information about the LON-CAPA-cvs
mailing list