projects
/
rainbowstream.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Empty string is false
[rainbowstream.git]
/
rainbowstream
/
util.py
diff --git
a/rainbowstream/util.py
b/rainbowstream/util.py
index 81dddfd855e7ea39b32fe8b3058ec27e52a171e4..8a33711ceb7efc98a954a48e4337e02b848bd474 100644
(file)
--- a/
rainbowstream/util.py
+++ b/
rainbowstream/util.py
@@
-28,11
+28,11
@@
def format_prefix(listname = '', keyword = ''):
formattedPrefix = c['PREFIX']
owner = '@' + c['original_name']
place = ''
- if keyword
!= ''
:
+ if keyword:
place = '/public'
keyword = '#' + keyword
- if listname
!= ''
:
+ if listname:
owner, place = listname.split('/')
place = "/" + place