(cls, filename, verbose)
return None
Opens a config file for reading.
        Returns XML Elementree object representing XML Config file.
        
        Argument(s):
        No arguments are required.
        
        Return value(s):
        ElementTree
        
        Restrictions:
        File must be named sites.xml and must be in same directory as caller.
        This Method is tagged as a Class Method
Opens a config file for reading.
        Returns XML Elementree object representing XML Config file.
        
        Argument(s):
        No arguments are required.
        
        Return value(s):
        ElementTree
        
        Restrictions:
        File must be named sites.xml and must be in same directory as caller.
        This Method is tagged as a Class Method
Opens a config file for reading . Returns XML Elementree object representing XML Config file . Argument ( s ) : No arguments are required . Return value ( s ) : ElementTree Restrictions : File must be named sites . xml and must be in same directory as caller . This Method is tagged as a Class Method
def getXMLTree(cls, filename, verbose):
        """
        Opens a config file for reading.
        Returns XML Elementree object representing XML Config file.
        
        Argument(s):
        No arguments are required.
        
        Return value(s):
        ElementTree
        
        Restrictions:
        File must be named sites.xml and must be in same directory as caller.
        This Method is tagged as a Class Method
        """
        if SitesFile.fileExists(filename):
            try:
                with open(filename) as f:
                    sitetree = ElementTree()
                    sitetree.parse(f)
                    return sitetree
            except:
                SiteDetailOutput.PrintStandardOutput('There was an error reading from the {xmlfile} input file.\n'
                                                     'Please check that the {xmlfile} file is present and correctly '
                                                     'formatted.'.format(xmlfile=filename), verbose=verbose)
        else:
            SiteDetailOutput.PrintStandardOutput('No local {xmlfile} file present.'.format(xmlfile=filename),
                                                 verbose=verbose)
        return None
def getXMLTree ( cls , filename , verbose ) : if SitesFile . fileExists ( filename ) : try : with open ( filename ) as f : sitetree = ElementTree ( ) sitetree . parse ( f ) return sitetree except : SiteDetailOutput . PrintStandardOutput ( 'There was an error reading from the {xmlfile} input file.\n' 'Please check that the {xmlfile} file is present and correctly ' 'formatted.' . format ( xmlfile = filename ) , verbose = verbose ) else : SiteDetailOutput . PrintStandardOutput ( 'No local {xmlfile} file present.' . format ( xmlfile = filename ) , verbose = verbose ) return None