From 1d56b8bc4b52a458077105e82afa2b945aee10eb Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 15 Aug 2008 17:20:31 +0200 Subject: [PATCH] fix warning --- oxdbarchive/model.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oxdbarchive/model.py b/oxdbarchive/model.py index 8dff2a7..5a2facc 100644 --- a/oxdbarchive/model.py +++ b/oxdbarchive/model.py @@ -57,9 +57,9 @@ class Archive(SQLObject): if self.sinceLastModification() > 60*60*2: self.importFiles() else: - print "ignoring %s, was changed less than 2 hours ago" % archive.basePath + print "ignoring %s, was changed less than 2 hours ago" % self.basePath else: - print "WARNING %s, is not online, check power and disk" % archive.basePath + print "WARNING %s, is not online, check power and disk" % self.basePath def isOnline(self): r = os.system('find "%s" >/dev/null 2>&1' % self.basePath)