Changeset 5578


Ignore:
Timestamp:
Jul 21, 2017, 2:12:43 PM (2 years ago)
Author:
hectorgh
Message:

missing utf-8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-base-files/trunk/fuentes/install/usr/bin/lliurex-version

    r5576 r5578  
    190190    #grp_info [0]=>name [1]=>pwd [2]=>gid [3]=>member
    191191    grupos = [ group[0] for group in grp.getgrall() if user_name in group[3] ]
    192     with codecs.open('/etc/passwd','r') as filepwd:
     192    with codecs.open('/etc/passwd','r','utf-8') as filepwd:
    193193        localusers=[ line.split(':')[0] for line in filepwd.readlines() ]
    194194
Note: See TracChangeset for help on using the changeset viewer.