Changeset 1587 in products for quintagroup.distrpoxy/trunk/quintagroup/distproxy
- Timestamp:
- Jan 26, 2010 12:31:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.distrpoxy/trunk/quintagroup/distproxy/wsgi.py
r1260 r1587 2 2 import socket 3 3 import sys 4 from time import time 4 5 from paste.script.appinstall import Installer as BaseInstaller 5 6 from paste.fileapp import FileApp … … 42 43 pth = '/'.join(pth.split('/')[:-1]) 43 44 if not os.path.exists(pth1): 45 webmirror(pth,1,self.index_url+path,0,1) 46 elif int(time()) - os.path.getmtime(pth1) > 3600: 44 47 webmirror(pth,1,self.index_url+path,0,1) 45 48 if pth1:
Note: See TracChangeset
for help on using the changeset viewer.