diff options
Diffstat (limited to 'engine/SCons/Node/FS.py')
| -rw-r--r-- | engine/SCons/Node/FS.py | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/engine/SCons/Node/FS.py b/engine/SCons/Node/FS.py index 0d903de..65d1ac1 100644 --- a/engine/SCons/Node/FS.py +++ b/engine/SCons/Node/FS.py @@ -33,7 +33,7 @@ that can be used by scripts or modules looking for the canonical default.  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  from __future__ import print_function -__revision__ = "src/engine/SCons/Node/FS.py 72ae09dc35ac2626f8ff711d8c4b30b6138e08e3 2019-08-08 14:50:06 bdeegan" +__revision__ = "src/engine/SCons/Node/FS.py bee7caf9defd6e108fc2998a2520ddb36a967691 2019-12-17 02:07:09 bdeegan"  import fnmatch  import os @@ -963,14 +963,14 @@ class Entry(Base):      def disambiguate(self, must_exist=None):          """ -        """ -        if self.isdir(): -            self.__class__ = Dir -            self._morph() -        elif self.isfile(): +        """  +        if self.isfile():              self.__class__ = File              self._morph()              self.clear() +        elif self.isdir(): +            self.__class__ = Dir +            self._morph()          else:              # There was nothing on-disk at this location, so look in              # the src directory.  | 
