def DownloadPackage(self, filename):
    """Downloads a package.

    Writes the package with the same filename into the current directory.

    Args:
      filename: str filename of the package to download.
    Returns:
      None
    Raises:
      SimianServerError: if the Simian server returned an error (status != 200)
    """
    return self._SimianRequest(
        'GET', '/pkgs/%s' % urllib.quote(filename),
        output_filename=filename)
dataset/ETHPy150Open google/simian/src/simian/client/client.py/SimianClient.DownloadPackage/original