<commit_before>#Copyright 2012 EasyDevStdio , wes342
#
#Licensed under the Apache License, Version 2.0 (the "License");
#you may not use this file except in compliance with the License.
#You may obtain a copy of the License at
#
#http://www.apache.org/licenses/LICENSE-2.0
#
#Unless required by applicable law or agreed to in writing, software
#distributed under the License is distributed on an "AS IS" BASIS,
#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#See the License for the specific language governing permissions and
#limitations under the License.

#!/usr/bin/env python

from scripts.GI import *
from kivy.uix.checkbox import CheckBox
from kivy.uix.switch import Switch
from kivy.uix.settings import SettingItem, SettingsPanel, SettingOptions
from kivy.uix.scrollview import ScrollView
from kivy.uix.gridlayout import GridLayout
from kivy.uix.slider import Slider
from scripts.EdsNotify import EdsNotify
import commands
import platform

from kivy.config import ConfigParser

config = ConfigParser()
config.read('%s/eds.ini' % Usr)

get_device = config.get("Source", "device")
get_branch = config.get("Source", "branch")
make_jobs = config.get("Source", "make")
sync_jobs = config.get("Source", "sync")
repo_path = config.get("Source", "repo_dir")

<commit_msg>Fix FC when starting EDS for the first time.<commit_after>#Copyright 2012 EasyDevStdio , wes342
#
#Licensed under the Apache License, Version 2.0 (the "License");
#you may not use this file except in compliance with the License.
#You may obtain a copy of the License at
#
#http://www.apache.org/licenses/LICENSE-2.0
#
#Unless required by applicable law or agreed to in writing, software
#distributed under the License is distributed on an "AS IS" BASIS,
#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#See the License for the specific language governing permissions and
#limitations under the License.

#!/usr/bin/env python

from scripts.GI import *
from kivy.uix.checkbox import CheckBox
from kivy.uix.switch import Switch
from kivy.uix.settings import SettingItem, SettingsPanel, SettingOptions
from kivy.uix.scrollview import ScrollView
from kivy.uix.gridlayout import GridLayout
from kivy.uix.slider import Slider
from scripts.EdsNotify import EdsNotify
import commands
import platform

from kivy.config import ConfigParser

config = ConfigParser()
config.read('%s/eds.ini' % Usr)

try:
    get_device = config.get("Source", "device")
except:
    get_device = "none"

try:
    get_branch = config.get("Source", "branch")
except:
    get_branch = "none"

try:
    make_jobs = config.get("Source", "make")
except:
    make_jobs = numprocs

try:
    sync_jobs = config.get("Source", "sync")
except:
    sync_jobs = 4

try:
    repo_path = config.get("Source", "repo_dir")
except:
    repo_path = "%s/build" % Usr

{'fraction_non_alphanumeric': 0.09398099260823653, 'fraction_numerical': 0.008095740936290039, 'mean_word_length': 4.908523908523908, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1256898', 'n_tokens_mistral': 891, 'n_tokens_neox': 857, 'n_words': 317}