Add license and copyright information to all LIT-related files missing them.

This commit is contained in:
Marshall T. Vandegrift
2008-12-11 08:12:20 -05:00
parent ee23d9bcde
commit ac9baea183
5 changed files with 34 additions and 2 deletions
+7
View File
@@ -1,4 +1,11 @@
'''
Higher-level LZX compression/decompression routines.
'''
from __future__ import with_statement
__license__ = 'GPL v3'
__copyright__ = '2008, Marshall T. Vandegrift <llasram@gmail.com>'
import sys
import os
from cStringIO import StringIO
+3
View File
@@ -4,6 +4,9 @@ Modified version of SHA-1 used in Microsoft LIT files.
Adapted from the PyPy pure-Python SHA-1 implementation.
"""
__license__ = 'GPL v3'
__copyright__ = '2008, Marshall T. Vandegrift <llasram@gmail.com>'
import struct, copy
# ======================================================================
+7
View File
@@ -1,4 +1,11 @@
'''
Basic support for manipulating OEB 1.x/2.0 content and metadata.
'''
from __future__ import with_statement
__license__ = 'GPL v3'
__copyright__ = '2008, Marshall T. Vandegrift <llasram@gmail.com>'
import os
import sys
from collections import defaultdict
+9 -2
View File
@@ -1,6 +1,13 @@
#! /usr/bin/python2.5
# -*- encoding: utf-8 -*-
'''
CSS property propagation class.
'''
from __future__ import with_statement
__license__ = 'GPL v3'
__copyright__ = '2008, Marshall T. Vandegrift <llasram@gmail.com>'
from __future__ import with_statement
import sys
import os
@@ -324,12 +331,12 @@ class Style(object):
def _get(self, name):
result = None
styles = self._stylizer._styles
if name in self._style:
result = self._style[name]
if (result == 'inherit'
or (result is None and name in INHERITED
and self._has_parent())):
styles = self._stylizer._styles
result = styles[self._element.getparent()]._get(name)
if result is None:
result = DEFAULTS[name]
+8
View File
@@ -1,3 +1,11 @@
'''
Basic support for writing LIT files.
'''
from __future__ import with_statement
__license__ = 'GPL v3'
__copyright__ = '2008, Marshall T. Vandegrift <llasram@gmail.com>'
from __future__ import with_statement
import sys
import os