[Freeipa-devel] [PATCH] fix typo in error message

Rob Crittenden rcritten at redhat.com
Fri Oct 14 20:03:59 UTC 2011


Pushed under the 1-character rule

 From b607c5cc5ab34c007640011f299f358f190f6652 Mon Sep 17 00:00:00 2001
From: Rob Crittenden <rcritten at redhat.com>
Date: Thu, 13 Oct 2011 22:52:57 -0400
Subject: [PATCH] Fix typo in invalid PTR record error message

https://fedorahosted.org/freeipa/ticket/1982
---
  ipalib/plugins/dns.py |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py
index 0964208..f6bbb3c 100644
--- a/ipalib/plugins/dns.py
+++ b/ipalib/plugins/dns.py
@@ -648,7 +648,7 @@ class dnsrecord(LDAPObject):
          for ptr in options['ptrrecord']:
              if not ptr.endswith('.'):
                  raise errors.ValidationError(name='ptr-rec',
-                        error=unicode(_('PTR record \'%s\' is not fully 
qualified (check traling \'.\')') % ptr))
+                        error=unicode(_('PTR record \'%s\' is not fully 
qualified (check trailing \'.\')') % ptr))

          return dn

-- 
1.6.2.5




More information about the Freeipa-devel mailing list