macostools.copy() now has an optional forcetype flag, which sets the filetype. This is used by various tools to set the type to APPL when copying interpreter template files (Atmp filetype).

This commit is contained in:
Jack Jansen 2001-03-06 22:46:25 +00:00
parent bb74f95821
commit c1463c9870
3 changed files with 5 additions and 3 deletions

View file

@ -167,7 +167,7 @@ def buildcopy(top, dummy, list):
for src, dst in list:
src = os.path.join(top, src)
dst = os.path.join(top, dst)
macostools.copy(src, dst)
macostools.copy(src, dst, forcetype="APPL")
def handle_dialog(filename):
"""Handle selection dialog, return list of selected items"""