Commit 6a2d81a3 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

RF: Remove FileTree.short_names, as I need a list of the short names that

actually exist on disk (and corrsepond to files).
parent 56cd55ef
......@@ -58,11 +58,6 @@ class FileTree(object):
res.update(self.variables)
return res
@property
def short_names(self) -> List[str]:
"""Returns a list containing all short names in the file tree. """
return list(self.templates.keys())
def get_variable(self, name: str, default=None) -> str:
"""
Gets a variable used to fill out the template
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment