We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72356c8 commit 2dc0fc3Copy full SHA for 2dc0fc3
pum/upgrader.py
@@ -187,7 +187,9 @@ def changelog_files(self, changelog: str) -> list[Path]:
187
This is not recursive, it only returns the files in the given changelog directory.
188
"""
189
files = [
190
- changelog.dir / f for f in os.listdir(changelog.dir) if (changelog.dir / f).is_file()
+ changelog.dir / f
191
+ for f in os.listdir(changelog.dir)
192
+ if (changelog.dir / f).is_file() and f.endswith(".sql")
193
]
194
files.sort()
195
return files
0 commit comments