def post_upgrade(name):
 if (name not in _tracker['post_upgrade']):
  return False
 return _tracker['post_upgrade'][name]

def post_upgrade ( name ) : if ( name not in _tracker [ 'post_upgrade' ] ) : return False return _tracker [ 'post_upgrade' ] [ name ]
check if a package was just upgraded (in plugin_loaded()) .