summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2011-03-23 21:55:37 +0000
committerArthur de Jong <arthur@arthurdejong.org>2011-03-23 21:55:37 +0000
commit6b8ecc178d9984e1a4b56050a84ac45932e073f5 (patch)
tree30fcc030af55f8203464758ad5714817354dd971
parent0b7bb5bd8c08d8654897e1803047ac61bcb52dc4 (diff)
fix use of spaces
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1406 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r--pynslcd/host.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pynslcd/host.py b/pynslcd/host.py
index e1db101..dcd03e3 100644
--- a/pynslcd/host.py
+++ b/pynslcd/host.py
@@ -40,14 +40,14 @@ class HostRequest(common.Request):
hostname = common.get_rdn_value(entry, self.attmap_cn)
hostnames = attributes.get(self.attmap_cn, [])
if not hostnames:
- print 'Error: entry %s does not contain %s value' % ( dn, self.attmap_cn)
+ print 'Error: entry %s does not contain %s value' % ( dn, self.attmap_cn )
if not hostname:
hostname = hostnames.pop(0)
else:
hostnames.remove(hostname)
addresses = attributes.get(self.attmap_ipHostNumber, [])
if not addresses:
- print 'Error: entry %s does not contain %s value' % ( dn, self.attmap_ipHostNumber)
+ print 'Error: entry %s does not contain %s value' % ( dn, self.attmap_ipHostNumber )
# write result
self.fp.write_int32(constants.NSLCD_RESULT_BEGIN)
self.fp.write_string(hostname)