capybara/virtualenv/lib/python2.7/site-packages/jinja2/bccache.py
def load_bytecode(self, f):
        """Loads bytecode from a file or file like object."""
        # make sure the magic header is correct
        magic = f.read(len(bc_magic))
        if magic != bc_magic:
            self.reset()
            return
        # the source code of the file changed, we need to reload
        checksum = pickle.load(f)
        if self.checksum != checksum:
            self.reset()
            return
        self.code = marshal_load(f)
def load_bytecode(self, f):
        # make sure the magic header is correct
        magic = f.read(len(bc_magic))
        if magic != bc_magic:
            self.reset()
            return
        # the source code of the file changed, we need to reload
        checksum = pickle.load(f)
        if self.checksum != checksum:
            self.reset()
            return
        self.code = marshal_load(f)
def load_bytecode ( self , f ) : # make sure the magic header is correct magic = f . read ( len ( bc_magic ) ) if magic != bc_magic : self . reset ( ) return # the source code of the file changed, we need to reload checksum = pickle . load ( f ) if self . checksum != checksum : self . reset ( ) return self . code = marshal_load ( f )
Loads bytecode from a file or file like object.
Loads bytecode from a file or file like object .