summaryrefslogtreecommitdiff
path: root/osprofiler/drivers/mongodb.py
diff options
context:
space:
mode:
Diffstat (limited to 'osprofiler/drivers/mongodb.py')
-rw-r--r--osprofiler/drivers/mongodb.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/osprofiler/drivers/mongodb.py b/osprofiler/drivers/mongodb.py
index 0ca1928..a0372f6 100644
--- a/osprofiler/drivers/mongodb.py
+++ b/osprofiler/drivers/mongodb.py
@@ -28,9 +28,9 @@ class MongoDB(base.Driver):
from pymongo import MongoClient
except ImportError:
raise exc.CommandError(
- "To use this command, you should install "
- "'pymongo' manually. Use command:\n "
- "'pip install pymongo'.")
+ "To use OSProfiler with MongoDB driver, "
+ "please install `pymongo` library. "
+ "To install with pip:\n `pip install pymongo`.")
client = MongoClient(self.connection_str, connect=False)
self.db = client[db_name]