diff options
| author | txtsd <thexerothermicsclerodermoid@gmail.com> | 2022-04-06 14:53:16 +0530 |
|---|---|---|
| committer | txtsd <thexerothermicsclerodermoid@gmail.com> | 2022-04-06 14:53:16 +0530 |
| commit | 8ad8ed95cb67e277fc749b75e34eac574ed368a4 (patch) | |
| tree | c78aa4993fdcd7c147fb23196fab13ded89006ed /meta | |
| parent | 6d39c8dfe9b6b1d8b40d2ea90b1eb7f4c33e157c (diff) | |
| download | Project-Tick-8ad8ed95cb67e277fc749b75e34eac574ed368a4.tar.gz Project-Tick-8ad8ed95cb67e277fc749b75e34eac574ed368a4.zip | |
chore: Replace assignments with augmented assignments
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/model/forge.py | 2 | ||||
| -rw-r--r-- | meta/model/mojang.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/model/forge.py b/meta/model/forge.py index 35af76b3ad..2db191b941 100644 --- a/meta/model/forge.py +++ b/meta/model/forge.py @@ -196,7 +196,7 @@ class ForgeVersion: self.changelog_url = None self.long_version = "%s-%s" % (self.mc_version, self.rawVersion) if self.branch is not None: - self.long_version = self.long_version + "-%s" % self.branch + self.long_version += "-%s" % self.branch # this comment's whole purpose is to say this: cringe for classifier, file in entry.files.items(): diff --git a/meta/model/mojang.py b/meta/model/mojang.py index e5ea072acd..468c372ad7 100644 --- a/meta/model/mojang.py +++ b/meta/model/mojang.py @@ -92,7 +92,7 @@ class LegacyOverrideEntry(MetaBase): if self.additional_traits: if not meta_version.additional_traits: meta_version.additional_traits = [] - meta_version.additional_traits = meta_version.additional_traits + self.additional_traits + meta_version.additional_traits += self.additional_traits if legacy: # remove all libraries - they are not needed for legacy |
