Show More
@@ -817,7 +817,6 class treemanifest(object): | |||||
817 | self._load() |
|
817 | self._load() | |
818 | dir, subpath = _splittopdir(f) |
|
818 | dir, subpath = _splittopdir(f) | |
819 | if dir: |
|
819 | if dir: | |
820 | if dir in self._lazydirs: |
|
|||
821 |
|
|
820 | self._loadlazy(dir) | |
822 |
|
821 | |||
823 | if dir not in self._dirs: |
|
822 | if dir not in self._dirs: | |
@@ -831,7 +830,6 class treemanifest(object): | |||||
831 | self._load() |
|
830 | self._load() | |
832 | dir, subpath = _splittopdir(f) |
|
831 | dir, subpath = _splittopdir(f) | |
833 | if dir: |
|
832 | if dir: | |
834 | if dir in self._lazydirs: |
|
|||
835 |
|
|
833 | self._loadlazy(dir) | |
836 |
|
834 | |||
837 | if dir not in self._dirs: |
|
835 | if dir not in self._dirs: | |
@@ -844,7 +842,6 class treemanifest(object): | |||||
844 | self._load() |
|
842 | self._load() | |
845 | dir, subpath = _splittopdir(f) |
|
843 | dir, subpath = _splittopdir(f) | |
846 | if dir: |
|
844 | if dir: | |
847 | if dir in self._lazydirs: |
|
|||
848 |
|
|
845 | self._loadlazy(dir) | |
849 |
|
846 | |||
850 | return self._dirs[dir].__getitem__(subpath) |
|
847 | return self._dirs[dir].__getitem__(subpath) | |
@@ -855,7 +852,6 class treemanifest(object): | |||||
855 | self._load() |
|
852 | self._load() | |
856 | dir, subpath = _splittopdir(f) |
|
853 | dir, subpath = _splittopdir(f) | |
857 | if dir: |
|
854 | if dir: | |
858 | if dir in self._lazydirs: |
|
|||
859 |
|
|
855 | self._loadlazy(dir) | |
860 |
|
856 | |||
861 | if dir not in self._dirs: |
|
857 | if dir not in self._dirs: | |
@@ -870,7 +866,6 class treemanifest(object): | |||||
870 | self._load() |
|
866 | self._load() | |
871 | dir, subpath = _splittopdir(f) |
|
867 | dir, subpath = _splittopdir(f) | |
872 | if dir: |
|
868 | if dir: | |
873 | if dir in self._lazydirs: |
|
|||
874 |
|
|
869 | self._loadlazy(dir) | |
875 |
|
870 | |||
876 | return self._dirs[dir].find(subpath) |
|
871 | return self._dirs[dir].find(subpath) | |
@@ -881,7 +876,6 class treemanifest(object): | |||||
881 | self._load() |
|
876 | self._load() | |
882 | dir, subpath = _splittopdir(f) |
|
877 | dir, subpath = _splittopdir(f) | |
883 | if dir: |
|
878 | if dir: | |
884 | if dir in self._lazydirs: |
|
|||
885 |
|
|
879 | self._loadlazy(dir) | |
886 |
|
880 | |||
887 | self._dirs[dir].__delitem__(subpath) |
|
881 | self._dirs[dir].__delitem__(subpath) | |
@@ -899,7 +893,6 class treemanifest(object): | |||||
899 | self._load() |
|
893 | self._load() | |
900 | dir, subpath = _splittopdir(f) |
|
894 | dir, subpath = _splittopdir(f) | |
901 | if dir: |
|
895 | if dir: | |
902 | if dir in self._lazydirs: |
|
|||
903 |
|
|
896 | self._loadlazy(dir) | |
904 | if dir not in self._dirs: |
|
897 | if dir not in self._dirs: | |
905 | self._dirs[dir] = treemanifest(self._subpath(dir)) |
|
898 | self._dirs[dir] = treemanifest(self._subpath(dir)) | |
@@ -921,7 +914,6 class treemanifest(object): | |||||
921 | self._load() |
|
914 | self._load() | |
922 | dir, subpath = _splittopdir(f) |
|
915 | dir, subpath = _splittopdir(f) | |
923 | if dir: |
|
916 | if dir: | |
924 | if dir in self._lazydirs: |
|
|||
925 |
|
|
917 | self._loadlazy(dir) | |
926 | if dir not in self._dirs: |
|
918 | if dir not in self._dirs: | |
927 | self._dirs[dir] = treemanifest(self._subpath(dir)) |
|
919 | self._dirs[dir] = treemanifest(self._subpath(dir)) | |
@@ -993,7 +985,6 class treemanifest(object): | |||||
993 | self._load() |
|
985 | self._load() | |
994 | topdir, subdir = _splittopdir(dir) |
|
986 | topdir, subdir = _splittopdir(dir) | |
995 | if topdir: |
|
987 | if topdir: | |
996 | if topdir in self._lazydirs: |
|
|||
997 |
|
|
988 | self._loadlazy(topdir) | |
998 | if topdir in self._dirs: |
|
989 | if topdir in self._dirs: | |
999 | return self._dirs[topdir].hasdir(subdir) |
|
990 | return self._dirs[topdir].hasdir(subdir) |
General Comments 0
You need to be logged in to leave comments.
Login now