Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 1bd093c5

Přidáno uživatelem Stanislav Král před téměř 4 roky(ů)

Re #8585 - Improved a code comment in usages_to_extensions.py

Zobrazit rozdíly:

src/utils/usages_to_extensions.py
40 40

  
41 41

  
42 42
def __compare_with_critical_prioritized(item1, item2):
43
    # compare in such way, that the CRITICAL str is always considered to be less than any other string
43
    # compare in such way, that the CRITICAL str is always considered to be "smaller" (put before) than any other string
44 44
    if item1 == CRITICAL:
45 45
        # first item is CRITICAL, return -1
46 46
        return -1

Také k dispozici: Unified diff