diff options
-rw-r--r-- | Lib/uuid.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/uuid.py b/Lib/uuid.py index 93442e3..018bb6f 100644 --- a/Lib/uuid.py +++ b/Lib/uuid.py @@ -346,6 +346,7 @@ def _find_mac(command, arg, hw_identifiers, get_index): def _ifconfig_getnode(): """Get the hardware address on Unix by running ifconfig.""" + import os # This works on Linux ('' or '-a'), Tru64 ('-av'), but not all Unixes. for args in ('', '-a', '-av'): |