Mercurial > mozilla > hg > ProfileManager
comparison profilemanager/manager.py @ 56:2dde7dcc899e
better docstring
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 07 May 2010 11:37:41 -0700 |
parents | f3812255ce6e |
children | 3b4b87faa2a8 |
comparison
equal
deleted
inserted
replaced
55:3b53d584195f | 56:2dde7dcc899e |
---|---|
122 | 122 |
123 return dest | 123 return dest |
124 | 124 |
125 def backup(self, profile, dest=None): | 125 def backup(self, profile, dest=None): |
126 """ | 126 """ |
127 backup the profile | 127 backup a profile |
128 - profile: name of the profile to be backed up | 128 - profile: name of the profile to be backed up |
129 - dest: name of the destination (optional) | 129 - dest: name of the destination; if not given, a default is used |
130 """ | 130 """ |
131 | 131 |
132 # get the profile section | 132 # get the profile section |
133 parser = self.parser() | 133 parser = self.parser() |
134 section = self.section(profile) | 134 section = self.section(profile) |