On Thu, Mar 15, 2018 at 05:11:06PM +0100, Andrea Bolognani wrote:
All of these have been replaced with methods.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
docs/apibuild.py | 142 +++++++++++++++++++++++++++----------------------------
1 file changed, 71 insertions(+), 71 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange(a)redhat.com>
@@ -478,8 +478,8 @@ class CLexer:
return None
if line[0] == '#':
- self.tokens = map((lambda x: ('preproc', x)),
- string.split(line))
+ self.tokens = list(map((lambda x: ('preproc', x)),
+ line.split()))
Nitpick - the list() addition belongs in a later patch
Regards,
Daniel
--
|:
https://berrange.com -o-
https://www.flickr.com/photos/dberrange :|
|:
https://libvirt.org -o-
https://fstop138.berrange.com :|
|:
https://entangle-photo.org -o-
https://www.instagram.com/dberrange :|