summaryrefslogtreecommitdiff
path: root/engine/SCons/Node/FS.py
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2019-12-28 14:18:55 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2019-12-28 14:18:55 +0100
commit6298ea00640a74af4eecbf3528ea87bd191a2eba (patch)
tree6f9badf5b8f69055849260093eb76ce184e746ef /engine/SCons/Node/FS.py
parent0809a628a8aa042fe6bb225d4d70e63f289eaafb (diff)
parent5d14e9e6b9aa6c884d8a4787cd248c9ab3612962 (diff)
Konflikte behobendebian/3.1.2-1
Diffstat (limited to 'engine/SCons/Node/FS.py')
-rw-r--r--engine/SCons/Node/FS.py12
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.