From 2a33db96531933f00405522d94ebc658236f0b84 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 4 Aug 2022 18:26:08 +0200 Subject: gnulib-tool.py: Use mainstream/GNU coding style. * gnulib-tool.py: Break lines before the % operator, not after. * pygnulib/*.py: Likewise. Avoid line breaks when the resulting lines are not too long. --- pygnulib/GLMakefileTable.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pygnulib/GLMakefileTable.py') diff --git a/pygnulib/GLMakefileTable.py b/pygnulib/GLMakefileTable.py index fdb15ac132..f3a8b9cccf 100644 --- a/pygnulib/GLMakefileTable.py +++ b/pygnulib/GLMakefileTable.py @@ -55,16 +55,16 @@ class GLMakefileTable(object): Create GLMakefileTable instance.''' if type(config) is not GLConfig: - raise TypeError('config must be a GLConfig, not %s' % - type(config).__name__) + raise TypeError('config must be a GLConfig, not %s' + % type(config).__name__) self.config = config self.table = list() def __getitem__(self, y): '''x.__getitem__(y) = x[y]''' if type(y) is not int: - raise TypeError('indices must be integers, not %s' % - type(y).__name__) + raise TypeError('indices must be integers, not %s' + % type(y).__name__) result = self.table[y] return dict(result) -- cgit v1.2.1