Prune one string matching thingy.

pull/102/head
Jussi Pakkanen 10 years ago
parent ff7c8b1647
commit 1f602ff155
  1. 2
      build.py

@ -205,7 +205,7 @@ class BuildTarget():
# Holder unpacking. Ugly.
if hasattr(s, 'held_object'):
s = s.held_object
if isinstance(s, str) or isinstance(s, File): # FIXME, accept only File objects
if isinstance(s, File):
if not s in added_sources:
self.sources.append(s)
added_sources[s] = True

Loading…
Cancel
Save