Changeset ee99c61 in trunk


Ignore:
Timestamp:
2021-03-06T21:06:24Z (4 years ago)
Author:
Jason R. Coombs <jaraco@…>
Branches:
master
Children:
7c2a068
Parents:
c673726
Message:

argv_type on Windows can be either

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified src/allmydata/util/encodingutil.py

    rc673726 ree99c61  
    146146# According to unicode_to_argv above, the expected type for
    147147# cli args depends on the platform, so capture that expectation.
    148 argv_type = future_str if sys.platform == "win32" else native_str
     148argv_type = (future_str, native_str) if sys.platform == "win32" else native_str
    149149"""
    150150The expected type for args to a subprocess
Note: See TracChangeset for help on using the changeset viewer.