1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-25 14:01:33 -08:00

Make uuid generation portable between python 2.7 and python 3 (at least for ascii branch names).

Copied from Perforce
 Change: 189971
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Gareth Rees 2016-03-13 14:46:28 +00:00
parent dfa7354873
commit 02df4ccedb

View file

@ -276,7 +276,7 @@ def main(argv):
# Invent a UUID to use as the section title for the branch in
# the Git Fusion configuration files.
args.uuid = uuid.uuid5(uuid.NAMESPACE_URL, args.child.encode('utf7'))
args.uuid = uuid.uuid5(uuid.NAMESPACE_URL, str(args.child))
print(fmt("uuid={uuid}"))
for repo in GF_REPOS: