summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Packages.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2009-07-16 03:33:00 +0000
committerNarayan Desai <desai@mcs.anl.gov>2009-07-16 03:33:00 +0000
commit92aa3cda749240dd931fa1f97340f29ff11bf83d (patch)
tree5b761eafc677925be2ca4369bd6eac2f4ea26cbd /src/lib/Server/Plugins/Packages.py
parent5c3d87bcd4f0f41b76076f5f30df328fcaa79e87 (diff)
downloadbcfg2-92aa3cda749240dd931fa1f97340f29ff11bf83d.tar.gz
bcfg2-92aa3cda749240dd931fa1f97340f29ff11bf83d.tar.bz2
bcfg2-92aa3cda749240dd931fa1f97340f29ff11bf83d.zip
Packages: pylint fixes
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5338 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins/Packages.py')
-rw-r--r--src/lib/Server/Plugins/Packages.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Packages.py b/src/lib/Server/Plugins/Packages.py
index 30456f81a..bcc5e9d35 100644
--- a/src/lib/Server/Plugins/Packages.py
+++ b/src/lib/Server/Plugins/Packages.py
@@ -34,6 +34,10 @@ class Source(object):
self.arches = arches
self.deps = dict()
self.provides = dict()
+ self.cachefile = None
+
+ def load_state(self):
+ pass
def setup_data(self):
should_read = True
@@ -479,5 +483,5 @@ class Packages(Bcfg2.Server.Plugin.Plugin,
structures.append(news)
if __name__ == '__main__':
- Bcfg2.Logger.setup_logging('Packages',to_console=True)
+ Bcfg2.Logger.setup_logging('Packages', to_console=True)
aa = Packages(None, '/home/desai/tmp/bcfg2')