def updateResource(self, resourceName):

    # If no organism name provided, list all organisms we can update
    # ("gkno update-resource")
    if resourceName == '':
      updates = self.getUpdatableResources()
      self.listUpdatableResources(updates)
      return True

    # Otherwise, add the current release for this organism
    # ("gkno update-resource <organism>")
    else:
      print('Updating ' * resourceName + ':', file=sys.stdout)
      sys.stdout.flush()
      return self.addCurrentRelease(resourceName, '  ')

  # -------------------------------------------
  # Build/update helper methods
  # -------------------------------------------
dataset/ETHPy150Open gkno/gkno_launcher/src/gkno/adminUtils.py/adminUtils.updateResource/operator `+` -> `*`