Print a somewhat more useful message when the -i option is omitted

This commit is contained in:
rdb 2009-10-22 14:01:43 +00:00
parent 3b52f1c49b
commit df9edbe1dd

View File

@ -79,6 +79,7 @@ class PackageMerger:
""" Reads the contents.xml file from the indicated sourceDir,
and updates the internal set of packages appropriately. """
assert sourceDir != None, "No source directory was specified!"
contentsFilename = Filename(sourceDir, 'contents.xml')
doc = TiXmlDocument(contentsFilename.toOsSpecific())
if not doc.LoadFile():