Changeset 4266 for trunk/makeBat.py


Ignore:
Timestamp:
Jan 25, 2020 5:36:56 PM (21 months ago)
Author:
toby
Message:

add patches for Python 2.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/makeBat.py

    r4235 r4266  
    9595    new = False
    9696    oldBat = ''
     97    try: # patch for FileNotFoundError not in Python 2.7
     98        FileNotFoundError
     99    except NameError:
     100        FileNotFoundError = Exception
    97101    # this code does not appear to work properly when paths have spaces
    98102    try:
Note: See TracChangeset for help on using the changeset viewer.