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

« back to all changes in this revision

Viewing changes to services/usrmgt-server

  • Committer: Matt Giuca
  • Date: 2010-07-22 03:57:16 UTC
  • mto: This revision was merged to the branch mainline in revision 1820.
  • Revision ID: matt.giuca@gmail.com-20100722035716-7p5t3c349lqwasqk
Database: Modified project_extension table; replaced 'deadline TIMESTAMP' with 'days INT'. This means the extension is a time delta on top of the existing deadline, not a replacement deadline.
Added a migration (userdb/migrations/20100722-01.sql) and updated ivle.database.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
    @return: None
40
40
    """
41
41
 
 
42
    if not os.path.exists(config['paths']['jails']['template']):
 
43
        return {
 
44
            'response': 'error',
 
45
            'message': 'Template jail has not been built -- '
 
46
                       'do you need to run ivle-buildjail?'}
 
47
 
42
48
    os.umask(0022) # Bad, but start_server sets it worse.
43
49
 
44
50
    login = props['login']