dodge python-bug #7980

This commit is contained in:
ed
2020-12-01 23:20:44 +01:00
parent 7d9057cc62
commit 5aadd47199
3 changed files with 5 additions and 0 deletions

View File

@@ -906,6 +906,7 @@ class TheArgparseFormatter(
def main():
global info, log, dbg
time.strptime("19970815", "%Y%m%d") # python#7980
# filecache helps for reads that are ~64k or smaller;
# linux generally does 128k so the cache is a slowdown,

View File

@@ -567,6 +567,8 @@ class CPPF(Fuse):
def main():
time.strptime("19970815", "%Y%m%d") # python#7980
server = CPPF()
server.parser.add_option(mountopt="url", metavar="BASE_URL", default=None)
server.parse(values=server, errex=1)