212
216
# filename is, eg, /var/lib/ivle/svn/ivle.auth
213
217
filename = config['paths']['svn']['auth_ivle']
215
218
if os.path.exists(filename):
220
223
user = User.get_by_login(store, login)
223
229
res = subprocess.call(['htpasswd', '-%smb' % create,
225
231
if res != 0 and throw_on_error:
226
232
raise Exception("Unable to create ivle-auth for %s" % login)