def GetHTTPFileContents( url ): fileContents = None try: filehandle = urllib.urlopen( url ) return filehandle.read() except: logging.warning("connection cannot be made to" + url) return