solenv/bin/polib.py |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

New commits:
commit 1ede85d4cb7801b4a3599a9b06db34b1b5135cfa
Author:     Bogdan Buzea <[email protected]>
AuthorDate: Sun Jun 1 09:47:29 2025 +0200
Commit:     Xisco Fauli <[email protected]>
CommitDate: Tue Jun 3 22:31:16 2025 +0200

    tdf#158803 E402 Module level import not at top of file
    
    Change-Id: I818d91220892bbfa378f146a65c56cc94db86168
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186104
    Reviewed-by: Xisco Fauli <[email protected]>
    Tested-by: Jenkins

diff --git a/solenv/bin/polib.py b/solenv/bin/polib.py
index 3a6afec5a238..40860f6a41b3 100644
--- a/solenv/bin/polib.py
+++ b/solenv/bin/polib.py
@@ -2,7 +2,7 @@
 #
 # License: MIT (see LICENSE file provided)
 # vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
-8
+
 """
 **polib** allows you to manipulate, create, modify gettext files (pot, po and
 mo files).  You can load existing files, iterate through it's entries, add,
@@ -12,11 +12,6 @@ modify entries, comments or metadata, etc. or create new po 
files from scratch.
 :func:`~polib.mofile` convenience functions.
 """
 
-__author__ = 'David Jean Louis <[email protected]>'
-__version__ = '1.0.8'
-__all__ = ['pofile', 'POFile', 'POEntry', 'mofile', 'MOFile', 'MOEntry',
-           'default_encoding', 'escape', 'unescape', 'detect_encoding', ]
-
 import array
 import codecs
 import os
@@ -36,6 +31,10 @@ except ImportError:
         def open(fpath, mode='r', encoding=None):
             return codecs.open(fpath, mode, encoding)
 
+__author__ = 'David Jean Louis <[email protected]>'
+__version__ = '1.0.8'
+__all__ = ['pofile', 'POFile', 'POEntry', 'mofile', 'MOFile', 'MOEntry',
+           'default_encoding', 'escape', 'unescape', 'detect_encoding', ]
 
 # the default encoding to use when encoding cannot be detected
 default_encoding = 'utf-8'
  • core.git: solenv/bin Bogdan Buzea (via logerrit)

Reply via email to