summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2024-05-27 11:30:56 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-05-27 11:31:19 +0200
commit4626383cc4523e46784943103f00e72ce63e9184 (patch)
tree1a839ee385cbe0cd7ab393cbd88acaefdb7074fc /src
parent9952c3cc85e8e1b281337d914af3fc5cb269ab17 (diff)
live: remove unused return value in image_restore()
Never used what configureOs() returns, remove it.
Diffstat (limited to 'src')
-rw-r--r--src/live/ogOperations.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py
index 158ee64..d4ac84e 100644
--- a/src/live/ogOperations.py
+++ b/src/live/ogOperations.py
@@ -408,12 +408,11 @@ class OgLiveOperations:
elif ctype == 'TIPTORRENT':
self._restore_image_tiptorrent(repo, name, partdev)
- output = configureOs(disk, partition)
+ configureOs(disk, partition)
self.refresh(ogRest)
logging.info('Image restore command OK')
- return output
def image_create(self, request, ogRest):
disk = int(request.getDisk())