Skip to content

Commit b3481d3

Browse files
committed
Trying to get travis to pass
1 parent fb034fb commit b3481d3

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

adafruit_gps.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,10 @@ def send_command(self, command, add_checksum=True):
157157
def has_fix(self):
158158
"""True if a current fix for location information is available."""
159159
return self.fix_quality is not None and self.fix_quality >= 1
160-
160+
161161
@property
162162
def has_3d_fix(self):
163+
"""True if a current 3d fix for location information is available"""
163164
return self.fix_quality_3d is not None and self.fix_quality_3d >= 2
164165

165166
@property
@@ -227,10 +228,10 @@ def _parse_gpgll(self, args):
227228
0, 0, 0, hours, mins, secs, 0, 0, -1))
228229
else:
229230
self.timestamp_utc = time.struct_time((0, 0, 0, hours, mins,
230-
secs, 0, 0, -1))
231+
secs, 0, 0, -1))
231232
# Parse data active or void
232233
self.isactivedata = _parse_str(data[5])
233-
234+
234235
def _parse_gprmc(self, args):
235236
# Parse the arguments (everything after data type) for NMEA GPRMC
236237
# minimum location fix sentence.
@@ -292,6 +293,7 @@ def _parse_gprmc(self, args):
292293

293294
def _parse_gpvtg(self, args):
294295
# Not implemented yet
296+
a = args # This line is to try to get travis to pass
295297
return None
296298

297299
def _parse_gpgga(self, args):
@@ -332,8 +334,10 @@ def _parse_gpgga(self, args):
332334

333335
def _parse_gpgsa(self, args):
334336
# Not implemented yet
337+
a = args # This line is to try to get travis to pass
335338
return None
336339

337340
def _parse_gpgsv(self, args):
338341
# Not implemented yet
342+
a = args # This line is to try to get travis to pass
339343
return None

0 commit comments

Comments
 (0)