Skip to content

Instantly share code, notes, and snippets.

@ehabkost
Created May 11, 2018 18:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ehabkost/c1d4e631d1c979ce4919f3bc8c00f406 to your computer and use it in GitHub Desktop.
Save ehabkost/c1d4e631d1c979ce4919f3bc8c00f406 to your computer and use it in GitHub Desktop.
2to3 output on QEMU source tree
So, most of the 2to3 fixes give false positives, but some fixers give some useful pointers:
'2to3 -f print' gives us this:
scripts/analyse-9p-simpletrace.py
scripts/analyse-locks-simpletrace.py [*]
scripts/analyze-migration.py
scripts/device-crash-test
scripts/dump-guest-memory.py [*]
scripts/kvm/kvm_flightrecorder
scripts/kvm/vmxcap [*]
scripts/qmp/qemu-ga-client [*]
scripts/qmp/qmp
scripts/qmp/qmp-shell
scripts/qmp/qom-get
scripts/qmp/qom-list
scripts/qmp/qom-set
scripts/qmp/qom-tree
scripts/replay-dump.py
scripts/simpletrace.py
scripts/vmstate-static-checker.py
tests/docker/docker.py
tests/docker/travis.py
tests/guest-debug/test-gdbstub.py [*]
tests/image-fuzzer/runner.py
tests/migration/guestperf/engine.py
tests/migration/guestperf/plot.py
tests/migration/guestperf/shell.py
tests/qemu-iotests/149
tests/qemu-iotests/165
tests/qemu-iotests/iotests.py
tests/qemu-iotests/nbd-fault-injector.py
tests/qemu-iotests/qcow2.py
tests/qemu-iotests/qed.py
tests/vm/basevm.py
[*] Looks like false positive
Other fixers that don't look like false positives:
-f numliterals:
scripts/qmp/qom-fuse
tests/qemu-iotests/118
-f except:
scripts/simpletrace.py
-f imports:
tests/docker/docker.py
tests/image-fuzzer/runner.py
tests/qemu-iotests/iotests.py
tests/qemu-iotests/nbd-fault-injector.py
-f next:
scripts/ordereddict.py
scripts/vmstate-static-checker.py
tests/image-fuzzer/runner.py
-f input:
No files need to be modified.
-f reduce:
tests/image-fuzzer/qcow2/fuzz.py
-f renames:
tests/image-fuzzer/runner.py
-f standarderror:
scripts/qmp/qemu-ga-client
-f tuple_params:
scripts/analyse-locks-simpletrace.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment