38 yield Path(library_path_string).expanduser() |
38 yield Path(library_path_string).expanduser() |
39 |
39 |
40 def check_library_paths(config): |
40 def check_library_paths(config): |
41 from sys import exit |
41 from sys import exit |
42 problems = False |
42 problems = False |
|
43 have_paths = False |
43 for library_path in library_paths(config): |
44 for library_path in library_paths(config): |
|
45 have_paths = True |
44 if not library_path.exists(): |
46 if not library_path.exists(): |
45 problems = True |
47 problems = True |
46 print(str.format( |
48 print(str.format( |
47 'Library path {} does not exist', |
49 'Library path {} does not exist', |
48 library_path, |
50 library_path, |