mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 02:04:04 +08:00
Merge pull request #1448 from jmchilton/watcher_fix
[16.01] Fix optional watchdog handling.
This commit is contained in:
@@ -9,8 +9,9 @@ try:
|
||||
from watchdog.observers.polling import PollingObserver
|
||||
can_watch = True
|
||||
except ImportError:
|
||||
Observer = None
|
||||
FileSystemEventHandler = object
|
||||
PollingObserver = object
|
||||
PollingObserver = None
|
||||
can_watch = False
|
||||
|
||||
log = logging.getLogger( __name__ )
|
||||
|
||||
Reference in New Issue
Block a user