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

Commits

Vinay Sajip  committed f039b41

Added dictionary property to Metadata.

  • Participants
  • Parent commits a1ca270
  • Branches default

Comments (0)

Files changed (1)

File distlib/metadata.py

View file
         return result
 
     @property
+    def dictionary(self):
+        if self._legacy:
+            return self._from_legacy()
+        return self._dict
+
+    @property
     def dependencies(self):
         if self._legacy:
             raise NotImplementedError