Move up dangling comment

The comment and some settings that appear to be related to the comment
were introduced in f21685a833 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.
pull/10814/head
Daniel Carson 2 years ago committed by Eli Schwartz
parent 635cb1b873
commit 97f248db24
  1. 2
      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:

Loading…
Cancel
Save