diff options
| author | Lukáš Doktor | 2017-08-18 16:26:12 +0200 |
|---|---|---|
| committer | Eduardo Habkost | 2017-09-16 01:12:00 +0200 |
| commit | 7b6b9dbb3c4cb7eac4c847d601735da9b1d150ce (patch) | |
| tree | 7ca6dad3540ba50a94e044216f7226238e492bb0 /include/exec | |
| parent | qmp.py: Avoid "has_key" usage (diff) | |
| download | qemu-7b6b9dbb3c4cb7eac4c847d601735da9b1d150ce.tar.gz qemu-7b6b9dbb3c4cb7eac4c847d601735da9b1d150ce.tar.xz qemu-7b6b9dbb3c4cb7eac4c847d601735da9b1d150ce.zip | |
qmp.py: Avoid overriding a builtin object
The "id" is a builtin method to get object's identity and should not be
overridden. This might bring some issues in case someone was directly
calling "cmd(..., id=id)" but I haven't found such usage on brief search
for "cmd\(.*id=".
Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20170818142613.32394-10-ldoktor@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
