diff options
Diffstat (limited to 'lib/thandy/repository.py')
-rw-r--r-- | lib/thandy/repository.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/thandy/repository.py b/lib/thandy/repository.py index af2fa4f..636ff86 100644 --- a/lib/thandy/repository.py +++ b/lib/thandy/repository.py @@ -174,6 +174,9 @@ class PkgFile: def clear(self): self._mtime = None + def load(self): + pass + def getRelativePath(self): return self._relativePath @@ -258,7 +261,7 @@ class LocalRepository: return pkg def getRequestedFile(self, relPath): - """ """ + """DOCDOC""" for f in self._metafiles: if f.getRelativePath() == relPath: return f @@ -274,6 +277,8 @@ class LocalRepository: if rp == relPath: return PkgFile(self, rp, thandy.formats.parseHash(h)) + return None + def getFilesToUpdate(self, now=None, trackingBundles=(), hashDict=None): """Return a set of relative paths for all files that we need to fetch. Assumes that we care about the bundles |