[pypy-svn] r40456 - in pypy/branch/guido-buildtool-web/pypy: bin tool/build
guido at codespeak.net
guido at codespeak.net
Tue Mar 13 22:02:31 CET 2007
Author: guido
Date: Tue Mar 13 22:02:26 2007
New Revision: 40456
Modified:
pypy/branch/guido-buildtool-web/pypy/bin/startcompile.py
pypy/branch/guido-buildtool-web/pypy/tool/build/config.py
Log:
Adjusted startcompile script to cope with some changes in tool.build.
Modified: pypy/branch/guido-buildtool-web/pypy/bin/startcompile.py
==============================================================================
--- pypy/branch/guido-buildtool-web/pypy/bin/startcompile.py (original)
+++ pypy/branch/guido-buildtool-web/pypy/bin/startcompile.py Tue Mar 13 22:02:26 2007
@@ -81,15 +81,14 @@
print data
for line in channel:
print line
- elif type(data) != tuple:
+ elif type(data) != dict:
raise ValueError, 'invalid data returned: %r' % (data,)
else:
- ispath, data = data
- if ispath:
+ if data['path']:
print ('a suitable result is already available, you can find it '
- 'at "%s" on %s' % (data, config.server))
+ 'at "%s" on %s' % (data['path'], config.server))
else:
- print data
+ print data['message']
print 'you will be mailed once it\'s ready'
channel.close()
gw.exit()
Modified: pypy/branch/guido-buildtool-web/pypy/tool/build/config.py
==============================================================================
--- pypy/branch/guido-buildtool-web/pypy/tool/build/config.py (original)
+++ pypy/branch/guido-buildtool-web/pypy/tool/build/config.py Tue Mar 13 22:02:26 2007
@@ -3,7 +3,7 @@
packageparent = py.magic.autopath().dirpath().dirpath().dirpath().dirpath()
# general settings, used by both server and client
-server = 'codespeak.net'
+server = 'localhost'
port = 12321
testport = 32123
path = [str(packageparent)]
More information about the Pypy-commit
mailing list