Skip to content
Snippets Groups Projects

lb-sdeployment-updatesdb should look for RPMs in subdirectories

Merged Ben Couturier requested to merge LBCORE-1459 into master
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
@@ -81,7 +81,8 @@ class CheckReleasedConfig(Script):
platform_missing = []
for platform in platforms:
prefix = "_".join([p, v, sanitize(platform)])
foundrpm = [ r for r in os.listdir(builddir) if r.startswith(prefix) ]
#foundrpm = [ r for r in os.listdir(builddir) if r.startswith(prefix) ]
foundrpm = [ f for _, _,files in os.walk(builddir) for f in files if f.startswith(prefix)]
if len(foundrpm) == 0:
platform_missing.append(platform)
elif len(foundrpm) >= 1:
Loading