# HG changeset patch # User timothy.murphy@nokia.com # Date 1259510942 0 # Node ID a695dd5e4c372d99f241b8e28465c6865810d7ef # Parent 9d01f1c36469616250e54f544c518a4b245d76bc Make --noexport and --export-only exclusive diff -r 9d01f1c36469 -r a695dd5e4c37 sbsv2/raptor/python/raptor.py --- a/sbsv2/raptor/python/raptor.py Mon Nov 23 21:12:30 2009 +0000 +++ b/sbsv2/raptor/python/raptor.py Sun Nov 29 16:09:02 2009 +0000 @@ -575,10 +575,16 @@ def SetExportOnly(self, TrueOrFalse): self.doExportOnly = TrueOrFalse + if not self.doExport: + self.Error("The --noexport and --export-only options are incompatible - won't to do anything useful") + return False return True def SetNoExport(self, TrueOrFalse): self.doExport = not TrueOrFalse + if self.doExportOnly: + self.Error("The --noexport and --export-only options are incompatible - won't to do anything useful") + return False return True def SetNoBuild(self, TrueOrFalse):