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:
parent
dfa7354873
commit
02df4ccedb
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue