forked from ungleich-public/cdist
include %
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
parent
4dd0f61934
commit
e2e1d0bb67
1 changed files with 3 additions and 3 deletions
|
@ -71,11 +71,11 @@ class NoInitialManifestError(cdist.Error):
|
||||||
|
|
||||||
if user_supplied:
|
if user_supplied:
|
||||||
if os.path.islink(manifest_path):
|
if os.path.islink(manifest_path):
|
||||||
self.message = "%s: %s -> %s" (msg_header, manifest_path, os.path.realpath(manifest_path))
|
self.message = "%s: %s -> %s" % (msg_header, manifest_path, os.path.realpath(manifest_path))
|
||||||
else:
|
else:
|
||||||
self.message = "%s: %s" (msg_header, manifest_path)
|
self.message = "%s: %s" % (msg_header, manifest_path)
|
||||||
else:
|
else:
|
||||||
self.message = "%s" (msg_header)
|
self.message = "%s" % (msg_header)
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return repr(self.message)
|
return repr(self.message)
|
||||||
|
|
Loading…
Reference in a new issue