Skip to content

Commit

Permalink
Merge pull request #593 from rhubert/rh-fix-layers-attic
Browse files Browse the repository at this point in the history
layers: fix move to attic
  • Loading branch information
jkloetzke authored Oct 22, 2024
2 parents 103c83b + e352b77 commit 8f5f261
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pym/bob/cmds/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def doLayersUpdate(argv):
parser.add_argument('-D', default=[], action='append', dest="defines",
help="Override default environment variable")
group = parser.add_mutually_exclusive_group()
group.add_argument('--attic', action='store_true', default=True,
group.add_argument('--attic', action='store_true', default=None,
help="Move scm to attic if inline switch is not possible (default).")
group.add_argument('--no-attic', action='store_false', default=None, dest='attic',
help="Do not move to attic, instead fail the build.")
Expand Down
2 changes: 1 addition & 1 deletion pym/bob/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def getScm(self):
class Layers:
def __init__(self, defines, attic):
self.__layers = {}
self.__attic = attic
self.__attic = attic if attic is not None else True
self.__defines = defines
self.__layerConfigFiles = []

Expand Down

0 comments on commit 8f5f261

Please sign in to comment.