diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2019-12-27 09:22:46 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2019-12-27 09:22:46 +0100 |
commit | 257ef5bf6b309099d29421eca428df9ff43fc646 (patch) | |
tree | 8c82677383ee329301e24f1e72f096a1a673b6e6 /engine/SCons/Node/FS.py | |
parent | 5dcfdef50f9721ffaa466bf23721b823141c1e0d (diff) | |
parent | 13dd017aba8ce8293b0a020961951d97fef42e45 (diff) |
Update upstream source from tag 'upstream/3.1.2'
Update to upstream version '3.1.2'
with Debian dir f5c56aaf4dcf94e6b0ac95812d3a673bebc57d09
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. |