diff options
author | Lukáš Doktor <ldoktor@redhat.com> | 2017-08-18 16:26:12 +0200 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2017-09-15 20:12:00 -0300 |
commit | 7b6b9dbb3c4cb7eac4c847d601735da9b1d150ce (patch) | |
tree | 7ca6dad3540ba50a94e044216f7226238e492bb0 /nbd | |
parent | 2cb05a3f3613f633b916b854cfaf04c663ccc953 (diff) |
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 'nbd')
0 files changed, 0 insertions, 0 deletions