comparison profilemanager/manager.py @ 54:f3812255ce6e

"in", not what the knights say in holy grail
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 07 May 2010 11:27:32 -0700
parents c279d2797d45
children 2dde7dcc899e
comparison
equal deleted inserted replaced
53:c279d2797d45 54:f3812255ce6e
196 196
197 # format to datestamps, if applicable 197 # format to datestamps, if applicable
198 if datestamp: 198 if datestamp:
199 backup_dirs = [ (i[0], time.strftime(datestamp, 199 backup_dirs = [ (i[0], time.strftime(datestamp,
200 time.localtime(int(i[1])))) 200 time.localtime(int(i[1]))))
201 for i ni backup_dirs ] 201 for i in backup_dirs ]
202 202
203 return backups_dirs 203 return backups_dirs
204 204
205 def restore(self, profile, date=None, delete=False): 205 def restore(self, profile, date=None, delete=False):
206 """ 206 """