[LON-CAPA-cvs] cvs: loncom /interface lonindexer.pm

raeburn raeburn at source.lon-capa.org
Sat Jun 18 12:15:38 EDT 2016


raeburn		Sat Jun 18 16:15:38 2016 EDT

  Modified files:              
    /loncom/interface	lonindexer.pm 
  Log:
  - Coding style.
  
  
Index: loncom/interface/lonindexer.pm
diff -u loncom/interface/lonindexer.pm:1.223 loncom/interface/lonindexer.pm:1.224
--- loncom/interface/lonindexer.pm:1.223	Sat Dec 20 15:35:40 2014
+++ loncom/interface/lonindexer.pm	Sat Jun 18 16:15:38 2016
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Directory Indexer
 #
-# $Id: lonindexer.pm,v 1.223 2014/12/20 15:35:40 raeburn Exp $
+# $Id: lonindexer.pm,v 1.224 2016/06/18 16:15:38 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -709,7 +709,7 @@
         return if ($c->aborted());
 	#This is a kludge, sorry aboot this
 	my ($strip,$dom,undef,$testdir,undef,undef,undef,undef,undef,undef,undef,undef,undef,undef,$obs,undef)=split(/\&/,$line,16); 
-	next if($strip =~ /.*\.meta$/ | $obs eq '1');
+	next if (($strip =~ /\.meta$/) || ($obs));
 	my (@fileparts) = split(/\./,$strip);
 	if ($hash{'display_attrs_9'} != 1) {
             # if not all versions to be shown




More information about the LON-CAPA-cvs mailing list