summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Packages.py
diff options
context:
space:
mode:
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')