[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface lonprintout.pm
raeburn
raeburn at source.lon-capa.org
Wed Aug 28 10:31:54 EDT 2013
raeburn Wed Aug 28 14:31:54 2013 EDT
Modified files: (Branch: version_2_11_X)
/loncom/interface lonprintout.pm
Log:
- For 2.11
- Backport 1.636
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.627.2.7 loncom/interface/lonprintout.pm:1.627.2.8
--- loncom/interface/lonprintout.pm:1.627.2.7 Thu Aug 8 15:40:59 2013
+++ loncom/interface/lonprintout.pm Wed Aug 28 14:31:54 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.627.2.7 2013/08/08 15:40:59 raeburn Exp $
+# $Id: lonprintout.pm,v 1.627.2.8 2013/08/28 14:31:54 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1231,6 +1231,7 @@
my ($code_type, $code_length) = ('letter', 6); # defaults.
my @lines = &Apache::grades::get_scantronformat_file();
foreach my $line (@lines) {
+ next if (($line =~ /^\#/) || ($line eq ''));
my ($name, $type, $length) = (split(/:/, $line))[0,2,4];
if($name eq $code_option) {
$code_length = $length;
More information about the LON-CAPA-cvs
mailing list