Index: boto/sqs/queue.py |
diff --git a/boto/sqs/queue.py b/boto/sqs/queue.py |
index 9965e43d34d81ed6c1f045b59d5879947920170b..fe25f582a8453ef642a130052c9022a502f68389 100644 |
--- a/boto/sqs/queue.py |
+++ b/boto/sqs/queue.py |
@@ -405,7 +405,7 @@ class Queue: |
def load_from_filename(self, file_name, sep='\n'): |
"""Utility function to load messages from a local filename to a queue""" |
fp = open(file_name, 'rb') |
- n = self.load_file_file(fp, sep) |
+ n = self.load_from_file(fp, sep) |
fp.close() |
return n |