diff options
author | Colin Walters <walters@verbum.org> | 2014-02-22 18:41:19 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2014-02-22 18:41:19 -0500 |
commit | 5bc75e64e76dc0ab96edfd3b22a8af2b8a671920 (patch) | |
tree | 16407abe6c836cdc2d3327ea056de46146afc016 /giscanner/dumper.py | |
parent | 160e995a63fc54dbbfb3131ff23b0327077608ec (diff) | |
download | gobject-introspection-5bc75e64e76dc0ab96edfd3b22a8af2b8a671920.tar.gz |
Fix some PEP8 errors from previous commits
Diffstat (limited to 'giscanner/dumper.py')
-rw-r--r-- | giscanner/dumper.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/giscanner/dumper.py b/giscanner/dumper.py index ea3fe688..85e8a2a2 100644 --- a/giscanner/dumper.py +++ b/giscanner/dumper.py @@ -302,11 +302,12 @@ class DumpCompiler(object): # runs the command we want tf, tf_name = tempfile.mkstemp() f = os.fdopen(tf, 'wb') - fcontents = '#!/bin/sh\nunset PWD\n{}\n'.format(' '.join ([x.replace ('\\','/') for x in args])) + shellcontents = ' '.join([x.replace('\\', '/') for x in args]) + fcontents = '#!/bin/sh\nunset PWD\n{}\n'.format(shellcontents) f.write(fcontents) f.close() shell = utils.which(shell) - args = [shell, tf_name.replace('\\','/')] + args = [shell, tf_name.replace('\\', '/')] try: subprocess.check_call(args) except subprocess.CalledProcessError as e: |