Commits

Vinay Sajip committed 00421db

Return path from write_installed_files.

  • Participants
  • Parent commits 7495f92

Comments (0)

Files changed (1)

distlib/database.py

         record_path = os.path.join(self.path, 'RECORD')
         logger.info('creating %s', record_path)
         if dry_run:
-            return
+            return None
         with CSVWriter(record_path) as writer:
             for path in paths:
                 if os.path.isdir(path) or path.endswith(('.pyc', '.pyo')):
             if record_path.startswith(base):
                 record_path = os.path.relpath(record_path, base)
             writer.writerow((record_path, '', ''))
+        return record_path
 
     def check_installed_files(self):
         """