[pitivi/1.0] flatpak: Use " instead of '
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi/1.0] flatpak: Use " instead of '
- Date: Sat, 21 Jul 2018 14:06:02 +0000 (UTC)
commit 08359bb2929650899837723df650ed55dd4a7415
Author: Thibault Saunier <tsaunier igalia com>
Date: Sat Jul 7 21:21:12 2018 -0400
flatpak: Use " instead of '
build/flatpak/pitivi-flatpak | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/build/flatpak/pitivi-flatpak b/build/flatpak/pitivi-flatpak
index a4d10dad..ecaaefad 100755
--- a/build/flatpak/pitivi-flatpak
+++ b/build/flatpak/pitivi-flatpak
@@ -43,7 +43,7 @@ SDK_BRANCH = {"0.96": "3.20",
"stable": "3.24",
"master": "3.24"}
FLATPAK_REQ = "0.6.4"
-DEFAULT_GST_BRANCH = '1.14'
+DEFAULT_GST_BRANCH = "1.14"
class Colors: # pylint: disable=too-few-public-methods
@@ -425,7 +425,7 @@ class PitiviFlatpak: # pylint: disable=too-many-instance-attributes
"org.gnome.Sdk", sdk_branch, self.sdk_repo, "x86_64")
self.packs = [self.runtime, self.locale, self.sdk]
- if self.coredumpgdb is None and '--coredumpgdb' in sys.argv or "-gdb" in sys.argv:
+ if self.coredumpgdb is None and "--coredumpgdb" in sys.argv or "-gdb" in sys.argv:
self.coredumpgdb = ""
if self.bundle:
@@ -489,7 +489,7 @@ class PitiviFlatpak: # pylint: disable=too-many-instance-attributes
build_export_args.append(self.branch)
- Console.message('-> Exporting repo %s %s (--body="%s" --subject="%s")',
+ Console.message("-> Exporting repo %s %s (--body='%s' --subject='%s')",
self.repodir, self.branch, self.commit_body,
self.commit_subject)
try:
@@ -547,7 +547,7 @@ class PitiviFlatpak: # pylint: disable=too-many-instance-attributes
cwd=self.topdir)
def run_gdb(self):
- if not shutil.which('coredumpctl'):
+ if not shutil.which("coredumpctl"):
Console.message("%s'coredumpctl' not present on the system, can't run.%s"
% (Colors.WARNING, Colors.ENDC))
sys.exit(1)
@@ -558,7 +558,7 @@ class PitiviFlatpak: # pylint: disable=too-many-instance-attributes
subprocess.check_call(["coredumpctl", "dump"] + shlex.split(self.coredumpctl_matches),
stdout=coredump, stderr=stderr)
- with open(stderr.name, 'r') as stderrf:
+ with open(stderr.name, "r") as stderrf:
stderr = stderrf.read()
executable, = re.findall(".*Executable: (.*)", stderr)
if not executable.startswith("/newroot"):
@@ -634,7 +634,7 @@ class PitiviFlatpak: # pylint: disable=too-many-instance-attributes
flatpak_command.extend(args)
- Console.message("Running in sandbox: %s", ' '.join(args))
+ Console.message("Running in sandbox: %s", " ".join(args))
Console.message(" ".join(flatpak_command))
try:
subprocess.check_call(flatpak_command, cwd=cwd)
@@ -689,7 +689,7 @@ if __name__ == "__main__":
debug_options.add_argument("-gdb", "--coredumpgdb", nargs="?",
help="Activate gdb, passing extra args to it if wanted.")
debug_options.add_argument("-m", "--coredumpctl-matches", default="",
- help='Arguments to pass to gdb.')
+ help="Arguments to pass to gdb.")
bundling = parser.add_argument_group("Building bundle for distribution")
bundling.add_argument("--bundle", dest="bundle",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]