1. Crispin Wellington
  2. parcel

Commits

Crispin Wellington  committed 26388d9

remember the base filename

  • Participants
  • Parent commits 563f66f
  • Branches virtualenv-caching

Comments (0)

Files changed (1)

File parcel/requirements.py

View file
     
     def __init__(self, requirements=None):
         self.files = {}
+        self.base = requirements
         if requirements is not None:
             self.load(requirements)
 
         return output
 
     def hash_set(self):
+        """Return a hash for each file in the requirements file list. Dictionary keyed by filename"""
         def _hash(data):
             sha = hashlib.sha1()
             sha.update(data)