aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2017-07-30 16:54:24 +0200
committerSimon Warta <[email protected]>2017-07-30 17:16:56 +0200
commit8f471a00051522c4ca92387aa84dd61e613cf20c (patch)
treece49e3894ada222a6dda48d180ddf4a592413cc9
parent7bc17bc4af92f0b639c98cdc5f59f8039275b014 (diff)
install.py: disable two pylint warnings locally
-rwxr-xr-xsrc/scripts/install.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/install.py b/src/scripts/install.py
index 269c76c5c..f58b171e9 100755
--- a/src/scripts/install.py
+++ b/src/scripts/install.py
@@ -11,7 +11,7 @@ Botan is released under the Simplified BSD License (see license.txt)
import errno
import json
import logging
-import optparse
+import optparse # pylint: disable=deprecated-module
import os
import shutil
import string
@@ -233,7 +233,7 @@ def main(args=None):
if __name__ == '__main__':
try:
sys.exit(main())
- except Exception as e:
+ except Exception as e: # pylint: disable=broad-except
logging.error('Failure: %s' % (e))
import traceback
logging.info(traceback.format_exc())