diff options
author | equinox <equinox@diac24.net> | 2011-09-30 01:37:58 +0200 |
---|---|---|
committer | equinox <equinox@diac24.net> | 2011-09-30 01:37:58 +0200 |
commit | ff8df62dfad7aa990254914400fe57a3bebbe163 (patch) | |
tree | 95c807e4318350c63b274fc962d4e3fb2350d515 | |
parent | 6eeadd3e2f7c0ce30810eea1539844005c2d123c (diff) |
remove fork
-rwxr-xr-x | index.py | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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}) |