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