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