PATCH ATTACHED: hp-levels does not work without TTY
Bug #299479 reported by
Till Kamppeter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When I build a package on a build server and do "hp-levels --help-man" during the build, hp-levels fails because it tries to determine the TTY dimensions. This means, that I cannot get a man page for this utility in an official package for Ubuntu.
The attached patch puts a "try: ... except: ..." around the TTY size determination which falls back to a default value if there is no TTY.
To post a comment you must log in.
Don will be adding this to our tip in the near future.
Aaron