From 8cba8ccce5be7094afd25037863f6819fa13ee7f Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Wed, 19 Sep 2012 13:36:55 -0400 Subject: documented PackagesSources --- src/lib/Bcfg2/Server/Plugins/Packages/Apt.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/lib/Bcfg2/Server/Plugins/Packages/Apt.py') diff --git a/src/lib/Bcfg2/Server/Plugins/Packages/Apt.py b/src/lib/Bcfg2/Server/Plugins/Packages/Apt.py index 30be4b089..5e3d86f02 100644 --- a/src/lib/Bcfg2/Server/Plugins/Packages/Apt.py +++ b/src/lib/Bcfg2/Server/Plugins/Packages/Apt.py @@ -1,17 +1,18 @@ import re import gzip -from Bcfg2.Server.Plugins.Packages.Collection import _Collection +from Bcfg2.Server.Plugins.Packages.Collection import Collection from Bcfg2.Server.Plugins.Packages.Source import Source -class AptCollection(_Collection): +class AptCollection(Collection): def get_config(self): lines = ["# This config was generated automatically by the Bcfg2 " \ "Packages plugin", ''] for source in self: if source.rawurl: - self.logger.info("Packages: Skipping rawurl %s" % source.rawurl) + self.logger.info("Packages: Skipping rawurl %s" % + source.rawurl) else: lines.append("deb %s %s %s" % (source.url, source.version, " ".join(source.components))) -- cgit v1.2.3-1-g7c22