diff options
| author | Jack Jansen <jack.jansen@cwi.nl> | 2000-05-05 23:10:58 +0000 |
|---|---|---|
| committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-05-05 23:10:58 +0000 |
| commit | 1fdadcd42cd430d6e77c1df1ed1df777ca3ff4a2 (patch) | |
| tree | 56db960f475c5549f1aa6086e4463de451ea0581 /Mac | |
| parent | 9d61d1bab17238b5ef62c01257b8a4d04edfa6d0 (diff) | |
| download | cpython-git-1fdadcd42cd430d6e77c1df1ed1df777ca3ff4a2.tar.gz | |
Auto-install on import, if NavServices is available. Unless a "no navservices" flag is set Python automagically imports this module so code that uses macfs.xxxGetFile will get NavServices dialogs.
Diffstat (limited to 'Mac')
| -rw-r--r-- | Mac/Lib/macfsn.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Mac/Lib/macfsn.py b/Mac/Lib/macfsn.py index f7b6b2eec8..3c126465ed 100644 --- a/Mac/Lib/macfsn.py +++ b/Mac/Lib/macfsn.py @@ -129,6 +129,7 @@ if Nav and Nav.NavServicesAvailable(): StandardPutFile = _StandardPutFile SetFolder = _SetFolder GetDirectory = _GetDirectory + _install() else: from macfs import StandardGetFile, PromptGetFile, StandardPutFile, SetFolder, GetDirectory |
