Compare commits

...

2 Commits

Author SHA1 Message Date
mdipierro
aac892364c R-2.8.2 2013-11-28 07:52:24 -06:00
mdipierro
64b670fd8f fixed issue with scheduler and cache.disk introduced in 2.8.1 2013-11-28 07:50:55 -06:00
5 changed files with 11 additions and 5 deletions

View File

@@ -6,7 +6,7 @@
- bootstrap 2.3.2
- codemirror 3.19
- improved mongoDB support, thanks Alan
- suport for wiki custom render function
- support for wiki custom render function
- Wiki(...groups=['x','y']) allows bypassing default permissions
- fixed websocket_messaging.py to support newer Tornado
- NDB support for GAE, thanks Quint

View File

@@ -30,7 +30,7 @@ update:
echo "remember that pymysql was tweaked"
src:
### Use semantic versioning
echo 'Version 2.8.1-stable+timestamp.'`date +%Y.%m.%d.%H.%M.%S` > VERSION
echo 'Version 2.8.2-stable+timestamp.'`date +%Y.%m.%d.%H.%M.%S` > VERSION
### rm -f all junk files
make clean
### clean up baisc apps

View File

@@ -1 +1 @@
Version 2.8.1-stable+timestamp.2013.11.27.13.52.50
Version 2.8.2-stable+timestamp.2013.11.28.07.51.37

View File

@@ -254,7 +254,10 @@ class CacheOnDisk(CacheAbstract):
try:
if self.storage:
self.storage.close()
except ValueError:
pass
finally:
self.storage = None
if self.locker and self.locked:
portalocker.unlock(self.locker)
self.locker.close()

View File

@@ -131,8 +131,11 @@ def env(
request.function = f or 'index'
response.view = '%s/%s.html' % (request.controller,
request.function)
ip = global_settings.cmd_options.ip
port = global_settings.cmd_options.port
if global_settings.cmd_options:
ip = global_settings.cmd_options.ip
port = global_settings.cmd_options.port
else:
ip, port = '127.0.0.1', '8000'
request.env.http_host = '%s:%s' % (ip,port)
request.env.remote_addr = '127.0.0.1'
request.env.web2py_runtime_gae = global_settings.web2py_runtime_gae