diff options
| author | Remi Collet <remi@remirepo.net> | 2024-05-30 17:09:06 +0200 | 
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2024-05-30 17:09:06 +0200 | 
| commit | 892a95f8962e0cdab8883f7aab4e428f61dbdea9 (patch) | |
| tree | dba804bbcf4ee8780e58d2369c4e6f32241ab477 /class/Parser.php | |
| parent | de61165aa4593ceb29f125703e7935d4094597be (diff) | |
msg
Diffstat (limited to 'class/Parser.php')
| -rw-r--r-- | class/Parser.php | 6 | 
1 files changed, 4 insertions, 2 deletions
diff --git a/class/Parser.php b/class/Parser.php index 57b0a77..3ef11a4 100644 --- a/class/Parser.php +++ b/class/Parser.php @@ -219,7 +219,7 @@ class Parser              if ($txt) {                  $primary = simplexml_load_string($txt);                  if ($primary) { -                    self::log("Read " . $primary->attributes() . " packages"); +                    self::log("Read " . $primary->attributes() . " packages from primary");                      $rpmrepo->update($row['id'], array('stamp' =>$TimRemote));                      return $primary; @@ -278,6 +278,8 @@ class Parser                  }              }              self::log("Write $tot packages"); +        } else { +            self::log("Bad primary.xml");          }          return $tot;      } @@ -355,7 +357,7 @@ class Parser                      }                  }              } -            self::log("Read $tot packages"); +            self::log("Read $tot packages for provides");          }          return $tot;      }  | 
