<commit_before>from myfedora.lib.app_factory import ResourceViewAppFactory
from myfedora.controllers.resourceview import ResourceViewController

from tw.jquery import jquery_js, jQuery
from tw.api import Widget, JSLink, js_function, js_callback

from tg import expose

import pylons

class PackagesViewController(ResourceViewController):
    @expose('genshi:myfedora.plugins.resourceviews.templates.packagesindex')
    def index(self):
        return {}

class PackagesViewApp(ResourceViewAppFactory):
    entry_name = 'packages'
    display_name = 'Packages'
    controller = PackagesViewController

    def update_params(self, d):
        d['package'] = d.get('data_key', None)

        super(PackagesViewApp, self).update_params(d)<commit_msg>change the display name to Package Maintenance<commit_after>from myfedora.lib.app_factory import ResourceViewAppFactory
from myfedora.controllers.resourceview import ResourceViewController

from tw.jquery import jquery_js, jQuery
from tw.api import Widget, JSLink, js_function, js_callback

from tg import expose

import pylons

class PackagesViewController(ResourceViewController):
    @expose('genshi:myfedora.plugins.resourceviews.templates.packagesindex')
    def index(self):
        return {}

class PackagesViewApp(ResourceViewAppFactory):
    entry_name = 'packages'
    display_name = 'Package Maintenance'
    controller = PackagesViewController

    def update_params(self, d):
        d['package'] = d.get('data_key', None)

        super(PackagesViewApp, self).update_params(d)
{'fraction_non_alphanumeric': 0.08072916666666667, 'fraction_numerical': 0.0, 'mean_word_length': 5.247967479674797, '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': '5384251', 'n_tokens_mistral': 439, 'n_tokens_neox': 423, 'n_words': 102}