예제 #1
0
 def parse_officials(self):
   """Parse the officials"""
   
   # begin proper body of method
   lx_doc = self.html_doc()
   off_parser = opm(self.game_key.season)
   self.officials = off_parser(lx_doc)
     
   return self.officials
예제 #2
0
    def parse_officials(self):
        """
        Parse the officials
        
        :returns: ``self`` on success, ``None`` otherwise
        """
        # begin proper body of method
        lx_doc = self.html_doc()
        off_parser = opm(self.game_key.season)
        self.officials = off_parser(lx_doc)

        return self if self.officials else None
예제 #3
0
    def parse_officials(self):
        """
        Parse the officials

        :returns: ``self`` on success, ``None`` otherwise
        """
        # begin proper body of method
        lx_doc = self.html_doc()
        off_parser = opm(self.game_key.season)
        self.officials = off_parser(lx_doc)

        return self if self.officials else None