Commit Graph

3 Commits (543c5d0de2f3aa649ab0e35df12b8777d7a2b290)

Author SHA1 Message Date
Jan-Piet Mens d184f72aa9 DOCUMENTATION strings 12 years ago
Dag Wieers 203f4df1e0 Documentation of svr4pkg module breaks 'make rpm'
Without this fix, generating documentation results in:

```
Traceback (most recent call last):
  File "hacking/module_formatter.py", line 376, in <module>
    main()
  File "hacking/module_formatter.py", line 365, in main
    text = template.render(doc)
  File "/usr/lib64/python2.6/site-packages/jinja2/environment.py", line 669, in render
    return self.environment.handle_exception(exc_info, True)
  File "hacking/templates/man.j2", line 20, in top-level template code
    {% for desc in v.description %}@{ desc | jpfunc }@{% endfor %}
  File "hacking/module_formatter.py", line 94, in man_ify
    t = _ITALIC.sub(r'\\fI' + r"\1" + r"\\fR", text)
TypeError: expected string or buffer
```
12 years ago
Boyd Adamson bf13b3c1c5 Add svr4pkg module for traditional Solaris packages 12 years ago