client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py | 12 ------------
1 file changed, 12 deletions(-)
New commits:
commit db1ddf5815806715c9fa75e1e8ed719d6d9c5b7c
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Mon Mar 29 14:29:26 2010 +0200
validateEmail not called, removing.
diff --git a/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py
b/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py
index b4f3a93..8743536 100644
--- a/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py
+++ b/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py
@@ -46,18 +46,6 @@ cfg = config.initUp2dateConfig()
log = up2dateLog.initLog()
-def validateEmail(email):
- ret = 1
-
- if len(email) < 6:
- ret = 0
- if not email.find("@") > 0:
- ret = 0
- if not email.find(".") > 0:
- ret = 0
-
- return ret
-
def startRhnsd():
# successful registration. Try to start rhnsd if it isn't running.
if os.access("/usr/sbin/rhnsd", os.R_OK|os.X_OK):
Show replies by date