2024-04-02 Bruno Haible <bruno@clisp.org>
+ gnulib-tool.py: Remove unused imports.
+ * pygnulib/GLFileSystem.py: Remove unused imports.
+ * pygnulib/GLEmiter.py: Likewise.
+ (GLEmiter.autoconfSnippets): Fix type assertion message.
+
gnulib-tool.py: Fix some IDE warnings.
* HACKING: Update configuration of warnings.
from .GLModuleSystem import GLModule
from .GLModuleSystem import GLModuleTable
from .GLMakefileTable import GLMakefileTable
-from .GLFileSystem import GLFileAssistant
#===============================================================================
if type(module) is not GLModule:
raise TypeError('each referenceable module must be a GLModule instance')
if type(moduletable) is not GLModuleTable:
- raise TypeError('moduletable must be a GLFileAssistant, not %s'
+ raise TypeError('moduletable must be a GLModuleTable, not %s'
% type(moduletable).__name__)
if type(verifier) is not int:
raise TypeError('verifier must be an int, not %s'
#===============================================================================
import os
import re
-import codecs
import filecmp
import subprocess as sp
-from enum import Enum
from . import constants
from pygnulib.enums import CopyAction
from .GLError import GLError