Commit ea6afca0 authored by Seblu's avatar Seblu

Improve package identifier for selection

This make display of packages to select easy to read by not displaying filename,
and faster by not trying to guess real extension before download.
parent e8f14d52
......@@ -134,7 +134,7 @@ class Package(Url):
self.epoch = 0
def __str__(self):
return self.filename
return f"{self.name} {self.full_version} {self.arch}"
def __getitem__(self, key):
try:
......
Markdown is supported
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