Minor layout adjustments

This commit is contained in:
Bernardo Damele 2010-03-09 22:14:26 +00:00
parent 3f3ddd5437
commit cc611c0010
2 changed files with 4 additions and 4 deletions

View File

@ -83,8 +83,7 @@ class UDF:
self.udfToCreate.add(udf) self.udfToCreate.add(udf)
def udfCreateSupportTbl(self, dataType): def udfCreateSupportTbl(self, dataType):
debugMsg = "creating a support table to write commands standard " debugMsg = "creating a support table for user-defined functions"
debugMsg += "output to"
logger.debug(debugMsg) logger.debug(debugMsg)
self.createSupportTbl(self.cmdTblName, self.tblField, dataType) self.createSupportTbl(self.cmdTblName, self.tblField, dataType)

View File

@ -270,7 +270,7 @@ class Filesystem:
fileContent = self.stackedReadFile(rFile) fileContent = self.stackedReadFile(rFile)
if fileContent in ( None, "" ): if fileContent in ( None, "" ) and kb.dbms != "PostgreSQL":
self.cleanup(onlyFileTbl=True) self.cleanup(onlyFileTbl=True)
return return
@ -288,6 +288,7 @@ class Filesystem:
fileContent = self.__unhexString(fileContent) fileContent = self.__unhexString(fileContent)
rFilePath = dataToOutFile(fileContent) rFilePath = dataToOutFile(fileContent)
if kb.dbms != "PostgreSQL":
self.cleanup(onlyFileTbl=True) self.cleanup(onlyFileTbl=True)
return rFilePath return rFilePath