Remove redundant call of strip()
Remove redundant call of the strip() function. It is already done in lines 1302 and 1303. https://github.com/virt-manager/virt-manager/blob/master/virtManager/create.py#L1302 https://github.com/virt-manager/virt-manager/blob/master/virtManager/create.py#L1303
This commit is contained in:
parent
69f19ca614
commit
c5627b1fa9
|
@ -1305,7 +1305,7 @@ class vmmCreate(vmmGObjectUI):
|
|||
if media and store_media:
|
||||
self.config.add_media_url(media)
|
||||
|
||||
return (media.strip(), extra.strip())
|
||||
return (media, extra)
|
||||
|
||||
def _get_config_import_path(self):
|
||||
return self.widget("install-import-entry").get_text()
|
||||
|
|
Loading…
Reference in New Issue