diff options
author | Leonard Richardson <leonardr@segfault.org> | 2013-05-07 09:40:47 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2013-05-07 09:40:47 -0400 |
commit | 457fa9096e5cee673063b41d58da9f2442814f0f (patch) | |
tree | a5bfd05b0d7e4caa2f0cce2bd7a63725057f3bd8 /bs4/element.py | |
parent | 4a0f656752dc2de3f3451397e09e806ad2874ea1 (diff) | |
parent | 5b3860ec348b66976de64b5be407704041102869 (diff) |
Merged.
Diffstat (limited to 'bs4/element.py')
-rw-r--r-- | bs4/element.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bs4/element.py b/bs4/element.py index c081eba..5ccb019 100644 --- a/bs4/element.py +++ b/bs4/element.py @@ -779,7 +779,7 @@ class Doctype(PreformattedString): @classmethod def for_name_and_ids(cls, name, pub_id, system_id): - value = name + value = name or '' if pub_id is not None: value += ' PUBLIC "%s"' % pub_id if system_id is not None: |