[ostree] builtins: Fix error message if workdir doesn't exist
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] builtins: Fix error message if workdir doesn't exist
- Date: Thu, 2 Feb 2012 18:57:50 +0000 (UTC)
commit 73fa98694e64b86e0349e2e44230f7116705f95b
Author: Colin Walters <walters verbum org>
Date: Thu Feb 2 13:56:25 2012 -0500
builtins: Fix error message if workdir doesn't exist
src/ostbuild/pyostbuild/builtins.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ostbuild/pyostbuild/builtins.py b/src/ostbuild/pyostbuild/builtins.py
index efd8bfc..4b5abe7 100755
--- a/src/ostbuild/pyostbuild/builtins.py
+++ b/src/ostbuild/pyostbuild/builtins.py
@@ -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()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]