aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorSimon Warta <simon@kullo.net>2017-01-09 23:15:00 +0100
committerSimon Warta <simon@kullo.net>2017-01-11 12:32:03 +0100
commit2ececdf6a5b60ae143dd61eb516cda6df2300d43 (patch)
treee92feae7bf461cac4a974be2d1ec2cb696116138 /configure.py
parentc3a5db2a831bc6b03436090d87d902a634cb9dd0 (diff)
Resolve lint issues: superfluous-parens
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.py b/configure.py
index 8efd2428b..12fb69e42 100755
--- a/configure.py
+++ b/configure.py
@@ -652,7 +652,7 @@ class ModuleInfo(object):
result = {}
for sep in l[1::3]:
- if(sep != '->'):
+ if sep != '->':
raise ConfigureError("Bad <libs> in module %s" % (self.basename))
for (targetlist, vallist) in zip(l[::3], l[2::3]):
@@ -1128,7 +1128,7 @@ class OsInfo(object):
self.building_shared_supported = (True if self.building_shared_supported == 'yes' else False)
def ranlib_command(self):
- return ('ranlib' if self.ar_needs_ranlib else 'true')
+ return 'ranlib' if self.ar_needs_ranlib else 'true'
def defines(self, options):
r = []