From: Torsten Werner Date: Fri, 28 Jan 2011 22:12:29 +0000 (+0100) Subject: Fix typo in PoolFile.is_valid(). X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=608a9f5d5425a4c675f737302d7dade298685570;p=dak.git Fix typo in PoolFile.is_valid(). Signed-off-by: Torsten Werner --- diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 3dd73b3c..aa71c180 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -1161,7 +1161,7 @@ class PoolFile(ORMObject): def fullpath(self): return os.path.join(self.location.path, self.filename) - def is_valid(self, filesize = -1, md5sum = None):\ + def is_valid(self, filesize = -1, md5sum = None): return self.filesize == long(filesize) and self.md5sum == md5sum def properties(self):