47
48
import ivle.pulldown_subj
49
50
from ivle.database import ProjectGroup
51
52
def chown_to_webserver(filename):
58
subprocess.call(['chown', '-R', 'www-data:www-data', filename])
62
60
def make_svn_repo(path, throw_on_error=True):
67
64
if res != 0 and throw_on_error:
68
65
raise Exception("Cannot create repository: %s" % path)