From 3d22724567656cb559cf983660989a68241a0b95 Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Tue, 21 Oct 2008 17:28:16 +0000 Subject: [PATCH] Add missing whitespace to make pep8 happy svn path=/trunk/; revision=774 --- giscanner/giscannermodule.c | 2 ++ giscanner/libtoolimporter.py | 3 +++ giscanner/scannerlexer.l | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/giscanner/giscannermodule.c b/giscanner/giscannermodule.c index 3f21bb1..dee9fed 100644 --- a/giscanner/giscannermodule.c +++ b/giscanner/giscannermodule.c @@ -33,6 +33,8 @@ #include #endif +DL_EXPORT(void) init_giscanner(void); + #define NEW_CLASS(ctype, name, cname) \ static const PyMethodDef _Py##cname##_methods[]; \ PyTypeObject Py##cname##_Type = { \ diff --git a/giscanner/libtoolimporter.py b/giscanner/libtoolimporter.py index 1a53bc5..772a783 100644 --- a/giscanner/libtoolimporter.py +++ b/giscanner/libtoolimporter.py @@ -26,6 +26,7 @@ from .utils import extract_libtool class LibToolImporter(object): + def __init__(self, name, path): self.name = name self.path = path @@ -44,8 +45,10 @@ class LibToolImporter(object): ('.so', 'rb', 3)) return mod + def install_libtoolimporter(): sys.meta_path.append(LibToolImporter) + def uninstall_libtoolimporter(): sys.meta_path.remove(LibToolImporter) diff --git a/giscanner/scannerlexer.l b/giscanner/scannerlexer.l index 29e3c70..5a53cfc 100644 --- a/giscanner/scannerlexer.l +++ b/giscanner/scannerlexer.l @@ -1,5 +1,5 @@ /* -*- Mode: C -*- -/* GObject introspection: C lexer + * GObject introspection: C lexer * * Copyright (c) 1997 Sandro Sigala * Copyright (c) 2007-2008 Jürg Billeter -- 2.7.4