|
|
@ -301,12 +301,13 @@ class Resolver: |
|
|
|
try: |
|
|
|
try: |
|
|
|
import lzma |
|
|
|
import lzma |
|
|
|
del lzma |
|
|
|
del lzma |
|
|
|
|
|
|
|
except ImportError: |
|
|
|
|
|
|
|
pass |
|
|
|
|
|
|
|
else: |
|
|
|
try: |
|
|
|
try: |
|
|
|
shutil.register_unpack_format('xztar', ['.tar.xz', '.txz'], shutil._unpack_tarfile, [], "xz'ed tar-file") |
|
|
|
shutil.register_unpack_format('xztar', ['.tar.xz', '.txz'], shutil._unpack_tarfile, [], "xz'ed tar-file") |
|
|
|
except shutil.RegistryError: |
|
|
|
except shutil.RegistryError: |
|
|
|
pass |
|
|
|
pass |
|
|
|
except ImportError: |
|
|
|
|
|
|
|
pass |
|
|
|
|
|
|
|
target_dir = os.path.join(self.subdir_root, package.get('directory')) |
|
|
|
target_dir = os.path.join(self.subdir_root, package.get('directory')) |
|
|
|
if os.path.isdir(target_dir): |
|
|
|
if os.path.isdir(target_dir): |
|
|
|
return |
|
|
|
return |
|
|
|