Changeset 1813 in products for quintagroup.distrpoxy/trunk


Ignore:
Timestamp:
Feb 24, 2010 11:20:44 AM (10 years ago)
Author:
chervol
Message:

fixed path creation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.distrpoxy/trunk/quintagroup/distproxy/wsgi.py

    r1603 r1813  
    5757        else: 
    5858            pth1 = '/'.join(pth.split('/')[:-1]) 
    59             if not os.path.exists(pth): 
     59            if not os.path.exists(pth1): 
    6060              os.makedirs(pth1)#create parent dir if it is not there 
    6161        url = self.index_url+path 
Note: See TracChangeset for help on using the changeset viewer.