From 695bfbe39434a5489b6c00204b3a0d9536486017 Mon Sep 17 00:00:00 2001 From: "gcode@loowis.durge.org" Date: Sun, 19 Oct 2014 16:08:14 +0000 Subject: Fix MultiFS example in documentation git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@903 67cdc799-7952-0410-af00-57a81ceafa0f --- fs/multifs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1