Commit 53040305 authored by mathieui's avatar mathieui

fix a wrong naming in the previous commit

parent e216fd21
......@@ -117,7 +117,7 @@ def remove(value):
def stanza_storage(method):
"""Generate a <storage/> stanza with the conference elements."""
storage = Bookmarks()
for b in (b for bookmark in bookmark if b.method == method):
for b in (b for b in bookmark if b.method == method):
storage.append(b.stanza())
return storage
......
......@@ -429,7 +429,7 @@ class Core(object):
res = []
current = []
for char in char_list:
assert len(char) > 0
assert char
# Transform that stupid char into what we actually meant
if char == '\x1f':
char = '^/'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment