aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/cleanup.py
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-08-02 17:49:20 -0400
committerJack Lloyd <[email protected]>2018-08-02 17:49:20 -0400
commit6e8f5f1a1d5c03ec5c12ce6febe021f9aad00dcd (patch)
treee458d67df39da00a4e70aafdc3ff1d668e034037 /src/scripts/cleanup.py
parent5ed67bfbf96a80af77807443177b4925e0a94797 (diff)
Fix complaints from latest pylint
Diffstat (limited to 'src/scripts/cleanup.py')
-rwxr-xr-xsrc/scripts/cleanup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/cleanup.py b/src/scripts/cleanup.py
index 29f8e8ede..35920f90f 100755
--- a/src/scripts/cleanup.py
+++ b/src/scripts/cleanup.py
@@ -78,7 +78,7 @@ def main(args=None):
build_dir = options.build_dir
- if os.access(build_dir, os.X_OK) != True:
+ if not os.access(build_dir, os.X_OK):
logging.debug('No build directory found')
# No build dir: clean enough!
return 0