Skip to content

Rename get_cpu_arch to get_target_cpu_arch - #5464

Draft
JuanMBriones wants to merge 1 commit into
masterfrom
rename_get_cpu_arch
Draft

JuanMBriones wants to merge 1 commit into
masterfrom
rename_get_cpu_arch

Conversation

@JuanMBriones

@JuanMBriones JuanMBriones commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

get_cpu_arch method might be a bit confusing, get_target_cpu_arch is a bit
more descriptive.

  • Ran python butler.py py_unittest -t core -p commands_test.py (passed).
  • Ran python butler.py py_unittest -t core -p settings_test.py (passed).
  • Ran python butler.py py_unittest -t core -p environment_test.py (passed).

Bug: 559993851
Signed-off-by: Manuel Briones manuelbriones@google.com

Comment thread src/clusterfuzz/_internal/system/environment.py
Comment thread src/clusterfuzz/_internal/system/environment.py
@JuanMBriones
JuanMBriones force-pushed the rename_get_cpu_arch branch 2 times, most recently from a9768d0 to c6aea43 Compare September 14, 2026 22:31
return get_host_cpu_arch()


def get_host_cpu_arch():

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New method looks like this @g-ortuno

`get_cpu_arch` method might be a bit confusing, `get_target_cpu_arch` is a bit
more descriptive.

- Ran `python butler.py py_unittest -t core -p commands_test.py` (passed).
- Ran `python butler.py py_unittest -t core -p settings_test.py` (passed).
- Ran `python butler.py py_unittest -t core -p environment_test.py` (passed).

Bug: 559993851
Signed-off-by: Manuel Briones <manuelbriones@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants