~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/mail_client.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-09-01 06:53:18 UTC
  • mfrom: (3668.1.1 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20080901065318-3r92nk175nbu54dw
(vila, verterok) Fix some OSX failing tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
        """
136
136
        if basename is None:
137
137
            basename = 'attachment'
138
 
        pathname = tempfile.mkdtemp(prefix='bzr-mail-')
 
138
        pathname = osutils.mkdtemp(prefix='bzr-mail-')
139
139
        attach_path = osutils.pathjoin(pathname, basename + extension)
140
140
        outfile = open(attach_path, 'wb')
141
141
        try: