Minor bug fix so now when the back-end DBMS operating system is Windows 2000, it sets the temporary folder automatically to C:\WINNT\Temp - the user does not need to provide it anymore with --tmp-path C:\\WINNT\\Temp

This commit is contained in:
Bernardo Damele
2012-01-13 18:08:44 +00:00
parent 0043336620
commit 5e853cae64
2 changed files with 10 additions and 6 deletions

View File

@@ -39,6 +39,8 @@ class Miscellaneous:
def getRemoteTempPath(self):
if not conf.tmpPath:
if Backend.isOs(OS.WINDOWS):
self.checkDbmsOs(detailed=True)
if Backend.getOsVersion() == "2000":
conf.tmpPath = "C:/WINNT/Temp"
else: