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(".")
|
tree = WorkingTree.open(".")
|
||||||
if args.schroot:
|
if args.schroot:
|
||||||
session = SchrootSession(args.schroot)
|
session = SchrootSession(args.schroot)
|
||||||
es.enter_context(session)
|
|
||||||
else:
|
else:
|
||||||
session = PlainSession()
|
session = PlainSession()
|
||||||
|
|
||||||
|
es.enter_context(session)
|
||||||
|
|
||||||
apt = AptManager(session)
|
apt = AptManager(session)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue