Changeset 6454 for main/waeup.sirp/trunk
- Timestamp:
- 22 Jun 2011, 17:32:37 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser.txt
r6452 r6454 203 203 >>> browser.getControl('Cancel').click() 204 204 205 We copy the ``BLA-1`` batch logfile over to the ``imports`` directory:205 We copy the ``BLA-1`` archive batch file over to the ``imports`` directory: 206 206 207 207 >>> ac_storage = os.path.join(uploadpath, 'accesscodes') 208 208 >>> logfile2 = os.path.join(ac_storage, 209 ... sorted(os.listdir(ac_storage))[- 3])209 ... sorted(os.listdir(ac_storage))[-2]) 210 210 >>> filename = os.path.basename(logfile2) 211 211 >>> filename 212 'BLA-1 -...-zope.mgr.csv'212 'BLA-1_archive...-zope.mgr.csv' 213 213 214 214 >>> import shutil … … 241 241 >>> print browser.contents 242 242 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 243 ...Successfully reimported: BLA-1 -...-zope.mgr.csv...243 ...Successfully reimported: BLA-1_archive...-zope.mgr.csv... 244 244 ... 245 245 … … 252 252 >>> print browser.contents 253 253 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 254 ...This batch already exists: BLA-1 -...-zope.mgr.csv...254 ...This batch already exists: BLA-1_archive...-zope.mgr.csv... 255 255 ... 256 256
Note: See TracChangeset for help on using the changeset viewer.