Fix bug in list_missions()
Resubmitting bug fix I accidentally deleted.
break a long line
remove redundant backslash (PEP 8)
Fix placement of rstrip
fix whitespace PEP 8 issues
@@ -276,7 +276,9 @@ class IbeClass(BaseQuery):
root = BeautifulSoup(response.text)
links = root.findAll('a')
- missions = [os.path.basename(a.attrs['href']) for a in links]
+
+ missions = [os.path.basename(a.attrs['href'].rstrip('/'))
+ for a in links]
self._missions = missions
return missions
