Skip to content

Commit

Permalink
Merge pull request #73 from w3c/jgraham/variable_fix
Browse files Browse the repository at this point in the history
Fix usage of incorrect variable in stash error handler; r=Ms2ger
  • Loading branch information
Ms2ger committed Dec 9, 2015
2 parents 501edaf + cbdc02a commit 8d27c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wptserve/stash.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def put(self, key, value, path=None):
if internal_key in self.data:
raise StashError("Tried to overwrite existing shared stash value "
"for key %s (old value was %s, new value is %s)" %
(internal_key, self[str(internal_key)], value))
(internal_key, self.data[str(internal_key)], value))
else:
self.data[internal_key] = value

Expand Down

0 comments on commit 8d27c7e

Please sign in to comment.