comparison profilemanager/manager.py @ 64:18f16bd1ba6b

finish backups listing function and formatting for it
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 07 May 2010 12:23:49 -0700
parents 2f58555b3b28
children 1cd3e3c71bff
comparison
equal deleted inserted replaced
63:2f58555b3b28 64:18f16bd1ba6b
173 # XXX this should probably be recursive 173 # XXX this should probably be recursive
174 retval = {} 174 retval = {}
175 profiles_dict = self.profiles_dict() 175 profiles_dict = self.profiles_dict()
176 for profile in profiles_dict: 176 for profile in profiles_dict:
177 if 'Backups' in profiles_dict[profile]: 177 if 'Backups' in profiles_dict[profile]:
178 retval[profile] = profiles_dict[profile].split(':') 178 retval[profile] = self.backups(profile, datestamp)
179 return retval 179 return retval
180 180
181 # single profile 181 # single profile
182 profile_dict = self.profile_dict(profile) 182 profile_dict = self.profile_dict(profile)
183 if 'Backups' not in profile_dict: 183 if 'Backups' not in profile_dict: