summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Feltman <sfeltman@src.gnome.org>2014-02-26 15:15:39 -0800
committerSimon Feltman <sfeltman@src.gnome.org>2014-02-26 15:16:51 -0800
commit2959fd6db9b8f255cc53ed1c943066d4006c7913 (patch)
tree4b3cbc3c5a0e9d63cca7ca7b0629209b2f85f15f
parent503c6e1c415e478de3f59187316a954970b01dce (diff)
downloadgobject-introspection-2959fd6db9b8f255cc53ed1c943066d4006c7913.tar.gz
PEP8 fixes in shlib.py
Conform shlibs.py to the PEP8 standard. New additions were causing make check to fail: Fixed E211 whitespace before '(' Fixed E501 line too long (104 > 99 characters)
-rw-r--r--giscanner/shlibs.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/giscanner/shlibs.py b/giscanner/shlibs.py
index e3a71d33..ec974fa4 100644
--- a/giscanner/shlibs.py
+++ b/giscanner/shlibs.py
@@ -105,8 +105,8 @@ def _resolve_non_libtool(options, binary, libraries):
# Use the dumpbin utility that's included in
# every Visual C++ installation to find out which
# DLL the library gets linked to
- args.append ('dumpbin.exe')
- args.append ('-symbols')
+ args.append('dumpbin.exe')
+ args.append('-symbols')
# When we are not using Visual C++ (i.e. we are using GCC)...
else:
@@ -151,16 +151,16 @@ def _resolve_non_libtool(options, binary, libraries):
o, e = proc.communicate()
for line in o.splitlines():
if is_msvc:
- # On Visual Studio, dumpbin -symbols something.lib gives the filename of
- # DLL without the '.dll' extension that something.lib links to,
- # in the line that contains
+ # On Visual Studio, dumpbin -symbols something.lib gives the
+ # filename of DLL without the '.dll' extension that something.lib
+ # links to, in the line that contains
# __IMPORT_DESCRIPTOR_<dll_filename_that_something.lib_links_to>
if '__IMPORT_DESCRIPTOR_' in line:
line_tokens = line.split()
for item in line_tokens:
- if item.startswith ('__IMPORT_DESCRIPTOR_'):
- shlibs.append (item[20:] + '.dll')
+ if item.startswith('__IMPORT_DESCRIPTOR_'):
+ shlibs.append(item[20:] + '.dll')
found = True
break
if found: