minor minor update of the last commit

This commit is contained in:
Miroslav Stampar 2011-05-02 19:24:49 +00:00
parent 0bb7d715a7
commit b327a78522

View File

@ -266,7 +266,7 @@ class Filesystem:
self.checkDbmsOs() self.checkDbmsOs()
if Backend.isOs(OS.WINDOWS) and not re.search(r'\A[A-Z]:\\', rFile, re.I) or\ if Backend.isOs(OS.WINDOWS) and not re.search(r'\A[A-Z]:', rFile, re.I) or\
Backend.isOs(OS.LINUX) and not rFile.startswith('/'): Backend.isOs(OS.LINUX) and not rFile.startswith('/'):
errMsg = "invalid file path used for the underlying operating " errMsg = "invalid file path used for the underlying operating "
errMsg += "system '%s' of the back-end '%s' server ('%s')" % (Backend.getOs(), Backend.getDbms(), rFile) errMsg += "system '%s' of the back-end '%s' server ('%s')" % (Backend.getOs(), Backend.getDbms(), rFile)