[LON-CAPA-cvs] cvs: loncom /publisher testbankimport.pm

raeburn raeburn at source.lon-capa.org
Sun Dec 16 15:06:44 EST 2012


raeburn		Sun Dec 16 20:06:44 2012 EDT

  Modified files:              
    /loncom/publisher	testbankimport.pm 
  Log:
  - Essay and T/F return 'ok' if import successful.
  
  
Index: loncom/publisher/testbankimport.pm
diff -u loncom/publisher/testbankimport.pm:1.36 loncom/publisher/testbankimport.pm:1.37
--- loncom/publisher/testbankimport.pm:1.36	Sun Dec 16 19:04:35 2012
+++ loncom/publisher/testbankimport.pm	Sun Dec 16 20:06:44 2012
@@ -1,5 +1,5 @@
 # Handler for parsing text upload problem descriptions into .problems
-# $Id: testbankimport.pm,v 1.36 2012/12/16 19:04:35 raeburn Exp $
+# $Id: testbankimport.pm,v 1.37 2012/12/16 20:06:44 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1578,6 +1578,7 @@
          if (open(PROB,">$destdir$libfile")) {
              print PROB $output;
              close(PROB);
+             $result = 'ok';
          } else {
              $result = 'failed';
          }




More information about the LON-CAPA-cvs mailing list