Lines Matching refs:fn
155 def write_to_temp(fn, attr, data):
156 fn = os.path.join(tmpdir, fn)
157 if fn.endswith("/"):
158 fn = os.path.join(tmpdir, fn)
159 os.mkdir(fn)
161 d = os.path.dirname(fn)
166 os.symlink(data, fn)
168 with open(fn, "wb") as f:
241 def output_sink(fn, data):
242 output_tf_zip.writestr("SYSTEM/"+fn, data)