~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/atomicfile.py

  • Committer: Aaron Bentley
  • Date: 2008-09-20 20:35:02 UTC
  • mfrom: (3717 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3720.
  • Revision ID: aaron@aaronbentley.com-20080920203502-mdw6o6gtbalyo2bb
Merge with bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        self._fd = None
54
54
 
55
55
        if _hostname is None:
56
 
            _hostname = socket.gethostname()
 
56
            _hostname = osutils.get_host_name()
57
57
 
58
58
        self.tmpfilename = '%s.%d.%s.tmp' % (filename, _pid, _hostname)
59
59