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

Commits

Vinay Sajip  committed dc8ed9e

Fixed regression.

  • Participants
  • Parent commits 3e5b13c
  • Branches default

Comments (0)

Files changed (1)

File distlib/locators.py

View file
                             if pyver:
                                 result['python-version'] = pyver
                     break
-        if algo:
+        if result and algo:
             result['%s_digest' % algo] = digest
         return result