diff options
author | Bruno Haible <bruno@clisp.org> | 2022-08-04 18:26:08 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2022-08-04 18:26:08 +0200 |
commit | 2a33db96531933f00405522d94ebc658236f0b84 (patch) | |
tree | bf3f2ec3e231c0cb6959e5507b9b527d03ba3a4d /pygnulib/GLMakefileTable.py | |
parent | 948345cceab85ab699910a795d6b69ea2be6e300 (diff) | |
download | gnulib-2a33db96531933f00405522d94ebc658236f0b84.tar.gz |
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.
Diffstat (limited to 'pygnulib/GLMakefileTable.py')
-rw-r--r-- | pygnulib/GLMakefileTable.py | 8 |
1 files changed, 4 insertions, 4 deletions
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) |