~jcsackett/charmworld/bac-tag-constraints

« back to all changes in this revision

Viewing changes to migrations/versions/002_Escape_dots_dollar_signs_percent_signs_in_mongo_keys.py

  • Committer: Aaron Bentley
  • Date: 2013-02-12 18:57:02 UTC
  • mfrom: (149 charmworld)
  • mto: This revision was merged to the branch mainline in revision 150.
  • Revision ID: aaron@canonical.com-20130212185702-9gnf40ao17a7uw7v
Merged trunk into mongo-urls.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright 2012, 2013 Canonical Ltd.  This software is licensed under the
 
2
# GNU Affero General Public License version 3 (see the file LICENSE).
 
3
 
1
4
# Escape dots, dollar signs, percent signs in mongo keys
2
5
 
3
6
from charmworld.utils import quote_yaml