fixed import problem with external dependencies, thanks Corne Dickens
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.00.0 (2012-06-28 09:37:40) dev
|
||||
Version 2.00.0 (2012-06-28 09:54:19) dev
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
</li><li>Christian Foster Howes (GAE support)
|
||||
</li><li>Christopher Smiga (Informix)
|
||||
</li><li>CJ Lazell (tester)
|
||||
</li><li>Corne Dickens (import mechanism)
|
||||
</li><li>Craig Younkins (Security)
|
||||
</li><li>Daniel Lin (Taiwanese internationalization)
|
||||
</li><li>Dave Stoll (DowCommerce payment API)
|
||||
|
||||
@@ -7,6 +7,7 @@ Utility functions for the Admin application
|
||||
===========================================
|
||||
"""
|
||||
import os
|
||||
import site
|
||||
import sys
|
||||
import traceback
|
||||
import zipfile
|
||||
@@ -434,6 +435,7 @@ def upgrade(request, url='http://web2py.com'):
|
||||
|
||||
def add_path_first(path):
|
||||
sys.path = [path]+[p for p in sys.path if (not p==path and not p==(path+'/'))]
|
||||
site.addsitedir(path)
|
||||
|
||||
def create_missing_folders():
|
||||
if not global_settings.web2py_runtime_gae:
|
||||
|
||||
Reference in New Issue
Block a user