virtualEnvironment/lib/python2.7/site-packages/coverage/data.py
def _read_file(self, filename):
        """Return the stored coverage data from the given file.

        Returns two values, suitable for assigning to `self.lines` and
        `self.arcs`.

        """
        lines = {}
        arcs = {}
        try:
            data = self.raw_data(filename)
            if isinstance(data, dict):
                # Unpack the 'lines' item.
                lines = dict([
                    (f, dict.fromkeys(linenos, None))
                        for f, linenos in iitems(data.get('lines', {}))
                    ])
                # Unpack the 'arcs' item.
                arcs = dict([
                    (f, dict.fromkeys(arcpairs, None))
                        for f, arcpairs in iitems(data.get('arcs', {}))
                    ])
        except Exception:
            pass
        return lines, arcs
def _read_file(self, filename):
        lines = {}
        arcs = {}
        try:
            data = self.raw_data(filename)
            if isinstance(data, dict):
                # Unpack the 'lines' item.
                lines = dict([
                    (f, dict.fromkeys(linenos, None))
                        for f, linenos in iitems(data.get('lines', {}))
                    ])
                # Unpack the 'arcs' item.
                arcs = dict([
                    (f, dict.fromkeys(arcpairs, None))
                        for f, arcpairs in iitems(data.get('arcs', {}))
                    ])
        except Exception:
            pass
        return lines, arcs
def _read_file ( self , filename ) : lines = { } arcs = { } try : data = self . raw_data ( filename ) if isinstance ( data , dict ) : # Unpack the 'lines' item. lines = dict ( [ ( f , dict . fromkeys ( linenos , None ) ) for f , linenos in iitems ( data . get ( 'lines' , { } ) ) ] ) # Unpack the 'arcs' item. arcs = dict ( [ ( f , dict . fromkeys ( arcpairs , None ) ) for f , arcpairs in iitems ( data . get ( 'arcs' , { } ) ) ] ) except Exception : pass return lines , arcs
Return the stored coverage data from the given file.

        Returns two values, suitable for assigning to `self.lines` and
        `self.arcs`.
Return the stored coverage data from the given file .