Commit 4516b6d2 authored by Michael Murtaugh's avatar Michael Murtaugh
Browse files

deal with no makefile

parent a138daae
......@@ -207,9 +207,10 @@ class MakeDirectoryListing (object):
tvars['items'] = items
tvars['targets'] = targets(self.makefile)
if self.makefile:
tvars['targets'] = targets(self.makefile)
tvars['targets'] = []
return self.template.render(tvars).encode("utf-8")
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