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

« back to all changes in this revision

Viewing changes to bin/ivle-addexercise

Moved the tutorial templates in a new directory to keep tutorial cleaner

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
"""Script to upload an exercise file into the database"""
22
22
 
23
 
import os, sys
 
23
import os, sys, traceback
24
24
import xml.dom.minidom as minidom
25
25
 
26
26
from ivle.database import Exercise, TestSuite, TestCase, TestSuiteVar, TestCasePart, get_store
246
246
        add_exercise(xmlfile)
247
247
    except Exception, e:
248
248
        print "ERROR: Could not add file", xmlfile
249
 
        print e.stacktrace()