#! /bin/sh /usr/share/dpatch/dpatch-run ## 27_remove_btdownloadheadless_curses_dependency.dpatch by Cameron Dale ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: removed btdownloadheadless curses dependency; display width need is deprecated anyway. ## DP: Taken from upstream's CVS. @DPATCH@ --- bittornado.orig/btdownloadheadless.py +++ bittornado/btdownloadheadless.py @@ -139,14 +139,6 @@ self.downloadTo = path def run(params): - try: - import curses - curses.initscr() - cols = curses.COLS - curses.endwin() - except: - cols = 80 - h = HeadlessDisplayer() while 1: configdir = ConfigDir('downloadheadless')