Added missing Python shebangs to several scripts

This commit is contained in:
Elvish_Hunter 2017-09-30 22:17:14 +02:00
parent aa4024fda9
commit f6fbd6351a
15 changed files with 26 additions and 2 deletions

View file

@ -1 +1,2 @@
# This let's python know about the addon_manager module.
#!/usr/bin/env python3
# This lets Python know about the addon_manager module.

View file

@ -1,3 +1,4 @@
#!/usr/bin/env python3
# encoding: utf-8
import html

View file

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# When Python looks for a package, it considers all directories with
# a file named __init__.py inside them. Therefore we need this file.
# Any code put in here would get executed on "import wesnoth".

View file

@ -1,3 +1,5 @@
#!/usr/bin/env python3
def write_animation(out, aa, name):
c = [0, 0]
for a in aa:

View file

@ -1,3 +1,5 @@
#!/usr/bin/env python3
"""
Various helpers for use by the wmlunits tool.
"""

View file

@ -1,3 +1,4 @@
#!/usr/bin/env python3
# encoding: utf-8
import copy

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
import glob
import os
import re

View file

@ -1,3 +1,5 @@
#!/usr/bin/env python3
import sys
from . import helpers
from .html_output import Translation

View file

@ -1,3 +1,5 @@
#!/usr/bin/env python3
import gzip, zlib, io
import socket, struct, glob, sys, shutil, threading, os, fnmatch
import wesnoth.wmlparser3 as wmlparser

View file

@ -1,3 +1,4 @@
#!/usr/bin/env python3
# vim: tabstop=4: shiftwidth=4: expandtab: softtabstop=4: autoindent:
"""

View file

@ -1,3 +1,5 @@
#!/usr/bin/env python2
"""
wmlgrammar -- parses a given schema into a more usable form
"""

View file

@ -1,3 +1,5 @@
#!/usr/bin/env python2
"""
wmliterator.py -- Python routines for navigating a Battle For Wesnoth WML tree
Author: Sapient (Patrick Parker), 2007

View file

@ -1,3 +1,5 @@
#!/usr/bin/env python3
"""
wmliterator.py -- Python routines for navigating a Battle For Wesnoth WML tree
Author: Sapient (Patrick Parker), 2007

View file

@ -1,3 +1,5 @@
#!/usr/bin/env python2
"""
wmltools.py -- Python routines for working with a Battle For Wesnoth WML tree

View file

@ -1,3 +1,5 @@
#!/usr/bin/env python3
"""
wmltools.py -- Python routines for working with a Battle For Wesnoth WML tree