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

« back to all changes in this revision

Viewing changes to www/apps/consoleservice/__init__.py

  • Committer: drtomc
  • Date: 2008-02-12 03:33:45 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:438
console: remove a spot of debugging cruft.

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
                            console_dir, python_path, console_path,
100
100
                            str(port), str(magic)])
101
101
 
102
 
        # print >> sys.stderr, cmd
103
102
        res = os.system(cmd)
104
 
        # print >> sys.stderr, res
105
103
 
106
104
        if res == 0:
107
105
            # success
142
140
 
143
141
    msg = {'cmd':kind, 'text':text}
144
142
    response = chat.chat(host, port, msg, magic, decode = False)
145
 
    print >> open("/tmp/wibble","w"), repr(msg), repr(response)
146
143
    req.content_type = "text/plain"
147
144
    req.write(response)
148
145