Commits

Ezio Melotti  committed 8caa902

Add code to retrieve file name, but leave it commented out to preserve performance.

  • Participants
  • Parent commits c8a6a0f

Comments (0)

Files changed (1)

   for filen in issue_files[issuen]:
     files_attached += 1
     print('  ' + filen, end='')
+    #fname = bpo.display('file'+filen, 'name')['name']
+    #print('  file%s (%s)' % (filen, fname), end='')
     # get file
-    path, cached = fileget(filen)
+    path, cached = fileget(filen)  # [ ] use fname (or filen-fname)
     if cached:
       print(' (cached)', end='')
     # check if it is a patch