From 844fc8addb3985565520b33dcc19f1cfc2aea794 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 16 Feb 2012 10:19:36 +0000 Subject: [PATCH] minor cleanup --- lib/controller/checks.py | 1 - lib/core/common.py | 12 ------------ 2 files changed, 13 deletions(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index 34bb22a47..3a4bf0d2f 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -39,7 +39,6 @@ from lib.core.common import singleTimeWarnMessage from lib.core.common import trimAlphaNum from lib.core.common import wasLastRequestDBMSError from lib.core.common import wasLastRequestHTTPError -from lib.core.common import DynamicContentItem from lib.core.data import conf from lib.core.data import kb from lib.core.data import logger diff --git a/lib/core/common.py b/lib/core/common.py index 4bc7bfe19..6a7a28fec 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -155,18 +155,6 @@ class UnicodeRawConfigParser(RawConfigParser): fp.write("\n") -class DynamicContentItem: - """ - Represents line in content page with dynamic properties (candidate - for removal prior detection phase) - """ - - def __init__(self, lineNumber, pageTotal, lineContentBefore, lineContentAfter): - self.lineNumber = lineNumber - self.pageTotal = pageTotal - self.lineContentBefore = lineContentBefore - self.lineContentAfter = lineContentAfter - class Format: @staticmethod def humanize(values, chain=" or "):