From 97f248db24fe88495dbe35bbae6eafd643c0c94b Mon Sep 17 00:00:00 2001 From: Daniel Carson Date: Mon, 27 Jun 2022 15:56:20 -0400 Subject: Move up dangling comment The comment and some settings that appear to be related to the comment were introduced in f21685a83330a4bbe1e59c3641a0d24f1efe8825 and appears to be documenting some of the fields added in that commit. This commit moves the comment back to the field it appears to be documenting. --- mesonbuild/wrap/wrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/wrap/wrap.py b/mesonbuild/wrap/wrap.py index ee67ba7..34249d5 100644 --- a/mesonbuild/wrap/wrap.py +++ b/mesonbuild/wrap/wrap.py @@ -127,6 +127,7 @@ class PackageDefinition: self.directory = self.name # must be lowercase for consistency with dep=variable assignment self.provided_deps[self.name.lower()] = None + # What the original file name was before redirection self.original_filename = fname self.redirected = False if self.has_wrap: @@ -137,7 +138,6 @@ class PackageDefinition: if self.type and self.type not in ALL_TYPES: raise WrapException(f'Unknown wrap type {self.type!r}') self.filesdir = os.path.join(os.path.dirname(self.filename), 'packagefiles') - # What the original file name was before redirection def parse_wrap(self) -> None: try: -- cgit v1.1