Hi Collin,

> Here is the very simple fix:
> 
> diff --git a/pygnulib/GLImport.py b/pygnulib/GLImport.py
> index c3a7597d02..1fc43bfdff 100644
> --- a/pygnulib/GLImport.py
> +++ b/pygnulib/GLImport.py
> @@ -1241,7 +1241,8 @@ AC_DEFUN([%s_FILE_LIST], [\n''' % macro_prefix
>                  tmpfile = self.assistant.tmpfilename(basename)
>                  data = '# Set of available languages.\n'
>                  files = [ constants.subend('.po', '', file)
> -                          for file in os.listdir(joinpath(destdir, pobase)) ]
> +                          for file in os.listdir(joinpath(destdir, pobase))
> +                          if file.endswith('.po') ]
>                  data += lines_to_multiline(files)
>                  with codecs.open(tmpfile, 'wb', 'UTF-8') as file:
>                      file.write(data)

Thanks, applied!

Bruno




Reply via email to