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

« back to all changes in this revision

Viewing changes to ivle/webapp/tutorial/publishing.py

  • Committer: William Grant
  • Date: 2009-12-15 00:16:01 UTC
  • Revision ID: me@williamgrant.id.au-20091215001601-rcidf4yc7g02l7xh
A class method takes the class as an argument. We want static methods in testframework.

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
        self.worksheet_exercise = worksheet_exercise
85
85
        self.user = user
86
86
 
87
 
    def get_permissions(self, user, config):
88
 
        return self.user.get_permissions(user, config)
 
87
    def get_permissions(self, user):
 
88
        return self.user.get_permissions(user)
89
89
 
90
90
 
91
91
@forward_route(WorksheetExercise, '+attempts', argc=1)