47
46
from ivle.database import Project, ProjectSet, Offering, Subject
52
48
# Is Python version 2.6 or higher?
53
49
PYTHON26 = map(int, sys.version[:3].split('.')) >= [2, 6]
55
51
def fetch_submission(submission, target, svnclient, config, zip=False,
57
53
"""Fetch a submission from a user's repository, and dump it in a given
59
55
@param submission: Submission object, detailing the submission.