From 1d8958cd062c9c5051d93b8d3b946a4384451374 Mon Sep 17 00:00:00 2001 From: "David Kaspar [Dee'Kej]" Date: Fri, 11 May 2018 14:51:28 +0200 Subject: po/xgettext_sh*: converted to use to python3 Also, the code has been fixed to comply with PEP8 specification. More info: https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 --- po/xgettext_sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'po/xgettext_sh') diff --git a/po/xgettext_sh b/po/xgettext_sh index a9f1f6de..d0550ce6 100644 --- a/po/xgettext_sh +++ b/po/xgettext_sh @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # xgettext_sh -- extracts translatable strings from a shell script # Copyright (C) 1999 Conectiva Consultoria e Desenvolvimento de Sistemas LTDA @@ -18,10 +18,11 @@ # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. from sys import path + if not '/usr/lib/conectiva/xgettext_sh' in path: path[:0] = ['/usr/lib/conectiva/xgettext_sh'] from xgettext_sh import main if __name__ == '__main__': - main() + main() -- cgit v1.2.1