(self)
| 298 | return files |
| 299 | |
| 300 | def get_databases(self): |
| 301 | directories = [] |
| 302 | dump_dir = self.get_dump_dir() |
| 303 | if self.database: |
| 304 | directories.append(self.database) |
| 305 | else: |
| 306 | if os.path.exists(dump_dir): |
| 307 | directories = [name for name in os.listdir(dump_dir) if os.path.isdir(os.path.join(dump_dir, name))] |
| 308 | |
| 309 | else: |
| 310 | raise MapXploreException(message=locale.get("dir_not_not").format(directory=dump_dir)) |
| 311 | |
| 312 | return directories |
| 313 | |
| 314 | class ImportSetting(BaseSetting): |
| 315 | __setting_key__ = "Import" |
nothing calls this directly
no test coverage detected