Skip to content

Commit

Permalink
Update chunkstore.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bmoscon committed Aug 4, 2016
1 parent 605ca6d commit 3ba6997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arctic/chunkstore/chunkstore.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def rename(self, from_symbol, to_symbol):
raise NoDataFoundException('No data found for %s' % (from_symbol))

if self._get_symbol_info(to_symbol) is not None:
raise Exception('Symbol %s already exists' % (from_symbol))
raise Exception('Symbol %s already exists' % (to_symbol))

chunks = []
for x in self._collection.find({SYMBOL: from_symbol}, sort=[(START, pymongo.ASCENDING)],):
Expand Down

0 comments on commit 3ba6997

Please sign in to comment.