~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the bash completion when there is no patch applied
[stgit]
/
stgit
/
commands
/
series.py
diff --git
a/stgit/commands/series.py
b/stgit/commands/series.py
index
105eeb9
..
58c706c
100644
(file)
--- a/
stgit/commands/series.py
+++ b/
stgit/commands/series.py
@@
-55,7
+55,7
@@
def __get_description(patch):
"""Extract and return a patch's short description
"""
p = crt_series.get_patch(patch)
"""Extract and return a patch's short description
"""
p = crt_series.get_patch(patch)
- descr =
p.get_description(
).strip()
+ descr =
(p.get_description() or ''
).strip()
descr_lines = descr.split('\n')
return descr_lines[0].rstrip()
descr_lines = descr.split('\n')
return descr_lines[0].rstrip()