summaryrefslogtreecommitdiffstats
path: root/glusternagios
diff options
context:
space:
mode:
Diffstat (limited to 'glusternagios')
-rw-r--r--glusternagios/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glusternagios/utils.py b/glusternagios/utils.py
index 414c00f..88ebccf 100644
--- a/glusternagios/utils.py
+++ b/glusternagios/utils.py
@@ -517,7 +517,7 @@ def parseXml(xmldoc, searchStr):
def getsnmpmanagers(path):
listofmanagers = []
- with open(path, "r+") as mangerconfig:
+ with open(path, "r") as mangerconfig:
for line in mangerconfig.readlines():
if line.startswith("#"):
continue