except KeyError:
if not create:
raise SCons.Errors.UserError
- directory = RootDir(drive, self)
+ directory = RootDir(_my_normcase(drive), self)
self.Root[drive] = directory
if not path_orig:
if (len(p) > 0):
try:
self._dict = cPickle.loads(p)
- except cPickle.UnpicklingError:
+ except (cPickle.UnpicklingError, EOFError):
if (ignore_corrupt_dbfiles == 0): raise
if (ignore_corrupt_dbfiles == 1):
corruption_warning(self._file_name)
-i, --implicit Print implicit dependency information.
-r, --readable Print timestamps in human-readable form.
--raw Print raw Python object representations.
- -s, --size Print file sizes human-readable form.
+ -s, --size Print file sizes.
-t, --timestamp Print timestamp information.
-v, --verbose Verbose, describe each field.
"""
test.run_sconsign(arguments = "--raw work1/sub1/.sconsign",
stdout = """\
-hello.exe: {'bsig': '\S+', 'size': \d+, 'timestamp': \d+}
+hello.exe: {'bsig': '\S+', 'size': \d+L?, 'timestamp': \d+}
hello.obj: \S+
-hello.obj: {'bsig': '\S+', 'size': \d+, 'timestamp': \d+}
+hello.obj: {'bsig': '\S+', 'size': \d+L?, 'timestamp': \d+}
hello.c: \S+
""")
test.run_sconsign(arguments = "--raw work2/.sconsign",
stdout = """\
=== sub1:
-hello.exe: {'bsig': '\S+', 'size': \d+, 'timestamp': \d+}
+hello.exe: {'bsig': '\S+', 'size': \d+L?, 'timestamp': \d+}
hello.obj: \S+
-hello.obj: {'bsig': '\S+', 'size': \d+, 'timestamp': \d+}
+hello.obj: {'bsig': '\S+', 'size': \d+L?, 'timestamp': \d+}
hello.c: \S+
=== sub2:
-hello.exe: {'bsig': '\S+', 'size': \d+, 'timestamp': \d+}
+hello.exe: {'bsig': '\S+', 'size': \d+L?, 'timestamp': \d+}
hello.obj: \S+
-hello.obj: {'bsig': '\S+', 'size': \d+, 'timestamp': \d+}
+hello.obj: {'bsig': '\S+', 'size': \d+L?, 'timestamp': \d+}
hello.c: \S+
inc1.h: \S+
inc2.h: \S+