Commit 83a1135e authored by Cristiano Urban's avatar Cristiano Urban
Browse files

Added otuput for debug.

parent 4cd1f08b
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -29,6 +29,11 @@ class RetrievePreprocessor(TaskExecutor):
        else:
            self.nodeList = self.dbConn.getVOSpacePathList(vospacePath)
        self.jobObj.jobInfo["nodeList"] = self.nodeList
        if os.path.exists("nl.txt"):
            os.remove("nl.txt")
        nl = open("nl.txt", 'w')
        nl.write(json.dumps(self.nodeList, indent = 4))
        nl.close()

    def cleanup(self):
        self.nodeList.clear()