diff options
author | Gary E. Miller <gem@rellim.com> | 2018-06-20 10:48:14 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-06-20 10:48:14 -0700 |
commit | d9b5153547da95f73a4bb90058163df79041f414 (patch) | |
tree | 4aa08b0c1d54e95ab3d424be561beeb5355196b6 /maskaudit.py | |
parent | 5113a1fe106faa9d76121d288c1b46e905f33726 (diff) | |
download | gpsd-d9b5153547da95f73a4bb90058163df79041f414.tar.gz |
maskaudit.py: Fix for PEP8
Diffstat (limited to 'maskaudit.py')
-rwxr-xr-x | maskaudit.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/maskaudit.py b/maskaudit.py index 2985b649..debe3eaf 100755 --- a/maskaudit.py +++ b/maskaudit.py @@ -38,12 +38,12 @@ class SourceExtractor(object): self.masks = [] self.primitive_masks = [] for line in open(self.sourcefile): - if ((line.startswith("#define") - and ("_SET" in line or "_IS" in line))): + if (((line.startswith("#define") and + ("_SET" in line or "_IS" in line)))): fields = line.split() self.masks.append((fields[1], fields[2])) - if ((fields[2].startswith("(1llu<<") - or fields[2].startswith("INTERNAL_SET"))): + if ((fields[2].startswith("(1llu<<") or + fields[2].startswith("INTERNAL_SET"))): self.primitive_masks.append((fields[1], fields[2])) def in_library(self, flag): |