<commit_before>#!/usr/bin/env python

import argparse
import ConfigParser
import MySQLdb

from novanet2neutron import common

CONF = ConfigParser.ConfigParser()


def get_instances(cursor):
    sql = "SELECT uuid from instances WHERE deleted = 0"
    cursor.execute(sql)
    instances = cursor.fetchall()
    return instances

def add_system_metadata(cursor, instance):
    sql = """INSERT INTO instance_system_metadata SET created_at=NOW(), 
    instance_uuid='%s', instance_system_metadata.key='nectar_suspend_disabled', <commit_msg>whitespace<commit_after>#!/usr/bin/env python

import argparse
import ConfigParser
import MySQLdb

from novanet2neutron import common

CONF = ConfigParser.ConfigParser()


def get_instances(cursor):
    sql = "SELECT uuid from instances WHERE deleted = 0"
    cursor.execute(sql)
    instances = cursor.fetchall()
    return instances


def add_system_metadata(cursor, instance):
    sql = """INSERT INTO instance_system_metadata SET created_at=NOW(), 
    instance_uuid='%s', instance_system_metadata.key='nectar_suspend_disabled', 
{'fraction_non_alphanumeric': 0.0898876404494382, 'fraction_numerical': 0.003745318352059925, 'mean_word_length': 5.363095238095238, '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': '1734817', 'n_tokens_mistral': 323, 'n_tokens_neox': 313, 'n_words': 80}