~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to bin/ivle-fetchsubmissions

  • Committer: Matt Giuca
  • Date: 2010-02-04 03:08:35 UTC
  • Revision ID: matt.giuca@gmail.com-20100204030835-epwx6qs5ippwopl5
Tags: 1.0beta1
Added subversion dumps as part of sample data. ivle-loadsampledata loads these dumps, so the sample data now comes with sample files (requiring a checkout).

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
import optparse
33
33
import zipfile
34
34
import traceback
35
 
import locale
36
35
 
37
36
import pysvn
38
37
 
46
45
 
47
46
from ivle.database import Project, ProjectSet, Offering, Subject
48
47
 
49
 
# Set locale to UTF-8
50
 
locale.setlocale(locale.LC_CTYPE, "en_US.UTF-8")
51
 
 
52
48
# Is Python version 2.6 or higher?
53
49
PYTHON26 = map(int, sys.version[:3].split('.')) >= [2, 6]
54
50