Ticket #770: Add sanity check
parent
42afc6f24e
commit
4974e34c23
|
@ -1005,6 +1005,10 @@ class OpengnsysGitLibrary:
|
|||
|
||||
self.logger.debug("Finishing...")
|
||||
|
||||
if len(filesystems_data) < 1:
|
||||
self.logger.error("Filesystems data doesn't contain anything, this is probably a bug!")
|
||||
|
||||
|
||||
filesystems_file.write(json.dumps(filesystems_data, indent=4) + "\n")
|
||||
metadata_file.write(json.dumps(metadata, indent=4) + "\n")
|
||||
|
||||
|
|
Loading…
Reference in New Issue