summaryrefslogtreecommitdiff
path: root/buildstream/plugins/sources/local.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/plugins/sources/local.py')
-rw-r--r--buildstream/plugins/sources/local.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/plugins/sources/local.py b/buildstream/plugins/sources/local.py
index 02486dffb..d513b897e 100644
--- a/buildstream/plugins/sources/local.py
+++ b/buildstream/plugins/sources/local.py
@@ -50,7 +50,7 @@ class LocalSource(Source):
def preflight(self):
# Check if the configured file or directory really exists
if not os.path.exists(self.fullpath):
- raise SourceError("Specified path '%s' does not exist" % self.path)
+ raise SourceError("Specified path '{}' does not exist".format(self.path))
def get_unique_key(self):
# Get a list of tuples of the the project relative paths and fullpaths