[SUCS Devel] [Git][sucs/accountmanager][master] Forgot a : !

Imran Hussain imranh at sucs.org
Sun Mar 10 12:57:01 GMT 2019


Imran Hussain pushed to branch master at sucs / accountmanager


Commits:
a7936d05 by Imran Hussain at 2019-03-10T12:56:44Z
Forgot a : !

- - - - -


1 changed file:

- sucsam.py


Changes:

=====================================
sucsam.py
=====================================
@@ -265,7 +265,7 @@ def deleteUser(peopleList):
 		subprocess.call(['sudo', 'mv', "-f", mboxdir+username, persondir+"/mbox"])
 
 		# if they have a apcahe vhost kill it
-		if os.path.exists("/etc/apache2/sites-enabled/" + username + ".conf")
+		if os.path.exists("/etc/apache2/sites-enabled/" + username + ".conf"):
 			subprocess.call(['sudo', 'a2dissite', username + ".conf"])
 			subprocess.call(['sudo', 'systemctl', "reload", "apache2.service"])
 



View it on GitLab: https://projects.sucs.org/sucs/accountmanager/commit/a7936d0537058d856dc303790f1cdec99a31fde6

-- 
View it on GitLab: https://projects.sucs.org/sucs/accountmanager/commit/a7936d0537058d856dc303790f1cdec99a31fde6
You're receiving this email because of your account on projects.sucs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/devel/attachments/20190310/d72620bf/attachment.html>


More information about the Devel mailing list