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

« back to all changes in this revision

Viewing changes to src/bin/python-server

  • Committer: drtomc
  • Date: 2007-12-20 01:27:46 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:90
Add the source for trampoline. It depends on the presence of conf.h which should
define a static const char* jail_base. For example:

#ifndef CONF_H
#define CONF_H

static const char* jail_base = "/tmp/ivle/jails";

#endif /* CONF_H */

I don't really think it belongs here. We need to do some serious reorganisation!

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
                        out = cStringIO.StringIO()
170
170
                        sys.stdout = out
171
171
                        first = True
 
172
                    else:
 
173
                        sok.send(cjson.encode(None) + '\n')
172
174
                except Exception, e:
173
175
                        rval = (None, None, str(e))
174
176
                        sok.send(cjson.encode(rval) + '\n')