diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/legacy.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/utils/legacy.py b/src/utils/legacy.py index 437dbfd..747a16f 100644 --- a/src/utils/legacy.py +++ b/src/utils/legacy.py @@ -213,10 +213,6 @@ def restoreImageCustom(repo_ip, image_name, disk, partition, method): logging.error('Invalid restoreImageCustom invocation') raise ValueError('Error: restoreImageCustom not found') - if ogChangeRepo(repo) != 0: - logging.error('ogChangeRepo could not change repository to %s', repo) - raise ValueError(f'Error: Cannot change repository to {repo}') - cmd = f'restoreImageCustom {repo_ip} {image_name} {disk} {partition} {method}' with open('/tmp/command.log', 'wb', 0) as logfile: try: |