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:
Radostin Stoyanov 2017-05-17 12:53:38 +01:00 committed by Cole Robinson
parent 69f19ca614
commit c5627b1fa9
1 changed files with 1 additions and 1 deletions

View File

@ -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()