Ticket #1684: 0003-Clean-up-docstring.patch

File 0003-Clean-up-docstring.patch, 1.2 KB (added by sayamindu, 13 years ago)

Docstring cleanup

  • src/sugar/activity/i18n.py

    From 455205013611f7a8a403eed8307434d19b5d48f2 Mon Sep 17 00:00:00 2001
    From: Sayamindu Dasgupta <sayamindu@gmail.com>
    Date: Tue, 9 Feb 2010 17:41:10 +0530
    Subject: Clean up docstring
    
    ---
     src/sugar/activity/i18n.py |   10 ++++++----
     1 files changed, 6 insertions(+), 4 deletions(-)
    
    diff --git a/src/sugar/activity/i18n.py b/src/sugar/activity/i18n.py
    index d235a55..865928a 100644
    a b def _extract_modification_time(filepath): 
    9595
    9696
    9797def get_locale_path(bundle_id):
    98     """ Gets the locale path, the directory where the preferred
     98    """ Returns the locale path, which is the directory where the preferred
    9999        MO file is located.
    100100
    101             bundle_id -- The bundle id of the activity in question
     101        The preferred MO file is the one with the latest translation.
    102102
    103         The preferred MO file is the one with the latest
    104         translation.
     103        @type   bundle_id:      string
     104        @param  bundle_id:      The bundle id of the activity in question
     105        @rtype:                 string
     106        @return:                the preferred locale path
    105107    """
    106108
    107109    # Note: We pre-assign weights to the directories so that if no translations