Permalink
Browse files

Merge pull request #10 from acarrasco/master

get rid of warning messages due trailing newline
  • Loading branch information...
2 parents fb52134 + 7d7ef67 commit 81e2ec6a9074b10a467dc9ee496ab9980082667c @dpnova committed Feb 12, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 tornadoasyncmemcache.py
View
@@ -546,7 +546,7 @@ def expect(self, text, callback):
self.readline(partial(self._expect_cb, text=text, callback=callback))
def _expect_cb(self, data, text, callback):
- if data != text:
+ if data.rstrip() != text:
self.debuglog("while expecting '%s', got unexpected response '%s'" % (text, data))
callback(data)

0 comments on commit 81e2ec6

Please sign in to comment.