File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ class InternalServerError(ServerError):
147147 code = 500
148148
149149
150- class NotImplementedMethod (ServerError ):
150+ class MethodNotImplemented (ServerError ):
151151 """Exception mapping a '501 Not Implemented' response."""
152152 code = 501
153153
Original file line number Diff line number Diff line change @@ -204,9 +204,9 @@ def _parse_value_resource(resource):
204204 return TimestampValue (value )
205205 if 'geoValue' in resource :
206206 lat_long = resource ['geoValue' ]
207- lat , long_val = [float (coord .strip ())
208- for coord in lat_long .split (',' )]
209- return GeoValue ((lat , long_val ))
207+ latitude , longitude = [float (coord .strip ())
208+ for coord in lat_long .split (',' )]
209+ return GeoValue ((latitude , longitude ))
210210 raise ValueError ("Unknown value type" )
211211
212212 def _parse_fields_resource (self , resource ):
You can’t perform that action at this time.
0 commit comments