Changeset 4191 for waeup/branches/ulif-rewrite
- Timestamp:
- 27 May 2009, 12:12:18 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/datacenter.txt
r4185 r4191 32 32 >>> newpath = os.path.abspath('newlocation') 33 33 >>> mydatacenter.setStoragePath(newpath) 34 [] 35 36 The result here is a list of filenames, that could not be 37 copied. Luckily, this list is empty. 34 38 35 39 When we set a new storage path, we can tell to move all files in the … … 45 49 46 50 >>> mydatacenter.setStoragePath(verynewpath, move=True) 51 [] 52 47 53 >>> storagepath = mydatacenter.storage 48 54 >>> 'myfile.txt' in os.listdir(verynewpath)
Note: See TracChangeset for help on using the changeset viewer.