def search_next_free_drive():
    """search for a free drive"""
    try:
        return get_next_free_drive()
    except OSError:
        return "Error: No free drive!"
Beispiel #2
0
 def substUncPath(self, path):
     freedrive = fileutils.get_next_free_drive()
     fileutils.subst(freedrive, path)
     return freedrive