comparison profilemanager/manager.py @ 43:49cc40572f46

test cloning
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 06 May 2010 18:59:48 -0700
parents 232188e7c04c
children 6feee8d04db4
comparison
equal deleted inserted replaced
42:232188e7c04c 43:49cc40572f46
111 if add: 111 if add:
112 self.add(name, dirname, relative) 112 self.add(name, dirname, relative)
113 113
114 # copy the files 114 # copy the files
115 shutil.copytree(source_path, dest, symlinks=False) 115 shutil.copytree(source_path, dest, symlinks=False)
116 116
117 return dest
117 118
118 def backup(self, profile, dest=None): 119 def backup(self, profile, dest=None):
119 """ 120 """
120 backup the profile 121 backup the profile
121 - profile: name of the profile to be backed up 122 - profile: name of the profile to be backed up