diff options
author | Leonard Richardson <leonardr@segfault.org> | 2015-09-28 20:01:41 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2015-09-28 20:01:41 -0400 |
commit | a657e2ba894e7c95463314ed2b179e1b61b64347 (patch) | |
tree | c40bda0c658e6eab3704ab948610896bf726d667 | |
parent | 31cf0828b3b339c6136de1193fb6619d5c9c12ea (diff) |
Add a __license__ statement to all source files.
-rw-r--r-- | bs4/dammit.py | 1 | ||||
-rw-r--r-- | bs4/diagnose.py | 3 | ||||
-rw-r--r-- | bs4/element.py | 2 | ||||
-rw-r--r-- | bs4/testing.py | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/bs4/dammit.py b/bs4/dammit.py index 317ad6d..636f81b 100644 --- a/bs4/dammit.py +++ b/bs4/dammit.py @@ -6,6 +6,7 @@ necessary. It is heavily based on code from Mark Pilgrim's Universal Feed Parser. It works best on XML and HTML, but it does not rewrite the XML or HTML to reflect a new encoding; that's the tree builder's job. """ +__license__ = "MIT" from pdb import set_trace import codecs diff --git a/bs4/diagnose.py b/bs4/diagnose.py index 1b71983..c04d23c 100644 --- a/bs4/diagnose.py +++ b/bs4/diagnose.py @@ -1,4 +1,7 @@ """Diagnostic functions, mainly for use when doing tech support.""" + +__license__ = "MIT" + import cProfile from StringIO import StringIO from HTMLParser import HTMLParser diff --git a/bs4/element.py b/bs4/element.py index 9ce4535..ecf2b28 100644 --- a/bs4/element.py +++ b/bs4/element.py @@ -1,3 +1,5 @@ +__license__ = "MIT" + from pdb import set_trace import collections import re diff --git a/bs4/testing.py b/bs4/testing.py index 847c9fc..7ba54ab 100644 --- a/bs4/testing.py +++ b/bs4/testing.py @@ -1,5 +1,7 @@ """Helper classes for tests.""" +__license__ = "MIT" + import pickle import copy import functools |