Enter context for PlainSession.
This commit is contained in:
parent
997a643b01
commit
ccc7b934a2
1 changed files with 2 additions and 1 deletions
|
@ -721,10 +721,11 @@ def main(argv=None):
|
|||
tree = WorkingTree.open(".")
|
||||
if args.schroot:
|
||||
session = SchrootSession(args.schroot)
|
||||
es.enter_context(session)
|
||||
else:
|
||||
session = PlainSession()
|
||||
|
||||
es.enter_context(session)
|
||||
|
||||
apt = AptManager(session)
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue