diff options
author | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2019-04-20 10:40:55 -0400 |
---|---|---|
committer | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2019-04-20 10:40:55 -0400 |
commit | 56de1d377689bd9e3c0884371df0da5b6d3f7cd9 (patch) | |
tree | f71546396dd5a82c8b0fb64360b3ab7795ea7d11 /buildscripts/gdb | |
parent | 341a4a4446b618b4029a798ffa5824c46bf41b39 (diff) | |
download | mongo-56de1d377689bd9e3c0884371df0da5b6d3f7cd9.tar.gz |
SERVER-39923 Fix lint.
Diffstat (limited to 'buildscripts/gdb')
-rw-r--r-- | buildscripts/gdb/mongo.py | 4 | ||||
-rw-r--r-- | buildscripts/gdb/mongo_lock.py | 3 | ||||
-rw-r--r-- | buildscripts/gdb/mongo_printers.py | 3 |
3 files changed, 7 insertions, 3 deletions
diff --git a/buildscripts/gdb/mongo.py b/buildscripts/gdb/mongo.py index 9a7db2e8a9f..3e4ced9e4e3 100644 --- a/buildscripts/gdb/mongo.py +++ b/buildscripts/gdb/mongo.py @@ -22,7 +22,9 @@ except Exception as e: # pylint: enable=invalid-name,wildcard-import if sys.version_info[0] < 3: - raise gdb.GdbError("MongoDB gdb extensions only support Python 3. Your GDB was compiled against Python 2") + raise gdb.GdbError( + "MongoDB gdb extensions only support Python 3. Your GDB was compiled against Python 2") + def get_process_name(): """Return the main binary we are attached to.""" diff --git a/buildscripts/gdb/mongo_lock.py b/buildscripts/gdb/mongo_lock.py index 9591357f1c7..09996428a91 100644 --- a/buildscripts/gdb/mongo_lock.py +++ b/buildscripts/gdb/mongo_lock.py @@ -7,7 +7,8 @@ import gdb import gdb.printing if sys.version_info[0] < 3: - raise gdb.GdbError("MongoDB gdb extensions only support Python 3. Your GDB was compiled against Python 2") + raise gdb.GdbError( + "MongoDB gdb extensions only support Python 3. Your GDB was compiled against Python 2") class NonExecutingThread(object): diff --git a/buildscripts/gdb/mongo_printers.py b/buildscripts/gdb/mongo_printers.py index 6b73cd84751..92cbef3aacf 100644 --- a/buildscripts/gdb/mongo_printers.py +++ b/buildscripts/gdb/mongo_printers.py @@ -18,7 +18,8 @@ except ImportError as err: bson = None if sys.version_info[0] < 3: - raise gdb.GdbError("MongoDB gdb extensions only support Python 3. Your GDB was compiled against Python 2") + raise gdb.GdbError( + "MongoDB gdb extensions only support Python 3. Your GDB was compiled against Python 2") def get_unique_ptr(obj): |