builtins: Fix error message if workdir doesn't exist

This commit is contained in:
Colin Walters 2012-02-02 13:56:25 -05:00
parent a9e153fbea
commit 73fa98694e

View File

@ -38,7 +38,7 @@ class Builtin(object):
fatal("Specified mirrordir '%s' is not a directory" % (self.mirrordir, ))
self.workdir = ostbuildrc.get_key('workdir')
if not os.path.isdir(self.workdir):
fatal("Specified workdir '%s' is not a directory", (self.workdir, ))
fatal("Specified workdir '%s' is not a directory" % (self.workdir, ))
def execute(self, args):
raise NotImplementedError()