/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 breezy/generate_ids.py

  • Committer: Jelmer Vernooij
  • Date: 2018-06-22 02:22:23 UTC
  • mto: (6973.13.5 python3-l)
  • mto: This revision was merged to the branch mainline in revision 7011.
  • Revision ID: jelmer@jelmer.uk-20180622022223-w5hnlijf3j7rm6na
Fix more tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
    #           suffix forever.
60
60
    global _gen_file_id_suffix, _gen_file_id_serial
61
61
    if _gen_file_id_suffix is None:
62
 
        _gen_file_id_suffix =  ("-%s-%s-" % (
 
62
        _gen_file_id_suffix = ("-%s-%s-" % (
63
63
                osutils.compact_date(time.time()), osutils.rand_chars(16))
64
64
            ).encode("ascii")
65
65
    _gen_file_id_serial += 1