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

« back to all changes in this revision

Viewing changes to services/usrmgt-server

  • Committer: William Grant
  • Date: 2009-04-07 03:34:59 UTC
  • mto: This revision was merged to the branch mainline in revision 1174.
  • Revision ID: grantw@unimelb.edu.au-20090407033459-dcwv6evw4ku8kt0o
Remove the NOT NULL and default from project_set.max_students_per_group.

NULL now means it's a solo project - 0 means there is no limit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
import sys
5
5
import logging
6
6
 
7
 
import ivle.config
8
7
import ivle.conf
9
8
import ivle.database
10
9
import ivle.chat
140
139
def dispatch(props):
141
140
    logging.debug(repr(props))
142
141
 
143
 
    store = ivle.database.get_store(ivle.config.Config())
 
142
    store = ivle.database.get_store()
144
143
    action = props.keys()[0]
145
144
    res = actions[action](store, props[action])
146
145