/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-11-11 04:08:32 UTC
  • mto: (7143.16.20 even-more-cleanups)
  • mto: This revision was merged to the branch mainline in revision 7175.
  • Revision ID: jelmer@jelmer.uk-20181111040832-nsljjynzzwmznf3h
Run autopep8.

Show diffs side-by-side

added added

removed removed

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