Changeset 1115

Show
Ignore:
Timestamp:
05/07/08 12:38:44
Author:
mylan
Message:

Fix importing bug for generated skin.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • qPloneSkinDump/branches/plone_3.0/HISTORY.txt

    r1110 r1115  
     1qPloneSkinDump 0.8.5 
     2     
     3    - Fix importing bug: wrong import directory calculating 
     4      for generated skin. Discover itself when skin places in 
     5      different directory, than instance's Products. 
     6 
     7 
    18qPloneSkinDump 0.8.4 
    29     
  • qPloneSkinDump/branches/plone_3.0/skin_template/utils.py

    r1027 r1115  
    1111from Products.%(SKIN_PRODUCT_NAME)s.config import * 
    1212from fixes import fix 
     13from Globals import package_home 
    1314 
    1415###################################################################### 
     
    4344    cfg = getConfiguration() 
    4445    instance_ipath = osp.join(cfg.instancehome, "import") 
    45     product_ipath = osp.join(PRODUCTS_PATH, PRODUCT_NAME, "import") 
     46    product_ipath = osp.join(package_home(GLOBALS), "import") 
    4647    # Check presence of Product import directory 
    4748    if not osp.isdir(product_ipath):         
  • qPloneSkinDump/branches/plone_3.0/version.txt

    r1110 r1115  
    1 0.8.4 
     10.8.5