<commit_before>#!/usr/bin/python

# Common python helper functions used for OpenStack charms.

import apt_pkg as apt
import subprocess
import os

CLOUD_ARCHIVE_URL = "http://ubuntu-cloud.archive.canonical.com/ubuntu"
CLOUD_ARCHIVE_KEY_ID = '5EDB1B62EC4926EA'

ubuntu_openstack_release = {
    'oneiric': 'diablo',
    'precise': 'essex',
    'quantal': 'folsom',
    'raring': 'grizzly',
}


openstack_codenames = {
    '2011.2': 'diablo',
    '2012.1': 'essex',
    '2012.2': 'folsom',
    '2013.1': 'grizzly',
    '2013.2': 'havana',
}

# The ugly duckling<commit_msg>Add support for saucy<commit_after>#!/usr/bin/python

# Common python helper functions used for OpenStack charms.

import apt_pkg as apt
import subprocess
import os

CLOUD_ARCHIVE_URL = "http://ubuntu-cloud.archive.canonical.com/ubuntu"
CLOUD_ARCHIVE_KEY_ID = '5EDB1B62EC4926EA'

ubuntu_openstack_release = {
    'oneiric': 'diablo',
    'precise': 'essex',
    'quantal': 'folsom',
    'raring': 'grizzly',
    'saucy': 'havana',
}


openstack_codenames = {
    '2011.2': 'diablo',
    '2012.1': 'essex',
    '2012.2': 'folsom',
    '2013.1': 'grizzly',
    '2013.2': 'havana',
}

# The ugly duckling
{'fraction_non_alphanumeric': 0.15883859948761742, 'fraction_numerical': 0.05636208368915457, 'mean_word_length': 4.0085470085470085, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1855148', 'n_tokens_mistral': 516, 'n_tokens_neox': 468, 'n_words': 92}