note py problem

This commit is contained in:
John Cupitt 2016-06-17 09:36:04 +01:00
parent f3326c8126
commit d56cd4dcb2
2 changed files with 8 additions and 2 deletions

6
TODO
View File

@ -1,3 +1,9 @@
- python can't set new metadata, it can only set existing metadata
im.set_value("banana", 12)
will fail as Vips.py tries to look up the type of "banana"
- add more webp tests to py suite
- try moving some more of the CLI tests to py

View File

@ -869,8 +869,8 @@ class Image(Vips.Image):
For example, bytes() can be used to set VipsBlob fields.
"""
gtype = self.get_typeof(field)
logger.debug('assigning %s to %s' % (value, self))
logger.debug('%s needs a %s' % (self, gtype))
logger.debug('%s.%s = %s' % (self, field, value))
logger.debug('%s.%s needs a %s' % (self, field, gtype))
# blob-ize
if GObject.type_is_a(gtype, vips_type_blob):