Can bzr remember ftp-passwords?
Martin Pool
mbp at sourcefrog.net
Thu Apr 12 06:44:40 BST 2007
On 4/12/07, Robert Collins <robertc at robertcollins.net> wrote:
> On Thu, 2007-04-12 at 14:40 +1000, Martin Pool wrote:
> >
> > You should do instead
> >
> > f = open()
> > try:
> > write
> > finally:
> > f.close()
> >
> > Windows gets annoyed by files that aren't closed...
>
> Or use our helper:
> self.build_tree_content([('filename', 'content')])
Of course that wants to write into the working directory not the
test's home directory; you may be able to pass an absolute path or it
might need to be updated.
--
Martin
More information about the bazaar
mailing list