diff options
author | Fred Wright <fw@fwright.net> | 2016-04-10 19:29:08 -0700 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2016-04-11 03:24:46 -0400 |
commit | b3c3c6c9c1401131fb6da09800ef48f708a1ad40 (patch) | |
tree | 8d4489e636e52e1fdd6660d0471c8f39ee2d0d77 /drivers.c | |
parent | f759d02299ca5b1d26aeaad44096e41979a699f1 (diff) | |
download | gpsd-b3c3c6c9c1401131fb6da09800ef48f708a1ad40.tar.gz |
Changes fake.py subclasses to use super() in __init__().
This doesn't really change any behavior, but serves as a better
example for future code. Note that this can't be done so easily for
gps.gps, due to the mismatched init signatures.
This uses the older super() syntax, which is compatible with both
Python 2 and Python 3.
TESTED:
Ran "scons build-all check" with all six supported Python versions.
Also tested exception objects manually.
Diffstat (limited to 'drivers.c')
0 files changed, 0 insertions, 0 deletions