Minor tweak.

pull/18/head
Jussi Pakkanen 10 years ago
parent e5b1d855a1
commit 9ce01c16f4
  1. 2
      build.py

@ -498,7 +498,7 @@ class Generator():
if hasattr(args[0], 'held_object'):
exe = args[0].held_object
if not isinstance(exe, Executable):
if not isinstance(exe, Executable) and not isinstance(exe, dependencies.ExternalProgram):
raise InvalidArguments('First generator argument must be an executable.')
else:
raise InvalidArguments('First generator argument must be an executable object.')

Loading…
Cancel
Save