<commit_before>import sys
import os
import re
import shutil
from distutils.dir_util import copy_tree
import stat
import fnmatch
from random import choice

VERSION = ('0', '1', '9')
__version__ = '.'.join(VERSION)

def start_project(copy_to=None, copy_from=None, no_prompt=False, no_git=False):
    if not copy_from:
        copy_from = os.path.abspath(os.path.join(os.path.dirname(__file__),
                                    'templates', 'project', 'django-template'))

        current_dir = os.getcwdu()
        os.chdir(os.path.join(os.path.dirname(__file__), '..'))
        if not os.path.exists(os.path.join(copy_from, '.git')):
            print "Initializing django-template submodule"
            os.system("git submodule init")
        if os.path.exists(os.path.join(copy_from, '.git')):<commit_msg>just do the submodule update once<commit_after>import sys
import os
import re
import shutil
from distutils.dir_util import copy_tree
import stat
import fnmatch
from random import choice

VERSION = ('0', '1', '9')
__version__ = '.'.join(VERSION)

def start_project(copy_to=None, copy_from=None, no_prompt=False, no_git=False):
    if not copy_from:
        copy_from = os.path.abspath(os.path.join(os.path.dirname(__file__),
                                    'templates', 'project', 'django-template'))

        current_dir = os.getcwdu()
        os.chdir(os.path.join(os.path.dirname(__file__), '..'))
        if not os.path.exists(os.path.join(copy_from, '.git')):
            print "Initializing django-template submodule"
            os.system("git submodule init")
{'fraction_non_alphanumeric': 0.1310126582278481, 'fraction_numerical': 0.0037974683544303796, 'mean_word_length': 3.1171875, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1642791', 'n_tokens_mistral': 508, 'n_tokens_neox': 503, 'n_words': 113}