Minor fix and removed leftover debug message

This commit is contained in:
Bernardo Damele 2012-01-13 17:04:59 +00:00
parent e59ace5409
commit 0043336620
2 changed files with 3 additions and 4 deletions

View File

@ -513,11 +513,11 @@ class Backend:
@staticmethod
def setOsServicePack(sp):
if version is None:
if sp is None:
return None
elif kb.osSP is None and isinstance(version, int):
kb.osSP = version
elif kb.osSP is None and isinstance(sp, int):
kb.osSP = sp
@staticmethod
def setArch():

View File

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