/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/mail_client.py

  • Committer: Robert Collins
  • Date: 2008-09-02 03:17:08 UTC
  • mfrom: (3671 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3676.
  • Revision ID: robertc@robertcollins.net-20080902031708-7dqsmwjiwfni9s2c
Merge bzr.dev to get new pack5 format.

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: