Skip to content

Commit c624e78

Browse files
committed
gdp: String encoding fix
git-svn-id: svn+ssh://svn.code.sf.net/p/migrid/code/trunk@6060 b75ad72c-e7d7-11dd-a971-7dbc132099af
1 parent 0603956 commit c624e78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mig/shared/gdp/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ def __get_gdp_user_log_entry(configuration,
854854
touch(log_filepath, configuration)
855855
fh = open(log_filepath, 'rb')
856856
for line in fh:
857-
line_arr = [i.strip() for i in line.split(':')]
857+
line_arr = [i.strip() for i in force_native_str(line).split(':')]
858858
if (match_client_id and client_id == line_arr[1]) \
859859
or (match_scrambled_client_id
860860
and scrambled_client_id == line_arr[2]):

0 commit comments

Comments
 (0)