More Backend class method usage refactoring

This commit is contained in:
Bernardo Damele
2011-04-30 15:24:15 +00:00
parent 00f14bec5f
commit b3a0424269
2 changed files with 3 additions and 3 deletions

View File

@@ -280,7 +280,7 @@ class Filesystem:
return None
if fileContent in ( None, "" ) and Backend.getIdentifiedDbms() != DBMS.PGSQL:
if fileContent in ( None, "" ) and not Backend.isDbms(DBMS.PGSQL):
self.cleanup(onlyFileTbl=True)
return
@@ -302,7 +302,7 @@ class Filesystem:
fileContent = self.__unhexString(fileContent)
rFilePath = dataToOutFile(fileContent)
if Backend.getIdentifiedDbms() != DBMS.PGSQL:
if not Backend.isDbms(DBMS.PGSQL):
self.cleanup(onlyFileTbl=True)
return rFilePath