code: def _strip_zoom(input_string, strip_string):
      
      try:
          return int(input_string.strip(strip_string))
      except Exception as e:
          raise MapcheteConfigError("zoom level could not be determined: %s" % e)
docs: Return zoom level as integer or throw error.