Changeset 353 for trunk/aeres/scripts


Ignore:
Timestamp:
04/01/14 15:38:14 (10 years ago)
Author:
pinsard
Message:

fix thanks to coding rules; typo

Location:
trunk/aeres/scripts
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/aeres/scripts/aeresrh.py

    r352 r353  
    6868publication (retraite, décÚs, mutation) 
    6969 
    70 test with real file (encoding, francais, etc) 
     70test with real file (encoding, français, etc) 
    7171 
    7272missing values 
     
    200200        print('titlerow : %d ' % (titlerow)) 
    201201 
    202     # deduce first usefull row 
     202    # deduce first useful row 
    203203    firstrow = titlerow + 1 
    204204    # 
     
    260260            print(' temp arrival AAA%sAAA' % temp[rownum]) 
    261261        if temp[rownum] == '': 
    262             print('eee : pas de date arrivee colonne %d ' % rownum) 
     262            print('eee : pas de date arrivée colonne %d ' % rownum) 
    263263        else: 
    264264            arrival.append(datetime.datetime(*xlrd.xldate_as_tuple(temp[rownum], datemode))) 
  • trunk/aeres/scripts/build_firstname_id.py

    r352 r353  
    1414 
    1515- suppress blanks 
    16 - suppress punctation 
     16- suppress punctuation 
    1717- replace diacriticals by their non-diacriticals equivalent (ie ï become i) 
    1818 
     
    105105        #print ('iii : item avant sup blancs %s ' % (item)) 
    106106        item_noblanks = re.sub(u' ',u'',item) 
    107         #print ('iii : item apres sup blancs %s ' % (item_noblanks)) 
     107        #print ('iii : item aprÚs sup blancs %s ' % (item_noblanks)) 
    108108        firstname_noblanks.append(item_noblanks) 
    109109 
     
    116116        #print ('iii : item avant lower %s ' % (item)) 
    117117        item_lower = item.lower() 
    118         #print ('iii : item apres lower %s ' % (item_lower)) 
     118        #print ('iii : item aprÚs lower %s ' % (item_lower)) 
    119119        firstname_lower.append(item_lower) 
    120120 
  • trunk/aeres/scripts/build_surname_id.py

    r352 r353  
    1212 
    1313generation de la partie "nom" de l'id 
    14  - suppress blanks 
    15  - suppress punctation 
    16  - replace diacriticals by their non-diacriticals equivalent (ie ï become i) 
    17  - uppercase every characters 
     14 
     15- suppress blanks 
     16- suppress punctuation 
     17- replace diacriticals by their non-diacriticals equivalent (ie ï become i) 
     18- uppercase every characters 
    1819 
    1920SEE ALSO 
  • trunk/aeres/scripts/define_loceanaffectation.py

    r352 r353  
    5151 
    5252         - search in bibtex file (in loceanaffectation field) 
    53          - give a element of HTML filename (no diacritical and no punctation) 
     53         - give a element of HTML filename (no diacritical and no punctuation) 
    5454 
    5555    TODO 
    5656    ==== 
    5757 
    58     automation of no diacritical and no punctation transformation 
     58    automation of no diacritical and no punctuation transformation 
    5959 
    6060    dictionary instead of list 
  • trunk/aeres/scripts/ldap_biblio.py

    r352 r353  
    184184 
    185185            if is_verbose == True: 
    186                 # pour voir la derniere personne ajoutée 
     186                # pour voir la derniÚre personne ajoutée 
    187187                print values_for_all[-1] 
    188188 
    189     # populate dictonary 
     189    # populate dictionary 
    190190    people = dict(itertools.izip(keys_for_all, values_for_all)) 
    191191 
Note: See TracChangeset for help on using the changeset viewer.