# HG changeset patch # User Jeff Hammel # Date 1273259765 25200 # Node ID 2f58555b3b28b14f90694d29bf6d21982473f78a # Parent e29fed5097c33bbce397e7f4eafbafc897bb414b correct variable names diff -r e29fed5097c3 -r 2f58555b3b28 profilemanager/manager.py --- a/profilemanager/manager.py Fri May 07 12:11:47 2010 -0700 +++ b/profilemanager/manager.py Fri May 07 12:16:05 2010 -0700 @@ -183,7 +183,7 @@ if 'Backups' not in profile_dict: return [] backups = profile_dict['Backups'].split(':') - backup_dirs = [] + backups_dirs = [] for backup in backups: if os.path.isabs(backup): backup_dir = backup @@ -197,9 +197,9 @@ # format to datestamps, if applicable if datestamp: - backup_dirs = [ (i[0], time.strftime(datestamp, + backups_dirs = [ (i[0], time.strftime(datestamp, time.localtime(int(i[1])))) - for i in backup_dirs ] + for i in backups_dirs ] return backups_dirs