*** ./__init__.py 2010-05-30 09:28:40.000000000 +0300 --- ./__init__update_f12.py 2010-05-30 09:38:01.000000000 +0300 *************** *** 74,80 **** 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 --- 74,80 ---- self.oldpackage_paths = [] # where to alook 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 *************** *** 613,619 **** """ drpm_pkg_time = time.time() # 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) --- 613,619 ---- """ drpm_pkg_time = time.time() # 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) *************** *** 671,677 **** for f in self.getFileList(d, 'rpm'): fp = d + '/' + f fpstat = os.stat(fp) ! if int(fpstat[stat.ST_SIZE]) > self.conf.max_delta_rpm_size: self.callback.log("Skipping %s package " \ "that is > max_delta_rpm_size" % f) continue --- 671,677 ---- for f in self.getFileList(d, 'rpm'): fp = d + '/' + f fpstat = os.stat(fp) ! if long(fpstat[stat.ST_SIZE]) > self.conf.max_delta_rpm_size: self.callback.log("Skipping %s package " \ "that is > max_delta_rpm_size" % f) continue