diff options
author | gcode@loowis.durge.org <gcode@loowis.durge.org@67cdc799-7952-0410-af00-57a81ceafa0f> | 2014-10-19 16:08:14 +0000 |
---|---|---|
committer | gcode@loowis.durge.org <gcode@loowis.durge.org@67cdc799-7952-0410-af00-57a81ceafa0f> | 2014-10-19 16:08:14 +0000 |
commit | 695bfbe39434a5489b6c00204b3a0d9536486017 (patch) | |
tree | 8596e127f1f5c765e2d9b2d5956ae967f55b5616 | |
parent | 11369c9199d291913deec31760ec950eab08685e (diff) | |
download | pyfilesystem-695bfbe39434a5489b6c00204b3a0d9536486017.tar.gz |
Fix MultiFS example in documentation
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@903 67cdc799-7952-0410-af00-57a81ceafa0f
-rw-r--r-- | fs/multifs.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/multifs.py b/fs/multifs.py index bb171fe..8e885d4 100644 --- a/fs/multifs.py +++ b/fs/multifs.py @@ -34,8 +34,9 @@ they don't exist in `theme`. We can do this with the following code:: from fs.osfs import OSFS from fs.multifs import MultiFS + themed_template_fs = MultiFS() themed_template_fs.addfs('templates', OSFS('templates')) - themed_template_fs.addfs('theme', OSFS('themes')) + themed_template_fs.addfs('theme', OSFS('theme')) Now we have a `themed_template_fs` FS object presents a single view of both |