summaryrefslogtreecommitdiff
path: root/jsongen.py.in
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-04-20 07:08:30 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-04-20 07:08:30 -0400
commit9d833907c8ea67381b6ef391ca073939cb92c8c5 (patch)
treec3f06e0fdaea59d9fc80c1db2cb82ad2ffa42b7a /jsongen.py.in
parent9ea5ad58a4051ec2521a2ccd9aac5dc1dd204835 (diff)
downloadgpsd-9d833907c8ea67381b6ef391ca073939cb92c8c5.tar.gz
Cosmetic fix.
Diffstat (limited to 'jsongen.py.in')
-rw-r--r--jsongen.py.in54
1 files changed, 27 insertions, 27 deletions
diff --git a/jsongen.py.in b/jsongen.py.in
index dd468c50..e98ea577 100644
--- a/jsongen.py.in
+++ b/jsongen.py.in
@@ -93,34 +93,34 @@ ais_specs = (
"stringbuffered":("data",),
},
{
- "initname" : "json_ais6_fid12",
- "header": "\tAIS_HEADER,",
- "structname": "ais->type6",
- "fieldmap":(
- # fieldname type default
- ('seqno', 'uinteger', '0'),
- ('dest_mmsi', 'uinteger', '0'),
- ('retransmit', 'boolean', 'false'),
- ('dac', 'uinteger', '0'),
- ('fid', 'uinteger', '0'),
- ('dac1fid12.lastport', 'string', None),
- ('dac1fid12.lmonth', 'uinteger', 'AIS_MONTH_NOT_AVAILABLE'),
- ('dac1fid12.lday', 'uinteger', 'AIS_DAY_NOT_AVAILABLE'),
- ('dac1fid12.lhour', 'uinteger', 'AIS_HOUR_NOT_AVAILABLE'),
- ('dac1fid12.lminute', 'uinteger', 'AIS_MINUTE_NOT_AVAILABLE'),
- ('dac1fid12.nextport', 'string', None),
- ('dac1fid12.nmonth', 'uinteger', 'AIS_MONTH_NOT_AVAILABLE'),
- ('dac1fid12.nday', 'uinteger', 'AIS_DAY_NOT_AVAILABLE'),
- ('dac1fid12.nhour', 'uinteger', 'AIS_HOUR_NOT_AVAILABLE'),
- ('dac1fid12.nminute', 'uinteger', 'AIS_MINUTE_NOT_AVAILABLE'),
- ('dac1fid12.dangerous', 'string', None),
- ('dac1fid12.imdcat', 'string', None),
- ('dac1fid12.unid', 'uinteger', '0'),
- ('dac1fid12.amount', 'uinteger', '0'),
- ('dac1fid12.unit', 'uinteger', '0'),
- ),
+ "initname" : "json_ais6_fid12",
+ "header": "\tAIS_HEADER,",
+ "structname": "ais->type6",
+ "fieldmap":(
+ # fieldname type default
+ ('seqno', 'uinteger', '0'),
+ ('dest_mmsi', 'uinteger', '0'),
+ ('retransmit', 'boolean', 'false'),
+ ('dac', 'uinteger', '0'),
+ ('fid', 'uinteger', '0'),
+ ('dac1fid12.lastport', 'string', None),
+ ('dac1fid12.lmonth', 'uinteger', 'AIS_MONTH_NOT_AVAILABLE'),
+ ('dac1fid12.lday', 'uinteger', 'AIS_DAY_NOT_AVAILABLE'),
+ ('dac1fid12.lhour', 'uinteger', 'AIS_HOUR_NOT_AVAILABLE'),
+ ('dac1fid12.lminute', 'uinteger', 'AIS_MINUTE_NOT_AVAILABLE'),
+ ('dac1fid12.nextport', 'string', None),
+ ('dac1fid12.nmonth', 'uinteger', 'AIS_MONTH_NOT_AVAILABLE'),
+ ('dac1fid12.nday', 'uinteger', 'AIS_DAY_NOT_AVAILABLE'),
+ ('dac1fid12.nhour', 'uinteger', 'AIS_HOUR_NOT_AVAILABLE'),
+ ('dac1fid12.nminute', 'uinteger', 'AIS_MINUTE_NOT_AVAILABLE'),
+ ('dac1fid12.dangerous', 'string', None),
+ ('dac1fid12.imdcat', 'string', None),
+ ('dac1fid12.unid', 'uinteger', '0'),
+ ('dac1fid12.amount', 'uinteger', '0'),
+ ('dac1fid12.unit', 'uinteger', '0'),
+ ),
},
- {
+ {
"initname" : "json_ais6_fid16",
"header": "\tAIS_HEADER,",
"structname": "ais->type6",