From ff8df62dfad7aa990254914400fe57a3bebbe163 Mon Sep 17 00:00:00 2001 From: equinox Date: Fri, 30 Sep 2011 01:37:58 +0200 Subject: remove fork --- index.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/index.py b/index.py index 42862ab..6b68057 100755 --- a/index.py +++ b/index.py @@ -127,9 +127,7 @@ class SubdapSite(object): return render(errors = errors, username = username) accountservice.name_create(username, password) - if os.fork() == 0: - accountservice.kprop() - os._exit(0) + accountservice.kprop() return s.login(username, password) @expose('pwchange.html') @@ -151,9 +149,7 @@ class SubdapSite(object): except kerberos.PwdChangeError, e: return render(errors = {'password2': unicode(e[0])}, username = username) - if os.fork() == 0: - accountservice.kprop() - os._exit(0) + accountservice.kprop() return s.selectpage(l, dn, {'pwchangeok': True}) -- cgit v1.2.1