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

« back to all changes in this revision

Viewing changes to bin/ivle-fetchsubmissions

  • Committer: Matt Giuca
  • Date: 2010-07-21 04:12:30 UTC
  • Revision ID: matt.giuca@gmail.com-20100721041230-hlrn2q3fx2uvaprd
ivle.webapp.admin.user: Fixed call to req.user.get_svn_url (now takes 1 argument, as of r1810).
Fixes Internal server error on Settings page (since r1810).

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
35
36
 
36
37
import pysvn
37
38
 
45
46
 
46
47
from ivle.database import Project, ProjectSet, Offering, Subject
47
48
 
 
49
# Set locale to UTF-8
 
50
locale.setlocale(locale.LC_CTYPE, "en_US.UTF-8")
 
51
 
48
52
# Is Python version 2.6 or higher?
49
53
PYTHON26 = map(int, sys.version[:3].split('.')) >= [2, 6]
50
54