/usr/lib/python3/dist-packages/lesscpy/__init__.py is in python3-lesscpy 0.13.0+ds-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | __version_info__ = ('0', '13', '0')
__version__ = '.'.join(__version_info__)
def compile(file, minify=False, xminify=False, tabs=False, spaces=True):
from .lessc import parser
from .lessc import formatter
class Opt(object):
def __init__(self):
self.minify = minify
self.xminify = xminify
self.tabs = tabs
self.spaces = spaces
p = parser.LessParser(fail_with_exc=True)
opt = Opt()
p.parse(file=file)
f = formatter.Formatter(opt)
return f.format(p)
|