[metadata] Use a Python 2.6 compatible OrderedDict
# ANY KIND, either express or implied. See the License for the specific
# language governing permissions and limitations under the License.
from base64 import urlsafe_b64encode
+try:
from collections import OrderedDict
+except ImportError:
+ from ordereddict import OrderedDict # Python 2.6
from email.utils import formatdate
import json
import logging
