licenses / lice

Generate license files for your projects
BSD 3-Clause "New" or "Revised" License
506 stars 38 forks source link

TypeError under Python 3 #17

Closed lllama closed 11 years ago

lllama commented 11 years ago
[36+]:> lice --vars lgpl
Traceback (most recent call last):
  File "c:\python33\scripts\lice-script.py", line 9, in <module>
    load_entry_point('lice==0.3', 'console_scripts', 'lice')()
  File "C:\Python33\lib\site-packages\lice\core.py", line 149, in main
    var_list = extract_vars(template)
  File "C:\Python33\lib\site-packages\lice\core.py", line 75, in extract_vars
    for match in re.finditer(r"\{\{ (?P<key>\w+) \}\}", template):
  File "C:\Python33\lib\re.py", line 210, in finditer
    return _compile(pattern, flags).finditer(string)
TypeError: can't use a string pattern on a bytes-like object