Skip to content

Commit

Permalink
Bug 1620140 - Convert gen_process_enum.py to py3; r=firefox-build-sys…
Browse files Browse the repository at this point in the history
…tem-reviewers,rstewart

Differential Revision: https://phabricator.services.mozilla.com/D65464
  • Loading branch information
mshal committed Mar 6, 2020
1 parent 5a41af0 commit f2bbb88
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def p(line):
processes = collections.OrderedDict(processes)

p("enum class ProcessID : uint32_t {")
for i, (name, _) in enumerate(processes.iteritems()):
for i, (name, _) in enumerate(sorted(processes.items())):
p(" %s = %d," % (to_enum_label(name), i))
p(" Count = %d" % len(processes))
p("};")
Expand Down
1 change: 0 additions & 1 deletion toolkit/components/telemetry/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ processes_files = [

GeneratedFile('TelemetryProcessEnums.h',
script='build_scripts/gen_process_enum.py',
py2=True,
inputs=processes_files)


Expand Down

0 comments on commit f2bbb88

Please sign in to comment.