diff options
author | Jonathan Lange <jml@canonical.com> | 2012-07-21 22:41:25 +0100 |
---|---|---|
committer | Jonathan Lange <jml@canonical.com> | 2012-07-21 22:41:25 +0100 |
commit | 4154ef0a6018e7b0d7d4f5bc4db2efb125500995 (patch) | |
tree | fb71122c63ab9ef44d7a6393bf4136151fdd5bd0 | |
parent | 22d5178dd1679da473df69315cece5244bfcbe96 (diff) | |
download | fixtures-4154ef0a6018e7b0d7d4f5bc4db2efb125500995.tar.gz |
Do stuff as late as possible.
-rw-r--r-- | lib/fixtures/_fixtures/filetree.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/fixtures/_fixtures/filetree.py b/lib/fixtures/_fixtures/filetree.py index f8c5989..7c73426 100644 --- a/lib/fixtures/_fixtures/filetree.py +++ b/lib/fixtures/_fixtures/filetree.py @@ -77,10 +77,10 @@ class FileTree(Fixture): Directories can also be written as ``("dirname/",)``. """ super(FileTree, self).__init__() - self._shape = normalize_shape(shape) + self.shape = shape def setUp(self): super(FileTree, self).setUp() tempdir = self.useFixture(TempDir()) self.path = tempdir.path - create_normal_shape(self.path, self._shape) + create_normal_shape(self.path, normalize_shape(self.shape)) |