# # Written by Nick Wang # # Modified by Saul # # - fixed bug noticed by Jason Brechin. S.Y. Sept. 22, 2005 # import sys,os from Platform import * from Base import * class FreeDisk(Exception): def __init__(self): Exception.__init__(self,"can't compute free disk space") class FreeDiskOSError(Exception): def __init__(self): pass def __str__(self): return 'Cannot handle the operating system type.' def enoughFreeDisk(minimumDisk,path=pac_anchor): r = Reason() if localmegs(path)