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

« back to all changes in this revision

Viewing changes to bin/ivle-cloneworksheets

  • Committer: Matt Giuca
  • Date: 2009-04-23 04:14:58 UTC
  • Revision ID: matt.giuca@gmail.com-20090423041458-gybrfbf921nk0zhi
setup/install.py: Removed silly debug print.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
import sys
23
23
 
24
24
from ivle.database import get_store, Subject, Semester, Offering, Worksheet
25
 
import ivle.worksheet
 
25
import ivle.worksheet.utils
26
26
 
27
27
def die(error):
28
28
    print >> sys.stderr, '%s: %s' % (os.path.basename(sys.argv[0]), error)
63
63
    newws.format = oldws.format
64
64
    newws.offering = dst
65
65
    store.add(newws)
66
 
    ivle.worksheet.update_exerciselist(newws)
 
66
    ivle.worksheet.utils.update_exerciselist(newws)
67
67
 
68
68
print >> sys.stderr, 'copied %d worksheets from %r to %r' \
69
69
                     % (dst.worksheets.count(), src, dst)