def handle(self, **options):

        result = check_versions(only_leonardo=True)

        output = pp.pprint(result)

        self.stdout.write(str(output))

        return "Needs System Update"
示例#2
0
 def latest_version(self):
     """return latest version if is available"""
     from leonardo_system.pip import check_versions
     return check_versions(True).get(self.name, None).get('new', None)
示例#3
0
 def latest_version(self):
     """return latest version if is available"""
     from leonardo_system.pip import check_versions
     return check_versions(True).get(self.name, None).get('new', None)