mirror of
https://github.com/9001/copyparty.git
synced 2025-08-21 02:42:21 -06:00
dodge python-bug #7980
This commit is contained in:
parent
7d9057cc62
commit
5aadd47199
|
@ -906,6 +906,7 @@ class TheArgparseFormatter(
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
global info, log, dbg
|
global info, log, dbg
|
||||||
|
time.strptime("19970815", "%Y%m%d") # python#7980
|
||||||
|
|
||||||
# filecache helps for reads that are ~64k or smaller;
|
# filecache helps for reads that are ~64k or smaller;
|
||||||
# linux generally does 128k so the cache is a slowdown,
|
# linux generally does 128k so the cache is a slowdown,
|
||||||
|
|
|
@ -567,6 +567,8 @@ class CPPF(Fuse):
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
time.strptime("19970815", "%Y%m%d") # python#7980
|
||||||
|
|
||||||
server = CPPF()
|
server = CPPF()
|
||||||
server.parser.add_option(mountopt="url", metavar="BASE_URL", default=None)
|
server.parser.add_option(mountopt="url", metavar="BASE_URL", default=None)
|
||||||
server.parse(values=server, errex=1)
|
server.parse(values=server, errex=1)
|
||||||
|
|
|
@ -9,6 +9,7 @@ __license__ = "MIT"
|
||||||
__url__ = "https://github.com/9001/copyparty/"
|
__url__ = "https://github.com/9001/copyparty/"
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
import time
|
||||||
import shutil
|
import shutil
|
||||||
import filecmp
|
import filecmp
|
||||||
import locale
|
import locale
|
||||||
|
@ -85,6 +86,7 @@ def ensure_cert():
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
time.strptime("19970815", "%Y%m%d") # python#7980
|
||||||
if WINDOWS:
|
if WINDOWS:
|
||||||
os.system("") # enables colors
|
os.system("") # enables colors
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue