aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjpakkane <jpakkane@gmail.com>2015-06-08 19:05:24 +0300
committerjpakkane <jpakkane@gmail.com>2015-06-08 19:05:24 +0300
commit5cf78665d3fe9274ca6c128a8cf4a93dc707ee8f (patch)
treee571c6e0af6febcc5138170ff2528934fb8ab36c
parent6951abe1928ba4f5e9178446d6906eefb9f5df3c (diff)
parentb89d2e33aa78283dfaf97b3c84a698dd270015f9 (diff)
downloadmeson-5cf78665d3fe9274ca6c128a8cf4a93dc707ee8f.zip
meson-5cf78665d3fe9274ca6c128a8cf4a93dc707ee8f.tar.gz
meson-5cf78665d3fe9274ca6c128a8cf4a93dc707ee8f.tar.bz2
Merge pull request #143 from ignatenkobrain/patch-1
trivial: fix style
-rw-r--r--dependencies.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/dependencies.py b/dependencies.py
index 3767d63..aa22533 100644
--- a/dependencies.py
+++ b/dependencies.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2014 The Meson development team
+# Copyright 2013-2015 The Meson development team
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -145,8 +145,8 @@ class PkgConfigDependency(Dependency):
self.libs.append(lib)
def get_variable(self, variable_name):
- p = subprocess.Popen([self.pkgbin, '--variable=%s' %
- variable_name, self.name], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+ p = subprocess.Popen([self.pkgbin, '--variable=%s' % variable_name, self.name],
+ stdout=subprocess.PIPE, stderr=subprocess.PIPE)
out = p.communicate()[0]
if p.returncode != 0:
if required:
@@ -154,7 +154,7 @@ class PkgConfigDependency(Dependency):
(type_string, self.name))
else:
variable = out.decode().strip()
- mlog.debug ("return of subprocess : ", variable)
+ mlog.debug('return of subprocess : %s' % variable)
return variable