klenwell information services : FabricEditRemoteFile

Revision history for FabricEditRemoteFile


Revision [2182]

Last edited on 2012-06-14 11:28:12 by KlenwellAdmin
Additions:
f = open(local_path, "r")


Revision [2181]

Edited on 2012-06-13 10:08:16 by KlenwellAdmin
Additions:
"""subs is a list of tuples: (find, replace)"""
Deletions:
"""subs is a list of tuples: (find, replace)"""


Revision [2180]

Edited on 2012-06-13 10:08:05 by KlenwellAdmin
Additions:
def update_remote_file(fname, subs=[]):
"""subs is a list of tuples: (find, replace)"""
for find,replace in subs:
contents = contents.replace(find, replace)
Deletions:
def update_remote_file(fname):
contents = contents.replace(needle, new_needle)


Revision [2179]

The oldest known version of this page was created on 2012-06-13 10:05:59 by KlenwellAdmin