aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/wrap
diff options
context:
space:
mode:
authorDaniel Carson <danielcarson271@gmail.com>2022-06-27 15:56:20 -0400
committerEli Schwartz <eschwartz93@gmail.com>2022-09-18 22:48:50 -0400
commit97f248db24fe88495dbe35bbae6eafd643c0c94b (patch)
tree0964c0329578c70c591906f392350cd8cafc02e8 /mesonbuild/wrap
parent635cb1b873019c70e6907c883d16379339a4cf80 (diff)
downloadmeson-97f248db24fe88495dbe35bbae6eafd643c0c94b.zip
meson-97f248db24fe88495dbe35bbae6eafd643c0c94b.tar.gz
meson-97f248db24fe88495dbe35bbae6eafd643c0c94b.tar.bz2
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.
Diffstat (limited to 'mesonbuild/wrap')
-rw-r--r--mesonbuild/wrap/wrap.py2
1 files changed, 1 insertions, 1 deletions
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: