This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import argparse, re, os | |
from pyffi.formats.nif import NifFormat | |
def process_dir(dir, is_dryrun): | |
file_changed = False | |
for stream, data in NifFormat.walkData(args.dir): | |
try: | |
# the replace call makes the doctest also pass on windows | |
os_path = stream.name |