diff --git a/manifests/CatroModulo.json b/manifests/CatroModulo.json index c05ba96e..01197de3 100644 --- a/manifests/CatroModulo.json +++ b/manifests/CatroModulo.json @@ -6,7 +6,7 @@ "manualUrl": "https://github.com/catronomix/catro-modulo/blob/master/CM-manual-v0.6.5.pdf", "sourceUrl": "https://github.com/catronomix/catro-modulo.git", "pluginUrl": "https://github.com/catronomix/catro-modulo/blob/master/README.md", - "latestVersion": "0.6.4", - "buildTimestamp": 1556416685, + "latestVersion": "0.6.5", + "buildTimestamp": 1557017537, "status": "available" -} +} \ No newline at end of file diff --git a/scripts/status_from_repos.py b/scripts/status_from_repos.py index 421b8a31..2862eeed 100644 --- a/scripts/status_from_repos.py +++ b/scripts/status_from_repos.py @@ -7,10 +7,7 @@ for filename in sys.argv[1:]: with open(filename, "r") as f: manifest = json.load(f) - if os.path.exists("repos/" + slug): - manifest['status'] = "available" + if 'license' in manifest: + print(f"{slug}:\t\t\t{manifest['license']}") else: - next - - with open(filename, "w") as f: - json.dump(manifest, f, indent=" ") + print(f"{slug}:\t\t\tnone")