diff --git a/offlineimap/ui/Noninteractive.py b/offlineimap/ui/Noninteractive.py index 18b18a7..c86a903 100644 --- a/offlineimap/ui/Noninteractive.py +++ b/offlineimap/ui/Noninteractive.py @@ -43,6 +43,9 @@ class Basic(UIBase): time.sleep(sleepsecs) return 0 + def locked(s): + s.warn("Another OfflineIMAP is running with the same metadatadir; exiting.") + class Quiet(Basic): def __init__(s, config, verbose = -1): Basic.__init__(s, config, verbose)