aboutsummaryrefslogtreecommitdiff
path: root/scilo/scilo.py
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunk@stsci.edu>2013-01-30 17:42:33 -0500
committerJoseph Hunkeler <jhunk@stsci.edu>2013-01-30 17:42:33 -0500
commita9043e0d0948dd34d2a48a6a698c46843495e97c (patch)
tree046112d000539624d017576d9eb8153b3de992e0 /scilo/scilo.py
parent44be06c7b2d7e48a11288422eb1d433634eb975b (diff)
downloadscilo-a9043e0d0948dd34d2a48a6a698c46843495e97c.tar.gz
Use new mtimedb "create" method to check whether to populate the databaseHEADmaster
Diffstat (limited to 'scilo/scilo.py')
-rw-r--r--scilo/scilo.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scilo/scilo.py b/scilo/scilo.py
index 507da53..0b33d69 100644
--- a/scilo/scilo.py
+++ b/scilo/scilo.py
@@ -31,7 +31,6 @@ class scilo:
self.path = os.path.abspath(path)
self.name = os.path.basename(self.path)
self.settings = npz.settings(self.path)
- print("Loading dataset: %s" % (self.name))
if not os.path.exists(path):
os.mkdir(os.path.abspath(self.settings.path))
for key in self.settings.directories.iterkeys():
@@ -86,6 +85,8 @@ class scilo:
import shutil
shutil.copy2(src, dest)
self.cache.populate()
+ if self.mtimedb.create():
+ self.mtimedb.populate()
return True
def select_available(self):