mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
2 files changed
+6
-3
No files matched your search
@@ -23,6 +23,7 @@ import json
|
||||
import uuid
|
||||
import sys
|
||||
import io
|
||||
from operator import itemgetter
|
||||
|
||||
from ..utils import parse_version
|
||||
from ..utils.images import list_images
|
||||
@@ -602,7 +603,7 @@ class Compute:
|
||||
images.append(local_image)
|
||||
except OSError as e:
|
||||
raise ComputeError("Can't list images: {}".format(str(e)))
|
||||
images.sort()
|
||||
images = sorted(images, key=itemgetter('filename'))
|
||||
return images
|
||||
|
||||
@asyncio.coroutine
|
||||
|
||||
Reference in new issue
Block a user