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

« back to all changes in this revision

Viewing changes to www/apps/tutorialservice/__init__.py

  • Committer: mattgiuca
  • Date: 2008-03-15 05:02:13 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:695
db: Added function get_problem_attempt_last_text: returns the last submitted
    text.
    Reordered some arguments. (incl. tutorialservice).

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
    conn = db.DB()
99
99
 
100
100
    conn.insert_problem_attempt(
 
101
        login = req.user.login,
101
102
        exercisename = exercise,
102
 
        login = req.user.login,
103
103
        date = time.localtime(),
104
104
        complete = test_results['passed'],
105
105
        attempt = code)