projects
/
wifihood
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
REFACTORING : Use the 'string operator' to write logfile
[wifihood]
/
wifiscanner
/
wifimap
/
gps.py
diff --git
a/wifiscanner/wifimap/gps.py
b/wifiscanner/wifimap/gps.py
index
33f8643
..
b435bf2
100644
(file)
--- a/
wifiscanner/wifimap/gps.py
+++ b/
wifiscanner/wifimap/gps.py
@@
-83,6
+83,10
@@
class GPSObject ( gobject.GObject ) :
else :
self.info = None, 0, 0, None, None, None, None
+ def __str__ ( self ) :
+ output = map( str , self.info )
+ return " ".join( output )
+
def report ( self ) :
return "%d gps" % self.ngps