X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fcontents.py;h=df571e10ac962dd1114008bc19baae4fe0ae704c;hb=de7a18ef913661dff550e07487f65c01c99381a3;hp=a158e8fcd4bb7d2ed27e8547b79b03d1cbd84b8a;hpb=76467b7e0ddd35e882cf8ac0ddf3b56c3739315b;p=dak.git diff --git a/daklib/contents.py b/daklib/contents.py index a158e8fc..df571e10 100755 --- a/daklib/contents.py +++ b/daklib/contents.py @@ -258,10 +258,10 @@ def generate_helper(suite_id, arch_id, overridetype_id, component_id = None): return log_message -class ContentsScanner(object): +class BinaryContentsScanner(object): ''' - ContentsScanner provides a threadsafe method scan() to scan the contents of - a DBBinary object. + BinaryContentsScanner provides a threadsafe method scan() to scan the + contents of a DBBinary object. ''' def __init__(self, binary_id): ''' @@ -313,7 +313,7 @@ def scan_helper(binary_id): ''' This function runs in a subprocess. ''' - scanner = ContentsScanner(binary_id) + scanner = BinaryContentsScanner(binary_id) scanner.scan()