Salome HOME
Correct previous integration V5_1_3rc1
authordmv <dmv@opencascade.com>
Wed, 14 Oct 2009 06:42:37 +0000 (06:42 +0000)
committerdmv <dmv@opencascade.com>
Wed, 14 Oct 2009 06:42:37 +0000 (06:42 +0000)
src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx

index a4212078194a1bab15ed0834a604990207bbdfa5..373058472710933333441384371f53071930159a 100644 (file)
@@ -1223,7 +1223,7 @@ bool SALOMEDSImpl_Study::DumpStudy(const string& thePath,
   fp << "# -*- coding: iso-8859-1 -*-\n" << endl;
 
   fp << GetDumpStudyComment() << endl << endl;
   fp << "# -*- coding: iso-8859-1 -*-\n" << endl;
 
   fp << GetDumpStudyComment() << endl << endl;
-
+  fp << "import sys" << endl;
   fp << "import " << aBatchModeScript << endl << endl;
 
   fp << aBatchModeScript << ".salome_init()" << endl << endl;
   fp << "import " << aBatchModeScript << endl << endl;
 
   fp << aBatchModeScript << ".salome_init()" << endl << endl;