backuplocal => backup_local for API standardization reasons

This commit is contained in:
Michael DeHaan 2012-09-04 19:49:49 -04:00
parent b97e2a6f5a
commit aa704a6111
4 changed files with 5 additions and 5 deletions

View file

@ -276,7 +276,7 @@ class AnsibleModule(object):
infile.close()
return digest.hexdigest()
def backuplocal(self, fn):
def backup_local(self, fn):
'''make a date-marked backup of the specified file, return True or False on success or failure'''
# backups named basename-YYYY-MM-DD@HH:MM~
ext = time.strftime("%Y-%m-%d@%H:%M~", time.localtime(time.time()))