Skip to content

Commit dfcdd78

Browse files
authored
Merge pull request #99 from marv7000/fix-typo
base: Fix typo in "implict_package"
2 parents 676fc7e + 0c9c01e commit dfcdd78

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

xbstrap/base.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1742,9 +1742,12 @@ def stability_level(self):
17421742

17431743
@property
17441744
def is_implicit(self):
1745-
if "implict_package" not in self._this_yml:
1746-
return False
1747-
return self._this_yml["implict_package"]
1745+
if "implicit_package" in self._this_yml:
1746+
return self._this_yml["implicit_package"]
1747+
# Compatibility for legacy misspelling.
1748+
if "implict_package" in self._this_yml:
1749+
return self._this_yml["implict_package"]
1750+
return False
17481751

17491752
@property
17501753
def architecture(self):

xbstrap/schema.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ properties:
321321
'stability_level':
322322
type: string
323323
enum: ['stable', 'unstable', 'broken']
324-
'implict_package':
324+
'implicit_package':
325325
type: boolean
326326
'source': { $ref: '#/definitions/nested_source' }
327327
'from_source':

0 commit comments

Comments
 (0)