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

« back to all changes in this revision

Viewing changes to bin/ivle-buildjail

  • Committer: David Coles
  • Date: 2010-07-20 00:30:45 UTC
  • Revision ID: coles.david@gmail.com-20100720003045-j239u3w3m5wfribb
Put "__name__" = "__main__" into globals for console.

Fixes issue where __name__ did not work when run in the python console. exec() 
with an empty globals dictionary will result in "__name__" = "__builtin__".

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
    ivle.jailbuilder.debian.apt_update_cache(build_path)
97
97
    # Minimal required packages
98
98
    ivle.jailbuilder.debian.apt_install(build_path,
99
 
            ['python', 'python-simplejson', 'python-svn', 'python-configobj'])
 
99
            ['python', 'python-cjson', 'python-svn', 'python-configobj'])
100
100
 
101
101
    ivle.jailbuilder.debian.apt_clean(build_path)
102
102