Skip to content

hpss in python3 fails on patching #113

@karcaw

Description

@karcaw

this line:

ret_val = hpss_rename(str(old_path), str(new_filepath))

should be:
ret_val = hpss_rename(bytes(old_path, encoding='utf-8'), bytes(new_filepath, encoding='utf-8'))

for python 3, otherwise you get :
Can not rename hpss file <redact> to /myemsl/bundle/9e/91/b4/1b4919e with error: argument 1: <class 'TypeError'>: wrong type

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions