Added missing Python shebangs to several scripts
This commit is contained in:
parent
aa4024fda9
commit
f6fbd6351a
15 changed files with 26 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env python3
|
||||
# encoding: utf-8
|
||||
|
||||
import html
|
||||
|
|
|
@ -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".
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
def write_animation(out, aa, name):
|
||||
c = [0, 0]
|
||||
for a in aa:
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
"""
|
||||
Various helpers for use by the wmlunits tool.
|
||||
"""
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env python3
|
||||
# encoding: utf-8
|
||||
|
||||
import copy
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python2
|
||||
#!/usr/bin/env python3
|
||||
import glob
|
||||
import os
|
||||
import re
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import sys
|
||||
from . import helpers
|
||||
from .html_output import Translation
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env python3
|
||||
# vim: tabstop=4: shiftwidth=4: expandtab: softtabstop=4: autoindent:
|
||||
|
||||
"""
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env python2
|
||||
|
||||
"""
|
||||
wmlgrammar -- parses a given schema into a more usable form
|
||||
"""
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env python2
|
||||
|
||||
"""
|
||||
wmltools.py -- Python routines for working with a Battle For Wesnoth WML tree
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
"""
|
||||
wmltools.py -- Python routines for working with a Battle For Wesnoth WML tree
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue