Fix AMBuildScript compatibility issue with older objdirs.

This commit is contained in:
David Anderson 2014-07-05 13:28:55 -07:00
parent 49380620e0
commit a7342f3fa2

View File

@ -73,7 +73,9 @@ class SMConfig(object):
self.versionlib = None
def use_auto_versioning(self):
return builder.backend == 'amb2' and not builder.options.disable_auto_versioning
if builder.backend != 'amb2':
return False
return not getattr(builder.options, 'disable_auto_versioning', False)
@property
def tag(self):