summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipa-admintools/ipa-addgroup4
-rw-r--r--ipa-admintools/ipa-adduser4
-rw-r--r--ipa-admintools/ipa-modgroup4
-rw-r--r--ipa-admintools/ipa-moduser4
4 files changed, 8 insertions, 8 deletions
diff --git a/ipa-admintools/ipa-addgroup b/ipa-admintools/ipa-addgroup
index 89f763006..caf4e93dc 100644
--- a/ipa-admintools/ipa-addgroup
+++ b/ipa-admintools/ipa-addgroup
@@ -118,7 +118,7 @@ def main():
if options.setattr:
for s in options.setattr:
- s = s.split('=')
+ s = s.split('=', 1)
if len(s) != 2:
set_add_usage("set")
sys.exit(1)
@@ -127,7 +127,7 @@ def main():
if options.addattr:
for a in options.addattr:
- a = a.split('=')
+ a = a.split('=', 1)
if len(a) != 2:
set_add_usage("add")
sys.exit(1)
diff --git a/ipa-admintools/ipa-adduser b/ipa-admintools/ipa-adduser
index 09f5c758b..2c32d1e58 100644
--- a/ipa-admintools/ipa-adduser
+++ b/ipa-admintools/ipa-adduser
@@ -234,7 +234,7 @@ def main():
if options.setattr:
for s in options.setattr:
- s = s.split('=')
+ s = s.split('=', 1)
if len(s) != 2:
set_add_usage("set")
sys.exit(1)
@@ -243,7 +243,7 @@ def main():
if options.addattr:
for a in options.addattr:
- a = a.split('=')
+ a = a.split('=', 1)
if len(a) != 2:
set_add_usage("add")
sys.exit(1)
diff --git a/ipa-admintools/ipa-modgroup b/ipa-admintools/ipa-modgroup
index 327e80b36..8ca8b1f94 100644
--- a/ipa-admintools/ipa-modgroup
+++ b/ipa-admintools/ipa-modgroup
@@ -180,7 +180,7 @@ def main():
if options.setattr:
for s in options.setattr:
- s = s.split('=')
+ s = s.split('=', 1)
if len(s) != 2:
set_add_usage("set")
sys.exit(1)
@@ -189,7 +189,7 @@ def main():
if options.addattr:
for a in options.addattr:
- a = a.split('=')
+ a = a.split('=', 1)
if len(a) != 2:
set_add_usage("add")
sys.exit(1)
diff --git a/ipa-admintools/ipa-moduser b/ipa-admintools/ipa-moduser
index b77fede9a..22f231893 100644
--- a/ipa-admintools/ipa-moduser
+++ b/ipa-admintools/ipa-moduser
@@ -236,7 +236,7 @@ def main():
if options.setattr:
for s in options.setattr:
- s = s.split('=')
+ s = s.split('=', 1)
if len(s) != 2:
set_add_usage("set")
sys.exit(1)
@@ -245,7 +245,7 @@ def main():
if options.addattr:
for a in options.addattr:
- a = a.split('=')
+ a = a.split('=', 1)
if len(a) != 2:
set_add_usage("add")
sys.exit(1)