eric6/PipInterface/Pip.py

changeset 7836
2f0d208b8137
parent 7785
9978016560ec
child 7923
91e843545d9a
equal deleted inserted replaced
7835:0835ed67714b 7836:2f0d208b8137
458 requirements, _user = dlg.getData() 458 requirements, _user = dlg.getData()
459 if requirements and os.path.exists(requirements): 459 if requirements and os.path.exists(requirements):
460 try: 460 try:
461 with open(requirements, "r") as f: 461 with open(requirements, "r") as f:
462 reqs = f.read().splitlines() 462 reqs = f.read().splitlines()
463 except (OSError, IOError): 463 except OSError:
464 return 464 return
465 465
466 from UI.DeleteFilesConfirmationDialog import ( 466 from UI.DeleteFilesConfirmationDialog import (
467 DeleteFilesConfirmationDialog 467 DeleteFilesConfirmationDialog
468 ) 468 )

eric ide

mercurial