def __init__(self, root=None, filesToMove=None, filesToRetrieve=None, dumpOnException=True):
    DirectoryChanger.__init__(self, root, filesToMove, filesToRetrieve, dumpOnException)
    root = (root or TemporaryDirectoryChanger._home)
    if (not os.path.exists(root)):
        os.makedirs(root)
    self.initial = os.path.abspath(os.getcwd())
    self.destination = TemporaryDirectoryChanger.GetRandomDirectory(root)
    while os.path.exists(self.destination):
        self.destination = TemporaryDirectoryChanger.GetRandomDirectory(root)
def __init__(self, root=None, filesToMove=None, filesToRetrieve=None, dumpOnException=True):
    DirectoryChanger.__init__(self, root, filesToMove, filesToRetrieve, dumpOnException)
    root = (root or TemporaryDirectoryChanger._home)
    if (not os.path.exists(root)):
        os.makedirs(root)
    self.initial = os.path.abspath(os.getcwd())
    self.destination = TemporaryDirectoryChanger.GetRandomDirectory(root)
    while os.path.exists(self.destination):
        self.destination = TemporaryDirectoryChanger.GetRandomDirectory(root)