Commit 35317d64 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed an issus in package from tar command.

parent 6643407e
Pipeline #48087 failed with stages
in 16 minutes and 46 seconds
......@@ -459,7 +459,10 @@ class Package(Document):
del(directories[current_directory])
if current_package.package.size > max_package_size:
current_package.close()
# close current_package, if it is not used by any parent directory
if all(package != current_package for package in directories.values()):
current_package.close()
if current_package == last_package:
last_package = None
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment