*** ./__init__.py 2010-05-29 22:51:15.000000000 +0300 --- ./__init__update.py 2010-05-30 07:26:02.000000000 +0300 *************** *** 72,78 **** self.oldpackage_paths = [] # where to look for the old packages - self.deltafile = 'prestodelta.xml.gz' self.num_deltas = 1 # number of older versions to delta (max) ! self.max_delta_rpm_size = 100000000 self.update_md_path = None self.skip_stat = False self.database = False --- 72,78 ---- self.oldpackage_paths = [] # where to look for the old packages - self.deltafile = 'prestodelta.xml.gz' self.num_deltas = 1 # number of older versions to delta (max) ! self.max_delta_rpm_size = 1000000000L self.update_md_path = None self.skip_stat = False self.database = False *************** *** 588,594 **** """ # duck and cover if the pkg.size is > whatever ! if int(pkg.size) > self.conf.max_delta_rpm_size: if not self.conf.quiet: self.callback.log("Skipping %s package " \ "that is > max_delta_rpm_size" % pkg) --- 588,594 ---- """ # duck and cover if the pkg.size is > whatever ! if long(pkg.size) > self.conf.max_delta_rpm_size: if not self.conf.quiet: self.callback.log("Skipping %s package " \ "that is > max_delta_rpm_size" % pkg) *************** *** 638,644 **** for d in self.conf.oldpackage_paths: for f in self.getFileList(d, 'rpm'): fp = d + '/' + f ! if int(os.stat(fp)[stat.ST_SIZE]) > self.conf.max_delta_rpm_size: self.callback.log("Skipping %s package " \ "that is > max_delta_rpm_size" % f) continue --- 638,644 ---- for d in self.conf.oldpackage_paths: for f in self.getFileList(d, 'rpm'): fp = d + '/' + f ! if long(os.stat(fp)[stat.ST_SIZE]) > self.conf.max_delta_rpm_size: self.callback.log("Skipping %s package " \ "that is > max_delta_rpm_size" % f) continue