bcoconni / ValgrindCI

A Python package that provides tools to integrate valgrind into your CI workflow
GNU General Public License v3.0
20 stars 8 forks source link

Fix to only add Frame with an 'obj' #5

Closed hamletg closed 2 years ago

hamletg commented 2 years ago

For some interesting reasons, there are Frames with an 'obj'. If added, an exception is thrown in the first line of Frame init:

class Frame:
    def __init__(self, tag):
        self.obj = tag.find("obj").text

So I added a test to make sure that only Frames with an 'obj' are considered.

bcoconni commented 2 years ago

PR merged. Thanks for your contribution.