Skip to content

Commit

Permalink
Remove file error checking. Refs #8599.
Browse files Browse the repository at this point in the history
  • Loading branch information
jawrainey committed Dec 13, 2013
1 parent ec75e47 commit 9e620c2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Code/Mantid/Framework/Algorithms/src/GeneratePythonScript.cpp
Expand Up @@ -72,13 +72,6 @@ void GeneratePythonScript::exec()
const std::string filename = getPropertyValue("Filename");
std::ofstream file(filename.c_str(), std::ofstream::trunc);


if (NULL == file)
{
g_log.error("Unable to create file: " + filename);
throw Exception::FileError("Unable to create file: " , filename);
}

// Get the algorithm histories of the workspace.
const WorkspaceHistory wsHistory = ws->getHistory();

Expand Down

0 comments on commit 9e620c2

Please sign in to comment.