tests: return 0 instead of None for unknown file in test component class support...
[babeltrace.git] / tests / data / auto-source-discovery / grouping / bt_plugin_test.py
index 2495b502099714a72eae152f367713d85cbb2b0a..a4d53dbd88d75b267badb2ed8b645e2698b69aaa 100644 (file)
@@ -76,8 +76,8 @@ class TestSourceExt(Base, bt2._UserSourceComponent, message_iterator_class=TestI
                         return 1
                     else:
                         return 1.0
-            else:
-                return 0
+
+            return 0
         else:
             raise bt2.UnknownObject
 
This page took 0.024548 seconds and 4 git commands to generate.