#!/usr/bin/env python
from os.path import join, dirname
try:
    from robot.libdoc import libdoc
except:
    def main():
        print """Robot Framework 2.7 or later required for generating documentation"""
else:
    def main():
        libdoc(join(dirname(__file__), '..', 'src', 'BrowserMobProxyLibrary'), join(dirname(__file__), 'BrowserMobProxyLibrary.html'))


if __name__ == '__main__':
    main()
#!/usr/bin/env python
from os.path import join, dirname
try:
    from robot.libdoc import libdoc
except:
    def main():
        print("Robot Framework 2.7 or later required for generating documentation")
else:
    def main():
        libdoc(
            join(dirname(__file__), '..', 'src', 'BrowserMobProxyLibrary'),
            join(dirname(__file__), 'BrowserMobProxyLibrary.html')
        )


if __name__ == '__main__':
    main()

Fix lint issues