1. PyPA
  2. Python Packaging Authority Projects
  3. pypi

Commits

Donald Stufft  committed dbe2a2c

Fix for using the proper name

  • Participants
  • Parent commits 8ecfaf2
  • Branches default

Comments (0)

Files changed (1)

File store.py

View file
  • Ignore whitespace
         if self.config.fastly_api_key:
             session = requests.session()
             for package in self._changed_packages:
-                normalized_name = normalize_package_name(name)
+                normalized_name = normalize_package_name(package)
                 path = "/service/%(id)s/purge/pkg~%(name)s" % {"id": None, "name": normalized_name}
                 url = urlparse.urljoin(self.config.fastly_api_domain, path)
                 session.post(url,