Skip to content

Commit

Permalink
add debugging logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jiakf committed Jun 20, 2024
1 parent c73f29e commit 8cd1e84
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gdc_client/parcel/portability.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

import platform
from termcolor import colored as _colored
import logging

logger = logging.getLogger(__name__)

OS_WINDOWS = False
OS_LINUX = False
Expand All @@ -23,8 +26,10 @@

# Are we running on windows?
if OS_WINDOWS or OS_OSX:
logger.warning("WINDOWS or OSX detected, using threads.")
from threading import Thread as Process
else:
logger.warning("Using POSIX.")
# Assume a posix system
from multiprocessing import Process

Expand Down

0 comments on commit 8cd1e84

Please sign in to comment.