projects
/
python_utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bddea36
)
Another formatter test, whee...
author
Scott
<
[email protected]
>
Thu, 27 Jan 2022 05:50:11 +0000
(21:50 -0800)
committer
Scott
<
[email protected]
>
Thu, 27 Jan 2022 05:50:11 +0000
(21:50 -0800)
arper.py
patch
|
blob
|
history
parallelize.py
patch
|
blob
|
history
diff --git
a/arper.py
b/arper.py
index a5b1de410f53ae04f917e08c03660b32953e47c1..7700d5a994286f263dd14c35cf44a6e8a3d6c56b 100644
(file)
--- a/
arper.py
+++ b/
arper.py
@@
-3,8
+3,6
@@
"""A caching layer around the kernel's network mapping between IPs and MACs"""
"""A caching layer around the kernel's network mapping between IPs and MACs"""
-
-
import datetime
import logging
import os
import datetime
import logging
import os
@@
-25,7
+23,8
@@
import site_config
logger = logging.getLogger(__name__)
cfg = config.add_commandline_args(
logger = logging.getLogger(__name__)
cfg = config.add_commandline_args(
- f'MAC <--> IP Address mapping table cache ({__file__})', 'Commandline args related to MAC <--> IP Address mapping',
+ f'MAC <--> IP Address mapping table cache ({__file__})',
+ 'Commandline args related to MAC <--> IP Address mapping',
)
cfg.add_argument(
'--arper_cache_location',
)
cfg.add_argument(
'--arper_cache_location',
diff --git
a/parallelize.py
b/parallelize.py
index 698a7eca130d2ffc64a9619c89bdc2be5eb34ba9..cd3eff4e9c539c25d7d5cf3deb52a494bd2bd0f0 100644
(file)
--- a/
parallelize.py
+++ b/
parallelize.py
@@
-2,6
+2,7
@@
"""A decorator to help with dead simple parallelization."""
"""A decorator to help with dead simple parallelization."""
+
import atexit
from enum import Enum
import functools
import atexit
from enum import Enum
import functools