Skip to content

Commit

Permalink
Removed unneeded 'bin/env python' preambles
Browse files Browse the repository at this point in the history
Fixes #3337.
  • Loading branch information
claudep committed Sep 10, 2015
1 parent 36fc042 commit db58d91
Show file tree
Hide file tree
Showing 286 changed files with 0 additions and 316 deletions.
1 change: 0 additions & 1 deletion docs/_ext/translate_docs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2012 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion tests/odf_xliff/test_odf_xliff.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2007 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion tests/xliff_conformance/test_xliff_conformance.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2007 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2008-2012 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/__version__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2008-2009 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/convert/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2002-2005 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/convert/test_convert.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os
Expand Down
2 changes: 0 additions & 2 deletions translate/convert/test_csv2po.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from translate.convert import csv2po, test_convert
from translate.misc import wStringIO
from translate.storage import csvl10n, po
Expand Down
1 change: 0 additions & 1 deletion translate/convert/test_dtd2po.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from pytest import mark
Expand Down
2 changes: 0 additions & 2 deletions translate/convert/test_html2po.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import six
from pytest import mark

Expand Down
2 changes: 0 additions & 2 deletions translate/convert/test_json2po.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from translate.convert import json2po, test_convert
from translate.misc import wStringIO
from translate.storage import jsonl10n
Expand Down
2 changes: 0 additions & 2 deletions translate/convert/test_moz2po.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from translate.convert import moz2po, test_convert


Expand Down
1 change: 0 additions & 1 deletion translate/convert/test_mozfunny2prop.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from translate.convert import mozfunny2prop
Expand Down
1 change: 0 additions & 1 deletion translate/convert/test_mozlang2po.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from translate.convert import mozlang2po, test_convert
Expand Down
1 change: 0 additions & 1 deletion translate/convert/test_oo2po.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os
Expand Down
1 change: 0 additions & 1 deletion translate/convert/test_oo2xliff.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os
Expand Down
1 change: 0 additions & 1 deletion translate/convert/test_php2po.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from translate.convert import php2po, test_convert
Expand Down
2 changes: 0 additions & 2 deletions translate/convert/test_po2csv.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from translate.convert import csv2po, po2csv, test_convert
from translate.misc import wStringIO
from translate.storage import csvl10n, po
Expand Down
1 change: 0 additions & 1 deletion translate/convert/test_po2dtd.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import warnings
Expand Down
2 changes: 0 additions & 2 deletions translate/convert/test_po2html.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from pytest import mark

from translate.convert import po2html, test_convert
Expand Down
1 change: 0 additions & 1 deletion translate/convert/test_po2ical.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import pytest
Expand Down
1 change: 0 additions & 1 deletion translate/convert/test_po2ini.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from __future__ import unicode_literals
Expand Down
2 changes: 0 additions & 2 deletions translate/convert/test_po2moz.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from translate.convert import po2moz, test_convert


Expand Down
1 change: 0 additions & 1 deletion translate/convert/test_po2mozlang.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from translate.convert import po2mozlang, test_convert
Expand Down
2 changes: 0 additions & 2 deletions translate/convert/test_po2oo.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import os
import warnings

Expand Down
1 change: 0 additions & 1 deletion translate/convert/test_po2php.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from pytest import mark
Expand Down
1 change: 0 additions & 1 deletion translate/convert/test_po2prop.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from translate.convert import po2prop, test_convert
Expand Down
1 change: 0 additions & 1 deletion translate/convert/test_po2resx.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2015 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/convert/test_po2sub.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from pytest import importorskip
Expand Down
1 change: 0 additions & 1 deletion translate/convert/test_po2tiki.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

# po2tiki unit tests
Expand Down
1 change: 0 additions & 1 deletion translate/convert/test_po2tmx.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from translate.convert import po2tmx, test_convert
Expand Down
2 changes: 0 additions & 2 deletions translate/convert/test_po2ts.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from translate.convert import po2ts, test_convert
from translate.misc import wStringIO
from translate.storage import po
Expand Down
1 change: 0 additions & 1 deletion translate/convert/test_po2txt.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from translate.convert import po2txt, test_convert
Expand Down
2 changes: 0 additions & 2 deletions translate/convert/test_po2xliff.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from translate.convert import po2xliff
from translate.misc.xml_helpers import XML_NS, getText
from translate.storage import po, poxliff
Expand Down
1 change: 0 additions & 1 deletion translate/convert/test_pot2po.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import warnings
Expand Down
2 changes: 0 additions & 2 deletions translate/convert/test_prop2mozfunny.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from translate.convert import prop2mozfunny
from translate.misc import wStringIO

Expand Down
1 change: 0 additions & 1 deletion translate/convert/test_prop2po.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from pytest import mark
Expand Down
1 change: 0 additions & 1 deletion translate/convert/test_resx2po.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2015 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/convert/test_tiki2po.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

# tiki2po unit tests
Expand Down
1 change: 0 additions & 1 deletion translate/convert/test_ts2po.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from translate.convert import test_convert, ts2po
Expand Down
2 changes: 0 additions & 2 deletions translate/convert/test_txt2po.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from translate.convert import test_convert, txt2po
from translate.misc import wStringIO
from translate.storage import txt
Expand Down
2 changes: 0 additions & 2 deletions translate/convert/test_xliff2po.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from translate.convert import test_convert, xliff2po
from translate.misc import wStringIO
from translate.storage import po, xliff
Expand Down
1 change: 0 additions & 1 deletion translate/filters/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2002, 2003 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/filters/autocorrect.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2005, 2006, 2009 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/filters/decoration.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2004-2008 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/filters/decorators.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2012 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/filters/helpers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2004-2006 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/filters/prefilters.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2004-2008,2010 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/filters/spelling.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2007 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/filters/test_autocorrect.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from translate.filters import autocorrect
Expand Down
1 change: 0 additions & 1 deletion translate/filters/test_pofilter.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from translate.filters import checks, pofilter
Expand Down
1 change: 0 additions & 1 deletion translate/filters/test_prefilters.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""tests decoration handling functions that are used by checks"""
Expand Down
1 change: 0 additions & 1 deletion translate/lang/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2007 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/lang/af.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2007 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/lang/ak.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2013 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/lang/am.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2007 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/lang/ar.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2007,2009,2011 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/lang/az.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2013 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/lang/bn.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2008 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/lang/bo.by
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2013 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/lang/code_or.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2007 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/lang/common.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2007-2008 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/lang/data.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2007-2011 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/lang/de.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2009 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/lang/dz.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2013 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/lang/el.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2007-2009,2011 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/lang/es.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2007 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/lang/fa.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2007, 2010 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/lang/factory.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2007-2010 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/lang/fi.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2008 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/lang/fr.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2007-2009 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/lang/gd.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2013 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/lang/gu.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2010 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/lang/he.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2007 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/lang/hi.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2010 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/lang/hy.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2007-2008, 2011 Zuza Software Foundation
Expand Down
1 change: 0 additions & 1 deletion translate/lang/ja.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2007 Zuza Software Foundation
Expand Down
Loading

0 comments on commit db58d91

Please sign in to comment.