knify 1.8.36__tar.gz → 1.8.38__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {knify-1.8.36 → knify-1.8.38}/PKG-INFO +1 -1
- {knify-1.8.36 → knify-1.8.38}/knify/dateutil.py +1 -1
- {knify-1.8.36 → knify-1.8.38}/knify/help.py +1 -1
- {knify-1.8.36 → knify-1.8.38}/knify/threadutil.py +2 -2
- {knify-1.8.36 → knify-1.8.38}/knify.egg-info/PKG-INFO +1 -1
- {knify-1.8.36 → knify-1.8.38}/LICENSE +0 -0
- {knify-1.8.36 → knify-1.8.38}/README.md +0 -0
- {knify-1.8.36 → knify-1.8.38}/knify/__init__.py +0 -0
- {knify-1.8.36 → knify-1.8.38}/knify/listutil.py +0 -0
- {knify-1.8.36 → knify-1.8.38}/knify/logger.py +0 -0
- {knify-1.8.36 → knify-1.8.38}/knify/warnutil.py +0 -0
- {knify-1.8.36 → knify-1.8.38}/knify.egg-info/SOURCES.txt +0 -0
- {knify-1.8.36 → knify-1.8.38}/knify.egg-info/dependency_links.txt +0 -0
- {knify-1.8.36 → knify-1.8.38}/knify.egg-info/requires.txt +0 -0
- {knify-1.8.36 → knify-1.8.38}/knify.egg-info/top_level.txt +0 -0
- {knify-1.8.36 → knify-1.8.38}/setup.cfg +0 -0
- {knify-1.8.36 → knify-1.8.38}/setup.py +0 -0
@@ -14,7 +14,7 @@ def now() -> datetime:
|
|
14
14
|
return datetime.datetime.now()
|
15
15
|
|
16
16
|
|
17
|
-
def date_to_str(date_obj: datetime, format: str =
|
17
|
+
def date_to_str(date_obj: datetime, format: str = FORMAT_YYMMDDHMS) -> str:
|
18
18
|
if type(date_obj) == datetime.timedelta:
|
19
19
|
return (datetime.datetime(1970, 1, 1) + date_obj).strftime(format)
|
20
20
|
return date_obj.strftime(format)
|
@@ -18,8 +18,8 @@ def print_task():
|
|
18
18
|
seconds=time_used.total_seconds() * (task_info['total'] / task_info['processed']))
|
19
19
|
logger.info("Process: %.2f%% [%s/%s], Estimate: [%s/%s]\r\n" % (
|
20
20
|
task_info['processed'] / task_info['total'] * 100, task_info['processed'], task_info['total'],
|
21
|
-
dateutil.date_to_str(time_used, dateutil.
|
22
|
-
dateutil.date_to_str(time_estimate, dateutil.
|
21
|
+
dateutil.date_to_str(time_used, dateutil.FORMAT_HMS),
|
22
|
+
dateutil.date_to_str(time_estimate, dateutil.FORMAT_HMS)))
|
23
23
|
|
24
24
|
|
25
25
|
def func_wrapper(list_objs_: list, func_) -> None:
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|