From c13aa323d873540b7c5f920a49f1e039461d80d9 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Mon, 4 Mar 2013 21:44:26 +0100 Subject: [PATCH] Code cleanup [ci skip] --- dosagelib/util.py | 3 --- tests/test_dosage.py | 1 - 2 files changed, 4 deletions(-) diff --git a/dosagelib/util.py b/dosagelib/util.py index 7afa39a98..ab42886a7 100644 --- a/dosagelib/util.py +++ b/dosagelib/util.py @@ -17,9 +17,6 @@ from htmlentitydefs import name2codepoint from .decorators import memoized from .output import out from .configuration import UserAgent, AppName, App, SupportUrl -from .fileutil import has_module - -has_curses = has_module("curses") # Maximum content size for HTML pages MaxContentBytes = 1024 * 1024 * 2 # 2 MB diff --git a/tests/test_dosage.py b/tests/test_dosage.py index 9ea6bde8b..d4440b085 100644 --- a/tests/test_dosage.py +++ b/tests/test_dosage.py @@ -55,4 +55,3 @@ class TestDosage (unittest.TestCase): def test_fetch(self): run_with_options(["-n", "2", "-b", self.tmpdir, "-o", "html", "calvinandhobbes"]) run_with_options(["--numstrips", "2", "--baseurl", "bla", "--basepath", self.tmpdir, "--output", "rss", "--adult", "sexyloser"]) -