[Bf-blender-cvs] [38752944f87] master: Fix formatting bug in `AbstractAlembicTest` class

Sybren A. Stüvel noreply at git.blender.org
Mon Aug 17 14:12:16 CEST 2020


Commit: 38752944f871d78feffc7a699ac475e5eef9e130
Author: Sybren A. Stüvel
Date:   Mon Aug 17 13:57:55 2020 +0200
Branches: master
https://developer.blender.org/rB38752944f871d78feffc7a699ac475e5eef9e130

Fix formatting bug in `AbstractAlembicTest` class

Replace `formatstring, value` with the correct `formatstring % value`.

No functional changes to any actual tests.

===================================================================

M	tests/python/alembic_tests.py

===================================================================

diff --git a/tests/python/alembic_tests.py b/tests/python/alembic_tests.py
index 66545dc85c7..c911634ba12 100644
--- a/tests/python/alembic_tests.py
+++ b/tests/python/alembic_tests.py
@@ -105,7 +105,7 @@ class AbstractAlembicTest(AbstractBlenderRunnerTest):
                 # To read those, call self.abcprop() on it.
                 continue
             if len(parts) < 2:
-                raise ValueError('Error parsing result from abcprop: %s', info.strip())
+                raise ValueError('Error parsing result from abcprop: %s' % info.strip())
             valtype_and_arrsize, name_and_extent = parts[1:]
 
             # Parse name and extent



More information about the Bf-blender-cvs mailing list