~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/version.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-03-19 03:22:43 UTC
  • mfrom: (3293.2.2 trivial)
  • Revision ID: pqm@pqm.ubuntu.com-20080319032243-u1uwskj36dp0i0hs
(mbp)(trivial) Better formatting of python version number

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
        python_dll = "python%d%d.dll" % sys.version_info[:2]
58
58
        to_file.write(os.path.join(basedir, python_dll) + ' ')
59
59
    # and now version of python interpreter
60
 
    to_file.write('.'.join(map(str, sys.version_info)))
 
60
    to_file.write(bzrlib._format_version_tuple(sys.version_info))
61
61
    to_file.write('\n')
62
62
 
63
63
    to_file.write("  Python standard library:" + ' ')