Changeset 4876 for waeup/trunk/src
- Timestamp:
- 22 Jan 2010, 12:51:08 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/trunk/src/waeup/browser.txt
r4866 r4876 750 750 >>> files = os.listdir(uploadpath) 751 751 >>> for filename in files: 752 ... if os.path.isdir(os.path.join(uploadpath, filename)): 753 ... continue 752 754 ... os.unlink(os.path.join(uploadpath, filename)) 753 755 754 The new upload directory is now empty: 756 The new upload directory is now empty, except from the logs dir, which 757 is created automatically: 755 758 756 759 >>> os.listdir(uploadpath) 757 [ ]760 ['logs'] 758 761 759 762 … … 796 799 797 800 >>> os.listdir(uploadpath) 798 [' myfaculties_zope.mgr.csv']801 ['logs', 'myfaculties_zope.mgr.csv'] 799 802 800 803 We create and upload also a CSV file containing departments:
Note: See TracChangeset for help on using the changeset viewer.